Developer forum
Subject
Replies
Started by
Last reply
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
Adding new orderlines to cart using dwapi
Hello, Dynamicweb 9.15.3 We are adding products to a cart using the following dwapi endpoint - (POST)/dwapi/ecommerce/carts/{secret}/items When we add a product that already exists in Cart, instead of incrementing the existing orderline quantity, a n ...
Pedro Meias
22/05/2023 23:39:00
Last post: 23/05/2023 15:41:12
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
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
11
Unsubscribe
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