Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
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
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
Price range facet: MaximumValue not working as expected
Hello! I have set up a price range filter and want to get the maximum price for the slider. However, as soon as the query is applied the tag is updated to reflect the current productlist and not the productlist without the query, which I would expect ...
Martin Gammelholm
29/08/2023 14:22:10
Last post: 24/10/2023 11:07:48
ProductInfoViewModelExtensions is missing null checks
Hi, The ProductInfoViewModelExtensions is missing some null checks. I was trying to do this simple line of code and when I navigate to a Product that is Discontinued but has no Replacement Product, I get a missing ProductId error. ProductViewModel re ...
Nuno Aguiar
04/09/2023 19:34:41
Last post: 23/10/2023 17:00:45
Disable Set-Cookie in response header
Hello, is there any way to disable or customize the Set-Cookie in response headers on page level? I need to disable them when using an external CDN provider. ...
Kasper Pedersen
18/10/2023 11:20:16
Last post: 23/10/2023 16:48:30
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
Using webapi token to authenticate in frontend
Hi, Is there a way to use the webapi token to login the user in the frontend? We have this customer building a new frontend in a different CMS (corporate reasons), but still wants to use DW for the checkout process (potentially some other pages - we  ...
Nuno Aguiar
12/10/2023 14:06:07
Last post: 12/10/2023 15:01:04
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
Custom logic for creating CSS classes and definitions
Hi guys, I have a request for optimizing the admin's activity where I need to create a set of editable elements that in turn would generate some CSS rules. Something very similar to how the Themes work. I can handle the Itemtype definitions but I ...
Adrian Ursu
12/10/2023 10:52:49
Last post: 12/10/2023 12:55:26
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
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
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
How to get Item field "Do not include in search" using the API?
Hello, Is there a way we can get the value in item field property Do not include in search using the API? We are using an item published and would like to exclude from the search all fields that have this property set to true. Thank you. ...
Pedro Meias
29/09/2023 03:09:16
Last post: 29/09/2023 13:47:54
/dwapi/frontend/navigations/{areaId} returns hidden page with property ShowInMenu: true
Hi, As title says im wondering why /dwapi/frontend/navigations/{areaId} returns hidden page with ShowInMenu as true. When requesting the api im using IncludeFoldersAndHidden=true but I want to hide hidden pages from the navigation manually via the pr ...
Joakim Sjöbäck
30/08/2023 14:30:17
Last post: 29/09/2023 10:16:35
Cookie Usage DW_Extranet
what was the actual usage of this cookie DW_Extranet in latest dw 9.15.*** because we face some issue on Azure WAF with this cookie DWExtranetUsername=&DWExtranetPassword=&DWExtranetImpersonateUserID=OnOXgI3kDpU= when we have this highlighted ...
Shiwanka Chathuranga
25/09/2023 11:55:52
Last post: 26/09/2023 05:10:55
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