Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
Best and most efficient way to update product stock?
Dear Dynamicweb, We are looking into a way to have event based product stock updates in Dynamicweb from the ERP system, and are trying to do this in a efficient way without compromising performance on the site. Right now we expose a webapi loads the  ...
Anders Ebdrup
15/08/2022 13:57:05
Last post: 16/08/2022 15:37:47
Calling /dwapi/ecommerce/products/{productId}?FilledProperties=StandardFields gives NullReferenceException
Hi DW, As the title states, calling /dwapi/ecommerce/products/{productId}?FilledProperties=StandardFields gives this error (i've attached it as a picture aswell for better readability): { "Message": "An error has occurred.", & ...
Mikkel Hammer
10/08/2022 12:34:50
Last post: 11/08/2022 12:41:16
Register new activities in Audit
Hi guys, I was wondering if I can extend the Audit section to support additional events. I am thinking specifically about a change of workflow status, for example. Is this possible? Thank you, Adrian ...
Adrian Ursu
28/07/2022 14:17:31
Last post: 08/08/2022 13:57:49
Avoid System.Web in custom webapi
Hi, We are building some custom webapi's and are trying to get rid of the System.web dependencies, much like we do with all Razor templates. I looked at some recent threads such as https://doc.dynamicweb.com/forum/development/development/dynamicw ...
Nuno Aguiar
26/07/2022 11:25:22
Last post: 27/07/2022 10:14:38
Null exception from FillRow in UserRepository
I have a solution that has started throwing null exceptions when trying to save users: System.NullReferenceException: Object reference not set to an instance of an object. at Dynamicweb.Security.UserManagement.UserRepository.FillRow(DataRow row, User ...
Tor Leeberg
21/07/2022 11:13:55
Last post: 25/07/2022 07:30:59
Convert translations.xml to excel file
Hi, We have a client who wants to do all the translations in an excel file. Is there a way to convert translations.xml to Excel file and then convert back to Xml and upload to DW? BR, Ricardo P. ...
Ricardo Pereira
19/07/2022 13:06:29
Last post: 19/07/2022 13:08:49
Get ProductCategoryField options through API
Hi guys, Is there an easy way to access all options of a specific ProductCategoryField via the API? Thank you, Adrian ...
Adrian Ursu
14/07/2022 16:48:33
Last post: 31/07/2022 18:19:48
Custom Shipping Provider AddIn
Hello I'm trying to implement a custom shipping provider to an installation of DW, a provider where you select pickup location in the cart etc.. I'm struggling to finde any example of how this is done, using the ShippingProvider AddIn I'm ...
Allan Roel
28/06/2022 15:30:01
Last post: 29/06/2022 08:36:01
Best future proof method for querying products by custom field?
Hi guys, I need to build some code that is supposed to enrich some products based on data from external sources. I am basically building an Add-in that should loop over a list of products and adjust ProductCategoryField values based on some external  ...
Adrian Ursu
24/06/2022 12:51:36
Last post: 27/06/2022 22:03:18
ShippingProvider Render method not called
Hi, We have some logic in a ShippingProvider to determine whether or not day or evening delivery is possible based on the current cart. We are experiencing issues with the aforementioned logic when users navigate back from the payment gateway (in cas ...
Vincent Gercke
22/06/2022 11:01:56
Last post: 30/06/2022 09:29:20
Shipping Provider rules
Hi, I am trying to create a custom shipping provider and want to have fee rules like in the shipping method setting. The custom fee rules of the shipping method can make the shipping method eligible for an order or not and show or hide in the cart in ...
Arker Soe
14/06/2022 18:38:32
Last post: 27/06/2022 08:47:31
Notifications for order processing errors
hi guys, I have a solution where the whole ordering process is pretty sensitive. I want to be able to stay one step ahead of our customers and be notified when something goes wrong in the ordering process. Right now, I have in mind 2 possible scenari ...
Adrian Ursu
10/06/2022 14:51:53
Last post: 29/06/2022 09:15:05
Dynamic default image path in file selector [ItemTypes]
Hi guys, I have a situation where I could use a dynamic approach for the default Image location on the File selector. I was wondering if this would be possible. Either with some notification or by using CodeFirst ItemTypes. My need is to control the  ...
Adrian Ursu
06/06/2022 10:49:11
Last post: 10/06/2022 09:34:26
LoadVariantInfo times out on group by
In DW 9.9.6 in a solution with two shops and 500k+ products. When trying to build a product index, LoadVariantInfo times out on the expression: SELECT VariantOptionsProductRelationProductID FROM EcomVariantOptionsProductRelation LEFT JOIN EcomProduct ...
Lasse Larsen
30/05/2022 09:41:26
Last post: 08/08/2022 10:39:46
Implementing a new payment method
Hi, We need to implement a new payment method. It is a standard payment gateway working with requests in C# or PHP, and responses in JSON. In the payment method configuration, there are some settings not explained in the documentation: Code, Terms co ...
Tomas Gomez
20/05/2022 15:45:16
Last post: 20/05/2022 16:23:18
Mail retry
Is there any way to configure the mail server to retry a failed send ? We have the following error when an order receipt email should be sent and I cannot see anything in Control Panel nor in Settings - Web and HTTP - SMTP that is off. The test email ...
Unnsteinn Garðarsson
25/03/2022 14:39:25
Last post: 25/03/2022 15:38:39
User Macro not working after recycle
Hi guys, I have a project where we have developed a UserMacro that is supposed to return a comma-separated list of ProductNumbers based on some information in a custom table. Nothing fancy so far. Setting up the Macro in the query worked pretty well, ...
Adrian Ursu
15/03/2022 16:56:51
Last post: 16/03/2022 14:46:05
Stop Extranet-module sending mails
Hi, I'm using the notification subscriber UserOnBeforeSave to check user creation with Google reCaptcha. This part is working fine, but I need to stop the Extranet-module from sending a notification mail to the user, if the validation from Google ...
Kurt Moskjær Andersen
11/03/2022 10:26:43
Last post: 14/03/2022 10:42:51
GetCookie returns null
Is there something that I am missing here or what? I have the following code. List<string> cookies = CookieManager.GetDynamicwebCookiesList(); var cookie = CookieManager.GetCookie("Email"); The list of cookies look like this But GetCo ...
Unnsteinn Garðarsson
18/02/2022 16:17:23
Last post: 21/02/2022 10:34:02
Error on Razor Engine
Could not delete C:\Windows\TEMP\RazorEngine_twyaoezb.xx5: System.UnauthorizedAccessException: Access to the path 'CompiledRazorTemplates.Dynamic.RazorEngine_d0d203368fb64296945dbb5fad64359c.dll' is denied. at System.IO.Directory.DeleteHelper ...
Shiwanka Chathuranga
15/02/2022 06:07:14
Last post: 23/02/2022 05:58:59