Developer forum

Forum » Development
Started by
Last reply
Default favorite list not handled
Dear Dynamicweb, In the UserProductsMacro the default favorite list is not supported as null is just returned if not set in the url: private static object GetFavoritesAutoIdsByUserId() { // If ?ListID=?? is not specified, do not return anything strin ...
Anders Ebdrup
21/11/2022 08:34:20
No replies yet
Cache in favorites viewmodel is not cleared
Dear Dynamicweb, We have experienced that the product id cache in UserProductsMacro, is not cleared when adding or removing through the CustomerExperienceCenter. It seems to be missing a call like this: Indexing.UserProductsMacro.ClearUserFavoritesCa ...
Anders Ebdrup
17/11/2022 14:39:26
No replies yet
Product.AfterCreate subscriber missing data?
Hi, I have a "AfterCreate" subscriber for products. The product object that the method receives does not have all attributes set. For example "Name". Creating this product: Product in subscriber, "Name" is empty. Is this ...
Aki Ruuskanen
11/11/2022 15:37:58
No replies yet
Site hangs after saving groups
Dear Dynamicweb, We have a site with a lot of products and when a group is saved then the site hangs for several seconds as we a missing some logic to check whether url dependent properties are changed. Please take a look a the existing code here fro ...
Anders Ebdrup
04/10/2022 06:56:08
No replies yet
Menu placement on settings items
Dear DW coders, Since around DW 9.13 I have noticed the menu on eg. Grid view settings shows up far down on the page, which of course causes great confusion. Can we get it back where it belongs? :) This is specifically on a solution running DW 9.14.1 ...
Dan Tomicic
03/10/2022 15:06:26
No replies yet
Old News module - SQL query to get news with custom fields
Hi I am working on an old solution, that uses the old News module. I need to get a SQL query to make a search (SQL based Index). But i can not figure out the relation between news and custom fields. Anyone who can help with a SQL query that fetches n ...
Hans Ravnsfjall
19/04/2022 10:39:16
No replies yet
WebApi does not take user assortments into account for GetProduct
Dear Dynamicweb, When requesting a product with a call like this:, then this method: HasAccessToProduct, does not take the  ...
Anders Ebdrup
05/04/2022 10:24:37
No replies yet
unable to add product to cart after losing VPN connection in the middle of request on DW 9.13.2
Hi DW, I was trying to add a product to a cart via the /dwapi/ecommerce/carts/8106a0cda70342058a34839c44fde1f5/items/, with the body: { "ProductId": "SGK070", "ProductVariantId": "SP10642.SP5786", "Quantit ...
Mikkel Hammer
18/03/2022 18:44:13
No replies yet
Custom validator for code first items
Hello, We have been trying to create a custom validator for code first items, but are struggling to get something elegant to work. The code for a working version was like this: using Dynamicweb.Content; using Dynamicweb.Content.Items.Editors; using D ...
Hans Kloppenborg
22/02/2022 11:02:40
No replies yet
Adding multiple translations from file eg. .json or .csv
Hi, I was wondering if its a planned feature, to add translations from a .csv or .json file. For scaleability and when the customer needs a site in a new language, it would be preffered to be able to add translations from something like a CSV import. ...
Theodor Perrier
10/02/2022 11:06:57
No replies yet
Tracking tables, data for marketing and table cleanup
Hi guys, I'm doing some cleanup in one of our solutions, mainly on log, statistics and tracking tables. The client used to use the Statistics feature but after it got deprecated we switched over to the new Tracking feature. However since they mai ...
Arnór Halldórsson
09/12/2021 12:22:39
No replies yet
RenderProduct on Order State Change
Hello, Im having an issue with RenderProduct on changing Order state. We have a scheduled task that adds the track and trace values on the orders and then changes the state to the next step of the order flow. The issue is that the next step has a ema ...
Goncalo Faria
08/12/2021 15:13:19
No replies yet
Notification subscriber on translations update
Would it be possible to get a notification subscriber that fires when translations are saved from the administration. ...
Theodor Perrier
25/11/2021 11:20:17
No replies yet
Get product category field values returned as a list ?
Hi, When using the "FieldDisplayGroups" loop, the "Ecom: Product.CategoryField.OptionLabel" and "Ecom: Product.CategoryField.Value" are both always returned as one string (how they are stored in the database). This gives ...
Casper Rasmussen
04/11/2021 10:38:29
No replies yet
Webapi: TaxProvider
Hi, I'm trying to use a TaxProvider, but it doesn't seem like any of the logic is activated when going through the webapi. I've tested with both a standard flat tax provider and a custom one, and I couldn't even get it to hit a breakp ...
Tor Leeberg
03/11/2021 09:42:31
No replies yet
Get ProductCategory definition using API
Hi guys, I have a development where I need to render in the front-end the configuration of the ProductCategory attached to a product. And by this, I mean that I want to list all fields attached to the ProductCategory and their options just like you w ...
Adrian Ursu
16/09/2021 13:12:44
No replies yet
Ability to generate the Export File programatically based on a FieldDisplayGroup
Hi guys, I need to create an import module where I have to output the Export file based on a FieldDisplayGroup. I need to do this because I have a lot of fields and the users cannot add them manually every time they export something. Is there a way t ...
Adrian Ursu
15/09/2021 14:24:50
No replies yet
Custom Ribbon Add-In and Permission matrix
Hi guys, Is it possible to add a custom Ribbon Add-in to the list of elements in the Permissions matrix? I mean here: Thank you, Adrian ...
Adrian Ursu
03/09/2021 17:13:37
No replies yet
Date ProductCategoryFields return different values in code, if a product has been saved.
Hi, We've run into a scenario that seems inconsistent. steps: * Create some products (either backend or via import) * Create a product category with a date or datetime field * access the new productCategoryField using the API - this returns NULL. ...
Jonas Krarup Dam
26/08/2021 10:20:24
No replies yet
Webapi: Country in PriceProvider
Hi, When a PriceProvider is called on a request to GET ​/dwapi​/ecommerce​/carts​/{secret}, Context.Country is always set to United Arab Emirates. Would it be possible to have the country set to the country of the cart/order? We're currently gett ...
Tor Leeberg
23/08/2021 15:15:52
No replies yet