Developer forum

Forum » Development
Started by
Last reply
Extend Endpoint Authentication types
Hi, Working with 3rd party endpooints, we were looking for a way to use the Endpoint Manager to store those, but seem to have hit a snag because of the Authentication. Considering the Authentication types, we've came across 2 distinct situations: ...
Mario Santos
30/11/2023 12:32:49
Last post: 30/11/2023 14:41:52
Area.Item is null?
Hi, I have a legacy project (DW9.14.13) that I'm trying to run and add few backend jobs to it. The whole website is already done, deployed and running. So what I did is I downloaded all the files of it and put it in my local project. I also have  ...
Karol Barkowski
21/11/2023 10:40:51
Last post: 21/11/2023 16:20:00
Anonymous carts with webapi/headless implementation
Hi, We have a customer doing there own development and they are using the webapi. The current struggle is that, mimicing their current site, they would allow users to add items to the cart, before they log in. I can see the current endpoint requires  ...
Nuno Aguiar
16/11/2023 13:45:42
Last post: 16/11/2023 19:56:35
Form for adding BOM/configurable products
I'm trying to add a configurable product to the basket, but I'm struggeling with getting the options into the basket. I have this structure: Main product (PROD1) First Config Group Option 1 (OPT11) Option 2 (OPT12) Second Config Group Option  ...
Martin Moen
09/11/2023 15:38:35
Last post: 10/11/2023 12:27:23
Loop most sold products
Hi, I want to call the 5 most sold products and show them in a div among each other. For the products I want to show their image, name and sku. How can I do this? Caro ...
Caro De Weze
09/11/2023 12:20:01
Last post: 09/11/2023 13:37:46
Prices from Live integration in Schedule Task AddIn
Hey guys, I have a project with live integratiom, the prices are fetched from an external system . I developed a scheduled task that generates a custom XML with all the active products. I noticed that some of the products don't have prices in my  ...
Alexandru Aliu
01/11/2023 15:12:10
Last post: 22/11/2023 10:12:07
Serialize/Deserialize Query Expressions
Hi guys, I have a situation where I want to add Query expressions in the SwiftProduct.query programmatically. I have used the QueryService for reading the Query file, I could manipulate the Parameters of the query but I could not find a way to intera ...
Adrian Ursu
29/10/2023 16:47:41
Last post: 30/10/2023 10:29:03
Unit test for a scheduled task
Hi, so I have a scheduled task defined and it's using few of the Dynamicweb.Ecommerce.Services classes, like Shops or Products. Now, since whenever I make a change to code, I need to restart my app, it's just very time consuming as it takes a ...
Karol Barkowski
20/10/2023 08:42:24
Last post: 25/10/2023 12:00:49
Scheduled task progress
Hello, I have a working DW website that contains quite a lot of products. Now, from time to time I need to iterate those porducts and make sure that they are in sync with some external data sources. So I've made a scheduled task for that and it w ...
Karol Barkowski
18/10/2023 23:32:00
Last post: 24/10/2023 16:35:56
DW locally on Mac
Hi, I'm trying to get DW running locally on my Mac. Unfortunately the documentation around here is mainly for Windows, so I need some help. Which programs do you recommend to work with to start? Which IIS manager? This is installed by default on  ...
Caro De Weze
17/10/2023 14:45:00
Last post: 18/10/2023 09:09:41
External Authentication using just back-end code
Hi guys, I am not sure if the title is clear enough, I will detail. I need a way to authenticate in another system but using the regular Sing in form from DW. I was thinking maybe to use some notification in DW, execute my code, and then move on with ...
Adrian Ursu
11/10/2023 19:45:55
Last post: 12/10/2023 13:49:06
Get Parent page inside loop of ItemPulbisher
Hi i am looping pages in an item publisher, and I am trying to get the parent of the current page inside the loop like this @{ string pageid=@i.GetInteger("ItemPublisher:Global.PageId").ToString(); var page = Dynamicweb.Content.Services.Pag ...
Hans Ravnsfjall
10/10/2023 20:04:05
Last post: 11/10/2023 11:34:48
SQL timeout on users - Custom Fields
Hi DW. We have a large solution with a lot of users in the AccessUser table. We are running DW version 9.14.9 Before going to production with a new feature, we wanted to add a custom field, for all the users. However, the action timed out during the  ...
Daniel Hollmann
05/10/2023 14:44:42
Last post: 05/10/2023 19:40:17
EcomProductUnitOfMeasure data in ProductViewModel
Hi guys., Is there any way I can get data from EcomProductUnitOfMeasure table into the ProductViewModel? Or is some service returning this data based on the ProductId? Thank you, Adrian ...
Adrian Ursu
02/10/2023 11:47:00
Last post: 02/10/2023 12:19:51
Intercept exceptions
Hi there, I have a site where a customer gets the following exception when logging in: I think this has to do with loading a cart that doesn't exist anymore but we're not sure. Is there a way I can intercept this exception and perform some lo ...
Imar Spaanjaars
02/10/2023 10:59:54
Last post: 02/10/2023 12:12:05
Order status email generation failed when status change from code
We are changing order status from another function from shipping provider and that time email is not generated. but status changed correctly. when we change that status manually from DW backend email is generated without any issue Code : order.StateI ...
Shiwanka Chathuranga
29/09/2023 13:26:32
Last post: 16/10/2023 09:24:22
Collect page content output for sending to external systems
Hi guys, I have a situation where I have to send NewsArtcile content to external sources via custom integration. One of the challenges is sending out the resulting content of the page, considering that the entire content is built using GridRows and C ...
Adrian Ursu
29/09/2023 10:59:49
Last post: 30/10/2023 10:31:13
Assign user to group
Hello guys, I am looking for a way to assign a user to an extranet group from the frontend, when the user buys a specific product. I have tried with this approach: user.AddToGroup(groupId); using (var supress = new NotificationContext(NotificationCon ...
Anders Ebdrup
27/09/2023 15:25:08
Last post: 05/10/2023 08:47:03
Custom Add In not showing up
Hi, I wanted to play around with custom add ins a little bit so I found some example that I put into my project. It's the most basic app that I could write: [AddInName("SampleCustomApp")] public class App : ContentModule { public overri ...
Karol Barkowski
25/09/2023 16:49:24
Last post: 25/09/2023 19:58:42
Delete user via /dwapi
Hello. Is it possible to delete a user/users via the API (/dwapi)? ...
Vincent Gercke
05/09/2023 10:30:45
Last post: 12/09/2023 20:09:41