Developer forum

Forum » Development
Started by
Last reply
Convert Item into ItemVIewModel
Hi guys, What is the best approach to convert an Item into an ItemViewModel? Is this even possible? Thank you, Adrian ...
Adrian Ursu
28/06/2023 11:28:54
Last post: 29/06/2023 03:29:23
Change of case sensitivity between 9.15
Hi guys, I have a template running on 9.15 that read some parameters of the NavigationTreeViewModel. The code looks like this in 9.14 (and it works): string theme = !string.IsNullOrEmpty(Model.Parameters["Theme"].ToString()) ? Model.Paramet ...
Adrian Ursu
28/06/2023 10:39:27
Last post: 08/08/2023 14:30:52
Getting to a "Clean" version of GlobalSettings.Config
I'm working to produce a "clean" version of GlobalSettings.Config, so that I can use it as a generic baseline for new solutions. On top of that I will then add GlobalSettings.Database, .CommonInformation, .MailServer etc The version on  ...
Justin Sjouw
28/06/2023 09:48:58
Last post: 30/06/2023 15:01:38
XML-provider not using provided XSL-file
Hi Dynamicweb. I have a solution running on DW version 9.14.9, where I have an issue with the XML-provider as destination, to export product data into an XML-file. I want to transform the XML-structure during the export, using a provided XSL-file. Bu ...
Kristoffer Surrow
25/06/2023 13:21:42
Last post: 09/08/2023 09:06:15
Payment retry on a failed order
Hey guys, On my project I need to give users the posibility to retry a payment on some orders . What is the best approach to do this? The context is like this: - the orders are completed, but capture state is Not Captured - Users should have a link i ...
Alexandru Aliu
21/06/2023 19:16:44
Last post: 22/06/2023 16:35:38
Issue with Nuget 9.15.8
Hi, I have been working with a partner to get a solution up and running. Image processing was not workingm which was caused by missing DLL's. Can someone from QA or dev please check if it is a general issue with the NuGet package? Message from pa ...
Justin Sjouw
20/06/2023 15:10:46
Last post: 22/06/2023 09:30:15
LinkedIn Authentication
Hi guys, We need to create an external provider for LinkedIn authentication. Has anybody made something similar before? What would be the best starting point for developing it? Thank you, Adrian ...
Adrian Ursu
19/06/2023 09:28:30
Last post: 08/08/2023 14:33:09
Set StateId in CreateOrder
Isn't it possible to set the order state when creating order from webapi? Ex.: /dwapi/ecommerce/carts/{secret}/createorder If I set this in the body of the post: {"StateId":"OS10"} I get this back: "StateId": "O ...
Martin Moen
16/06/2023 14:22:34
Last post: 20/06/2023 12:27:40
Create orderline by API - but missing orderline total
Hi I'm trying to create an order line by the API. I have done this: var product = Dynamicweb.Ecommerce.Services.Products.GetProductById("95764469898", string.Empty, Context.LanguageID, false); var ol = Dynamicweb.Ecommerce.Services.Orde ...
Lars Larsen
26/05/2023 11:49:15
Last post: 26/05/2023 14:44:48
DataSource null in PIM RibbonBar
I'm trying to make a ribbon bar addin for PIM, using DW 9.15.7. Followed the code examples for products, and started out with this code: The ribbon bar addin is showing, but I do not get any data from the data source. It is always null. What migh ...
Martin Moen
26/05/2023 09:23:01
Last post: 02/08/2023 12:58:29
Load DataList in template without module
Hi guys, Is it possible to load a DataList in a template without the module? I am thinking about some API methods that would allow consumption of DataList without having to attach the module to a paragraph. Thank you, Adrian ...
Adrian Ursu
23/05/2023 09:48:07
Last post: 23/05/2023 10:39:36
Repository task executed every 5. minute
Dear Dynamicweb, We experience that repository task set to run only once are runned every time as there is no check on whether the property RepeatInMinutes is greater than 0 - Please find the code below. public static void RunTasks() { var now = Date ...
Anders Ebdrup
22/05/2023 16:58:44
Last post: 23/05/2023 11:07:09
Deactive browser cache on page level
Hi, is there any way to deactivate the browser cache on page level? I see it can be applied globally as a global setting in "/Globalsettings/Settings/Performance/DeactivateBrowserCache". Are there any public methods available that can be us ...
Kasper Pedersen
22/05/2023 10:25:50
Last post: 22/05/2023 13:37:50
Repositories and indexing custom-indexes from Code-behind
Okay, I've already been told not to go this way, as it can't be done, but I'm curious anyway. I have created a custom index on the table AccessUserAddress and I need to update the index from code-behind or a workaround so that the index i ...
Kim Søjborg Pedersen
17/05/2023 14:22:04
Last post: 24/05/2023 15:14:36
New solution. Administrator step fails
Hello, I have been trying to setup a new solution. Both locally and on a test server. I use an application folder and a visual directory for the files folder. I then go trough the install wizards with no problems regarding database og creating files  ...
Kasper Legarth
08/05/2023 12:29:22
Last post: 09/05/2023 09:02:35
Hi, This might be in the wrong section but.. We are dabbling in wether we are going to develop a headless solution on top of dw9. I've been thoroughly digesting the headless-starter-kit( but struggling to  ...
05/05/2023 14:25:19
Last post: 06/05/2023 10:51:45
Password Recovery link potential security issue
We were told by security advisors that the current password recovery link sent via email by DW is using Referrer-Policy in the header and that this is potentially a security issue. The link can be easily hacked and the account taken over by others. C ...
Barry Geukdjian
27/04/2023 15:02:11
Last post: 27/04/2023 16:19:26
Remove x qty of a product from orderline
Is it possible to remove x number of a product in the cart. Without retrieving the whole cart first? Is have a page where i through the client adds product to the cart async. I use fetch and the cart command "AddMulti" for this purpace. (An ...
Kasper Legarth
20/04/2023 09:58:46
Last post: 21/04/2023 10:19:09
Extending password requirements
Hi DW, I have a question regarding the password requirement. As part of security measures, our customer is looking to implement some new password requirements to ensure the safety of user accounts. Our customer wants to ensure password security that  ...
Daniel Hollmann
19/04/2023 13:42:20
Last post: 31/05/2023 19:30:53
Get standard price when adding with points
Hi there, I have a shop (based on Rapido) that uses points to purchase. When adding an item to the cart, we use the cart command addWithPoints. That works fine but also sets the price of the item to zero in the cart. How do I find out what the standa ...
Imar Spaanjaars
17/04/2023 15:17:33
Last post: 18/04/2023 11:48:17