Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
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
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
Cleaning up database of unused Item Tables
Hi, I have a solution that has been started with an early version of Swift. At some point all items were renamed from R4 to Swift, but I just noticed in the database a lot of old tables still exist. Is there a way I can clean this up, or do I just ne ...
Justin Sjouw
19/05/2023 10:59:21
Last post: 22/05/2023 08:33:03
DiscounetExtenderBase
We have two custom discounts that use the “DiscountExtenderBase” class. 1) Employee discount - Order discount (inclusive) 2) Mix and Match - Order discount (exclusive) The issue we are facing is that the employee discount is always called ...
Barry Geukdjian
19/05/2023 09:53:45
Last post: 19/05/2023 11:59:00
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
Visiting first page in page tree results in blank page (9.15.3)
Hello! Visiting the first page in page tree results in blank page, when you access it by the exact url and not "/". I've been able to recreate the bug on the two seperate solution running 9.15.3, but not on a 9.15.2. ...
Vincent Gercke
14/03/2023 16:52:42
Last post: 06/05/2023 10:53:08
Access https://headless-starter-kit.public2.dynamicweb.dk/
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(https://headless-starter-kit.netlify.app) but struggling to  ...
Joakim
05/05/2023 14:25:19
Last post: 06/05/2023 10:51:45
Different results from formatting currencies with symbol
Hi Dynamicweb I'm trying to format prices in a Razor template, in DW version 9.14.9. For this I'm using the CurrencyService from the "Dynamicweb.Ecommerce" - module, to format prices depending on the currency settings. Based on the  ...
Kristoffer Surrow
01/05/2023 09:10:20
Last post: 02/05/2023 08:07:25
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
Using the WebApi, in DW 9, to get carts by customer number
Hi DW, We have a case where users, from the same company, should be able to see the currently open carts from the other users. Would it be possible to get an endpoint where we can get carts by either customer number or something like a query? ...
Lasse Larsen
22/02/2023 13:10:09
Last post: 26/04/2023 16:06:43
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
Last post: 24/04/2023 01:33:54
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
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
Last post: 21/04/2023 06:30:41
HandlePricesExclusively not taken into account in Viewmodel
Dear Dynamicweb, We see a performance penalty when using the product viewmodel as the property HandlePricesExclusively in our custom PriceProviders are not respected. Please see the code marked with red here: private List<PriceListViewModel> Ge ...
Anders Ebdrup
24/11/2022 15:30:07
Last post: 20/04/2023 17:37:10
Creating new orderline in NotificationSubsriber doesn't seem to add orderline
Hi, Im currently trying to add a fixed orderline type to a Order, when the Cart is rendered. It's due to minimumbuy - if the customer doesn't buy for at least 150dkk there should be added a orderline "minimumbuy" for the rest about  ...
Marie Louise Veigert
07/03/2023 12:05:47
Last post: 20/04/2023 13:13:35
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:17
Last post: 20/04/2023 08:07:42
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
Latest “Application” folder
Hi, I posted this in the hosting forum, but that is not too active it seems :-) In the DW cloud new versions of the backend (Application Folder) are automatically added upon release (I think). What is a good way to do that on an own environment autom ...
Justin Sjouw
14/04/2023 08:59:49
No replies yet
Merging products in cart
Hi guys, I am not sure how to better title this question, therefore I will explain it. We have a situation where we are using a few orderline fields. Some of these orderline fields are getting values server-side, not through the add to cart form. Thi ...
Adrian Ursu
12/04/2023 19:09:59
Last post: 13/04/2023 09:19:28
Restoring production database to dev/test
Hi all, I' wondering how other handle the resotring of databases to dev/test from production. I find it makes live a lot easier if I can work on new features, or debuging existing issues if I have a recent copy of production, many times issues ar ...
Justin Sjouw
03/04/2023 22:18:50
Last post: 03/04/2023 22:31:17