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
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
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
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
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
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
Handling different Product Detail pages for products in the same group
Hi guys, The new feature in Swift/DW for handling Detail page for products in various groups was very interesting and very useful. However, we have situations where products in the same group have to have different ProductDetail pages. I have used a  ...
Adrian Ursu
09/03/2023 12:32:56
Last post: 31/05/2023 17:45:58
DW 9 WebApi dosent always add body on carts/create request
Hi DW i have been having an issue, where calling the carts/create endpoint with an OrderLine and a few OrderFields in the body sometimes dosent add the fields to the cart. The cart is always created and returned, sometimes just without the additional ...
Lasse Larsen
02/03/2023 16:25:11
Last post: 03/03/2023 09:36:34
Create a Dummy order for Unit tests
Hi, We're trying to create just a dummy order for Unit test purposes on our customizations. I know that currently this relies a lot on context, so I wonder if there's an easier way OR if we're down a bunny trail or it simply can't get ...
Nuno Aguiar
01/03/2023 13:37:29
Last post: 07/03/2023 12:57:31
Access to CalculateShippingFee method
Hi Dynamicweb, We have a solution where we can have two shipping fees (depending on the type of products in the cart). We use a custom tax provider to add the fee from an additional standard shipping method. We only have access to the default fee on  ...
Niels Foldager
23/02/2023 22:23:13
Last post: 01/03/2023 11:05:23
GetPageviewByPageID results in endless loop
We have recently upgraded a solution to 9.15.2 and since we can't use Dynamicweb.Frontend.PageView.Current() to access AreaSettings from the backend anymore, we tried to use GetPageviewByPageID instead as suggested by the annotation. Unfortunatel ...
Vincent Gercke
23/02/2023 13:30:18
Last post: 01/03/2023 17:36:51
Getting Products from Assortments
Hi. We have a solution that we are upgrading from v. 9.8 to v.9.14. We have are using Ecommerce and Assortment. We used to use the GetAssortmentItemsByAssortmentId method, of the AssormentService class to get the products related to the assortment. A ...
Daniel Hollmann
22/02/2023 08:55:32
Last post: 22/02/2023 10:24:37
DW10 Web Api Responses
Hi There are few endpoints in the api which return the data in blob. i dont know if that is by purpose or ...? but it would be nice if it can return the data in proper Json or an actual model which would be even better for example /dwapi/ecommerce/gr ...
Umar Farooq
20/02/2023 13:02:39
Last post: 21/02/2023 17:27:31
Deny user login with custom error message
Hi, I have a scenario where I have to get information from the third party api and based on some spcific properties i need to allow or deny user login on the website with custom error messages. i tried Standard.User.OnBeforeExtranetLogin but cant fin ...
Umar Farooq
20/02/2023 11:33:08
Last post: 21/02/2023 13:26:46