Developer forum

Forum » Development
Started by
Last reply
Feed file export scheduled task not adding user to price context
Im having a proplem where, when trying to generate my PIM feed using the Feed file export scheduled task, i am not getting a user passed to me through the PriceContext. I do have the language and currency, but not the user. This is only when the feed ...
Lasse Larsen
02/06/2023 15:46:15
Last post: 07/06/2023 11:05:08
DWAPI /dwapi/ecommerce/orders/ bugs and request for OrderBy to be added
Hi DW, (Testet on 9.15.7) When calling "/dwapi/ecommerce/orders/", we're experiencing some bugs. First of when looking at the "dwapi docs" site, it doesn't say PageSize is required. But when you call without any parameters ...
Mikkel Hammer
27/05/2023 13:41:20
Last post: 07/06/2023 10:30:51
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/06/2023 13:31:12
How to detect if Logged in user is using External Authentication
Hi, I need to validate if the logged in user has logged in using external authentication (i.e. OKTA) so that we can remove some features (i.e. Change password link). What is the best way to check for that? Would Context.Current.Session["DW_extra ...
Nuno Aguiar
31/05/2023 10:30:31
Last post: 31/05/2023 20:04:28
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
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
OrderListViewModel - order total prices is empty
Hi Dynamicweb, When using Customer Experience Center and OrderListViewModel for rendering Model.Orders each order is missing total prices. This error occurs in some of the latest version of Dynamicweb (9.15.5 and 9.15.6). Best regards Niels Foldager ...
Niels Foldager
11/05/2023 11:17:16
Last post: 31/05/2023 17:26:37
NullReferenceException of the module eCom_Catalog
Hello, We have an error of type eCom_Catalog NullReferenceException. The error fires frequently, and also at nighttime when nobody is working on the solution, so it may come from an automated task. We donĀ“t know why it happens, nor how to reproduce t ...
Tomas Gomez
06/08/2020 12:58:48
Last post: 30/05/2023 12:30:01
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
Notification subscriber on Extranet App
Hi, Are there any subscriber when create profile gets posted from extranet app on a page? I need to do some custom code when a new user get posted from the extranet create profile app. I have tried this but it does not seem i get here: Dynamicweb.For ...
Andreas Pettersson
26/05/2023 10:12:12
Last post: 26/05/2023 14:23:26
DialogBuilder in custom RibbonBarAddIn
Is it possible to use DialogBuilder in a custom RibbonBarAddIn? If yes, can I please get a code example? I'm using var dialog = new Dialog() and AddWindow(dialog) now, but the DialogBuilder looks nice. ...
Martin Moen
25/05/2023 12:51:03
No replies yet
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
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