Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
Best practices to handle exceptions in Notification Subscribers
What should I do when I want to throw a business logic expection in the notification subscriber? The goal is to log an error in the most standard way, I don't want end-user to see any error message. Currently I call Dynamicweb.Information.Logger.LogG ...
Andrey Kozachuk
30/06/2015 11:30:45
No replies yet
DW8 project Templates in Visual Studio community 2015
Hi, I just installed Visual Studio community 2015, and after that I re-installed the DW VSTemplates in my computer and reboot it. But when I start a new project I don't get the DW8 custom modules option below Visual C#. I've tried to search for them  ...
Gonçalo Assunção
29/06/2015 14:03:17
Last post: 29/06/2015 14:18:17
Item repository and permissions
We are using the item repository API to fetch some paragraph based items... var itemids = new[] { "1" }; using (var repository = ItemManager.Storage.Open("Article")) { var item = repository.SelectByIds(itemids, null, true).FirstOrDefault(); } But the ...
Morten Bengtson
25/06/2015 15:33:47
Last post: 29/06/2015 14:11:44
MS SQL: IDENTITY increments more than defined...
Hi, I've created a table via the SQL Firehose: CREATE TABLE NewTableTest ( ID int IDENTITY(1,1) PRIMARY KEY, Name varchar(255) NOT NULL ) Then I run this a few times to add records to the table: INSERT INTO NewTableTest (Name) VALUES ('MyName') The f ...
Jacob Storgaard Jensen
26/06/2015 14:31:35
Last post: 26/06/2015 16:58:24
New indexing
Hi DW, I have started working on the new index and have some questions: How can I see the executed "lucene"-query, which was possible by adding dbstat=true in the former index? Is the index always online even when the indexing process is going on? Or ...
Anders Ebdrup
07/05/2015 23:07:11
Last post: 22/06/2015 14:23:30
ItemType Code First Item Type parameters
Hi guys, Does anybody know how to set the Item Type parameters on an item type field from code first? This is my current code for the field: [Group(StringConstants.ItemTypeConstants.StandardFields)] [Field(StringConstants.ItemTypeConstants.FairName,  ...
Tom Kamphuis
01/06/2015 12:08:58
Last post: 18/06/2015 11:32:12
Unhiding page in Menu in API.
Hi, I have created a page but hidden it in the navigation menu. Is there a way of unhiding it in the API? That would be really useful. Look forward to hearing from you. Regards, Yash. ...
Yasharth Tahiliani
17/06/2015 16:31:40
Last post: 17/06/2015 16:40:30
Price Matrix for future date
Hi, Is there a way to extend the price matrix feature so that instead of using the current date, we could manipulate that in the request. Basically instead of getting "today's price" we would like to know the price for August 15th, for example. Best  ...
Nuno Aguiar
16/06/2015 18:15:41
Last post: 17/06/2015 12:07:59
Strange error, can anyone recognise this one?
Hi guys, Have anyone seen this error before? Users are repording to encounter this Error on ocasional cases. System.ArgumentException: Parameter 'idList' contains no IDs at Dynamicweb.eCommerce.Products.Product.GetSqlConditionPartForIDs(String idList ...
Dmitrij Jazel
16/06/2015 13:59:18
Last post: 16/06/2015 20:34:37
Custom login throws error
Hi guys, I'm trying to write a custom authentication class to communicate with an external authentication server. After some search (not sure if it's the best way) I've found the Security class with the ExtranetLogin method to authenticate a user in  ...
Tom Kamphuis
16/06/2015 16:48:09
Last post: 16/06/2015 17:16:09
Get Navigation Level.
Within Razor, is there any way of getting the Navigation level of the current page? I know that we can get the Title of the page by simply using title. Just trying to find out the same for the navigation level. Thanks & Regards, Yash. ...
Yasharth Tahiliani
15/06/2015 16:36:52
Last post: 16/06/2015 16:18:33
WebAPI in Dynamicweb
Hello, A fellow developer asked for the possibility of implementing WebAPI in Dynamicweb - see url below. http://developer.dynamicweb.com/forum/development/how-do-i-implement-webapi-in-dw.aspx Is there no documentation on this whatsoever? :) - It wou ...
Mikkel Toustrup Olsen
12/05/2015 10:49:26
Last post: 16/06/2015 10:13:30
# being coverted to javascript:void(0);
Hi, Within my templates, I have a link with the value '#', and all this does it take the control back to the top of the page using javascript. Now, dynamic web seems to render # as javascript:void(0); Is there any way to work around this? ...
Yasharth Tahiliani
15/06/2015 15:25:22
Last post: 15/06/2015 15:39:46
Code First Item Type Link property
Hi Guys, Is there a way to tell the Link editor to only give the UI option for choosing a page instead of the other DW link types? Our current code is as follows: [Group(StringConstants.ItemTypeConstants.StandardFields)] [Name("Producten van derden l ...
Tom Kamphuis
11/06/2015 14:57:36
Last post: 15/06/2015 09:16:29
RE: Weird values in the Database.
Hi, I am creating new pages that are of a certain Item Type. These pages are being replaced with weird characters. The spaces are being replaced with '+' and other characters such as commas are being replaced too: For example: English, Drama & Pe ...
Yasharth Tahiliani
12/06/2015 17:08:25
Last post: 12/06/2015 17:29:33
Product.Clone() suddenly returning error
Hi. We have a system where we take products from the main-cart, and clone them to dealer groups. This has worked fine so far, but until after an update to 8.6, we are now receiving the following error: Type 'Dynamicweb.eCommerce.Products.ProductVatGr ...
Jonas Mersholm
10/06/2015 09:17:36
Last post: 12/06/2015 14:30:19
Glimpse for Dynamicweb webinar
Hi, I'm looking for the Glimpse for Dynamicweb webinar from tech conf. 2015? ...
Kim Søjborg Pedersen
10/06/2015 13:53:56
Last post: 12/06/2015 10:41:25
Command Timeout for LoadPricesOnProducts
Hi guys, For a customer we once build a webservice which imported all products to the DW CMS. This went all very well and there where no real issues importing the products. The database grew and grew and one day we started encountering timeout except ...
Tom Kamphuis
09/06/2015 14:02:34
Last post: 10/06/2015 05:24:33
Exception: Root element is missing.
Hi guys, A customer called and said that website is down. Has anyone ever had this kind of exception? http://screencast.com/t/wycs5FKb I am getting it whenever I try to open a website or a website/Admin /Dmitrij ...
Dmitrij Jazel
08/06/2015 09:52:57
Last post: 08/06/2015 11:04:32
Reverse last viewed products
Hi guys, In the DW templates we have the option to iterate through the last viewed products using the tagname "eCom:Related.YouHaveSeenTheseProducts". We're looking for a way to reverse the output of this loop and then take 12 from those products to  ...
Tom Kamphuis
04/06/2015 12:32:12
Last post: 04/06/2015 16:52:46