Developer forum
Subject
Replies
Started by
Last reply
Best practice create order using API
Any best practice code snippets for creating an order through the api? ...
Martin Grønbekk Moen
29/06/2019 22:28:05
Last post: 01/07/2019 11:25:13
Clear cache
Hi, We've set up caching of product groups on a solution to improve performance. However, we would like to be able to flush the cache when products change either through the UI or our integration. There are some methods for clearing cache in Dynamicw ...
25/03/2011 10:51:42
Last post: 01/07/2019 11:05:05
Observation: Potential null reference issue when displaying orders
Hey there, I have been working with a rapido full installation and noticed as slight quirk. After I completed an order and tried to view it in ecommerce module in the backend I got a null reference displaying. The issue appears to be because there wa ...
Reynir Viðar Ingason
13/06/2019 10:36:29
Last post: 28/06/2019 08:22:59
Where is "Debug" logged?
Hello, Where is "debug" logged? And what is the intention with the logging method? Dynamicweb.Logging.LogManager.Current.GetLogger("UserOnExtranetLogin").Debug(message) Best regards, Anders ...
Anders Ebdrup
21/06/2019 09:06:21
Last post: 26/06/2019 09:05:36
Custom generated field
What is the best way to create a custom generated field. We need to accumulate the stock level of all variants in the same color. So we have two variant groups (Color and Size). One product has multiple colors, and multiple sizes. Each variant option ...
Martin Grønbekk Moen
24/06/2019 13:22:57
Last post: 24/06/2019 22:27:22
EcomLoyaltyUserTransaction stores the order id even for transactions of type EcomOrderLine
Hello guys, In the table EcomLoyaltyUserTransaction, for lines of type EcomOrderLine, Dynamicweb is storing the OrderId and not the OrderLineId. Why is that? Even in code there are contradictions: When you create a transaction with the LoyaltyReposit ...
Emil Dumitrescu
29/05/2019 18:59:02
Last post: 19/06/2019 13:34:15
Find a user's birthday with smart search
Hi, Does anyone have a good idea of how to find a user's birthday with smart search? My goal is to send af voucher as a birthday gift Best Regards Kim ...
Kim Søjborg Pedersen
16/06/2019 22:58:49
Last post: 16/06/2019 23:34:54
Problem with hardcoded area id
Hi Dynamicweb, We have an issue with a solution with no area with ID = 1, which gives exceptions various places in the administration. The issue is related to this code section. Can "areaService.GetArea(1)" be changed to finding "FirstOrDefault()"? P ...
Anders Ebdrup
11/03/2019 13:02:27
Last post: 14/06/2019 14:21:08
Get current area in backend
Hi I want to get the itemtype associated with the area that the editor is editing in the backend. How can that be done? I would very much like to get it from within the notification "ItemNotification.Saving". ...
Lars Larsen
12/06/2019 13:30:35
Last post: 14/06/2019 13:55:26
Get current area in backend
Hi I want to get the itemtype associated with the area that the editor is editing in the backend. How can that be done? I would very much like to get it from within the notification "ItemNotification.Saving". ...
Lars Larsen
12/06/2019 13:30:35
Last post: 12/06/2019 14:55:29
Autologin on specific IP or similar
Hey, A client is having their intranet scanned by a some service they bought, and want that service to scan pages with extranet login aswell.. The company asked me to "whitelist" their IP. I responded with creating them a user and giving them the url ...
Steen Nørgaard Perdersen
11/06/2019 14:54:49
Last post: 12/06/2019 12:29:52
OrderCollection Load obsolete
Hi, We have some code that gets orders based on a sql query. We used it for getting orders by date, customernumber or other customfields. var orders = new OrderCollection(); orders.Load(sqlQuery); But after upgrading to 9.6.9 (from 9.3) the OrderColl ...
Jesse Bakker
06/06/2019 16:28:22
Last post: 11/06/2019 09:43:22
Abandon cart Email data not generating correctly
We have implimented Abandon Cart Email template according to the instructions but body data of the email is not correct. Example . -: The three users with different carts logged in to the site in different time. 94.tester1 > first logged in to the ...
Shiwanka Chathuranga
19/04/2019 07:25:02
Last post: 07/06/2019 05:53:44
Addin for customized urls
Hello DW, Been looking through the api doc for addin functionality for altering the urls generated, but can't seem to find anything related to extensions even though customized urls are mentioned in CMS extensibility. The reason is I'm trying to mani ...
Claus Ørum-Petersen
04/06/2019 13:25:02
Last post: 06/06/2019 17:21:33
Item not updated in ItemNotification.Saved
Hi I can't see why this code doesn't update my field "Title". Any ideas? ...
Lars Larsen
04/06/2019 15:57:52
Last post: 06/06/2019 10:33:14
Rapido checkouthandler render not working
Hey there, I am having an issue with a checkouthandler rendering a post template. I am using Rapido full and have several chekout handleres configured. Some are working but others are not and I am failing to find what the difference is. When I run th ...
Reynir Viðar Ingason
05/06/2019 13:35:03
Last post: 05/06/2019 15:01:16
Google Maps GeoLocation Issues in Dynamicweb 8
Hi, I'm experiencing issues with "Get Location from api" or just getting the location for a user's address in general in dynamicweb 8. The issue seems to be related to or is simply the same as in this thread: https://doc.dynamicweb.com/forum/cms-stan ...
Anders Ditlevsen
04/06/2019 08:34:57
Last post: 04/06/2019 09:25:52
Dan Gheorghe
16/04/2019 17:17:16
Last post: 30/05/2019 07:25:08
Get dropdownlist label
Hi I use Dynamicweb.Services.Items.GetItemByPageId(pageid, false) to get an item. This item has a dropdown list field and I want to get both its selected value and label. How can I get the label? ...
Lars Larsen
09/05/2019 14:59:55
Last post: 30/05/2019 06:23:27
Log to event viewer
Are there any example code on how to log events into the eventviewer? We use Dynamicweb.Logging.LogManager but that only creates files in the System/Logs folder, not in the event viewer. ...
Martin Grønbekk Moen
28/05/2019 14:52:52
Last post: 28/05/2019 15:39:35