Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
NullReferenceException ProductsAndGroupsHandler.AddHandlerToCache
We are encountering some instances of the below error, looks like some missing null checks on your behalf in the AddHandlerToCache method Origin: LogEventBeforeSave - Action: Parsing - Category: Application - ExceptionType: NullReferenceException - D ...
Unnsteinn Garðarsson
07/04/2021 11:01:04
Last post: 07/04/2021 12:42:48
Custom Product field type - example
Hi, Can someone point or get me a quick example of how to develop a custom product field type? I need to develop 3 field types for a customer: Dropdown with a search Similar to what we have in Repository queries, but for a dropdown in Ecommerce Check ...
Nuno Aguiar
09/03/2021 15:40:02
Last post: 01/04/2021 10:08:51
Best way to to check if a product should render
Hi, We are importing some ledgers/invoices and all works well. Doing so we have some products that are visible on the website and others that are not (although they are in PIM). For example: Product A - has a Product detail page Product B - does not  ...
Nuno Aguiar
31/03/2021 11:18:51
Last post: 31/03/2021 11:32:56
How to get Recipient ID in razor
Hi there, I've been searching far and wide for this and have come up short. Isn't there any way to get the ID of the user/recipient of an email inside a razor template? I am aware of the existance of email placeholder tags where i can use EmailMessag ...
Kasper Laursen
25/03/2021 09:26:43
Last post: 29/03/2021 11:07:01
Autogeneration of ID on EcomProductField
Hi How is autogeneration of IDs on tables (e.g. EcomProductField) controlled, when creating the field in backend? We have some cases after export/import of test/prod databases where these generations are out of sync causing a duplicate error when try ...
Chris Søgaard
22/03/2021 13:46:11
Last post: 22/03/2021 13:54:15
Adding validation message in Notifications.UserSaved
Hi I need to validate a custom user field after a user has been saved in the backend. If the validation fails a message should be presented for the editor. Is it possible and if it is how can I do that? ...
Lars Larsen
22/03/2021 13:53:17
No replies yet
Pageview is Product Detail page
Hi, What is the best way to check if the user is in the product detail page? Right now I am: Using an Page.AfterRender notification (because I just need to log a few things, so nothing that would impact the HTML) Checking if the ProductId query param ...
Nuno Aguiar
19/03/2021 17:49:07
Last post: 22/03/2021 11:07:20
Page Notification twice with different Item field types
Hi, Working on a brand new Rapido 3.4 installation in 9.10.0 (no custom code nor changes besides the following) I noticed 2 strange things: Page Save (and PageOnBeforeSave) notifications are triggered twice Is this by design? And if so, how can I che ...
Nuno Aguiar
16/03/2021 16:58:44
Last post: 22/03/2021 10:57:38
A little SQL help needed
Hi I am trying to delete all form data, older than 30 days. As i see it, a formdata is mainly stored in two tables. The FormSubmit, and the FormSubmitData. The refernece between the two tables is FormSubmitId in the FormSubmit table and the FormSubmi ...
Hans Ravnsfjall
19/03/2021 16:36:47
Last post: 20/03/2021 08:11:31
Any other built-in option for user authentication in DW?
Hi We are currently trying to setup a frontend application (Nuxt.js), which should communicate with an API set up in a Dynamicweb. The main reason for the API to be setup in DW, is so we can utilize the user management and handle authentication throu ...
Torben Bak Jensen
19/03/2021 08:02:42
Last post: 19/03/2021 11:21:17
Live integration error
Hi: We have a DW solution that gets live prices from an ERP via a Web Service. This is a requirement of a customer. We downloaded the live integration code from this link https://doc.dynamicweb.com/Admin/Public/Download.aspx?File=Files%2FFiles%2FDown ...
Tomas Gomez
12/02/2021 14:22:59
Last post: 18/03/2021 13:00:47
cartcmd addmulti with special OrderLine field
Hi Guys, I have build this cartdmd="addmulti" form: <form action="/Default.aspx" method="get"> <input type="hidden" name="cartcmd" value="addMulti" /> <input type="hidden" name="ID" value="@pageID" /> <input type="hidden" name="P ...
Dmitrij Jazel
24/03/2016 15:11:40
Last post: 15/03/2021 12:25:37
Checkout handler success redirect to receipt
When I get success response back from payment gateway i do the following: SetOrderComplete(order, reference); SetSuccessful(order); //update the order status and amount CheckoutDone(order); But when this is complete, it goes to a balnk page. Why does ...
Andrew Rushworth
23/11/2020 10:16:02
Last post: 11/03/2021 17:34:34
Product detail URL based on ProductNumber
Hi guys, I need to create a simple and stable way of accessing a ProductDetail page using the ProductNumber. What would be the best way to achieve that? I don't want to affect the current friendlyUrls. they need to work in parallel. Thank you, Adrian ...
Adrian Ursu
10/03/2021 15:55:49
Last post: 11/03/2021 10:51:09
Avoid having orderlines removed?
Dear Dynamicweb, We have a situation where a salesperson can create a quote for a user with items that are outside the assortment of the user, and the user should then be able to accept the quote with these items. When impersonating we can give the s ...
Anders Ebdrup
24/10/2020 12:39:42
Last post: 10/03/2021 08:53:55
Formatting with CurrencyService?
Dear Dynamicweb, What is the difference between: CurrencyService.FormatCurrency and CurrencyService.Format, and when does it make sense to use the different formatting methods? Best regards, Anders ...
Anders Ebdrup
08/03/2021 16:19:42
Last post: 09/03/2021 12:03:40
Dynamicweb.Admin 9.10.1 Nuget availability
Any idea on when Dynamicweb.Admin 9.10.1 will be available on Nuget? :-) https://www.nuget.org/packages/Dynamicweb.Admin/ BR Vincent ...
Vincent Gercke Pedersen
24/02/2021 10:41:09
Last post: 06/03/2021 14:16:55
Assortment navigation includes inactive products
Dear Dynamicweb, Can you please add to only look at active products when calculating the group hierarchy? This is the query today: WITH Hierarchy AS ( SELECT DISTINCT GroupProductRelationGroupId AS GroupID FROM EcomGroupProductRelation INNER JOIN ( S ...
Anders Ebdrup
04/03/2021 16:48:07
Last post: 05/03/2021 15:02:23
Fetching from the products & product endpoints
Greetings humans! I've started to develop a vue frontend against the new DW API (wohoooo!) for our webshop and ran into a bit of a problem with the products & product endpoints. When using the endpoint "/dwapi/ecommerce/products" with a specified ...
Snaevar Petursson
04/03/2021 16:35:23
Last post: 05/03/2021 14:03:51
Get Categoryfield values trough the API
Greetings, Is their a way to access a products productCategoryField values? On the ProductObject their is a method called ProductFieldValues, and i am searching for something similar for the CategoryField values? ...
Keerthy Sethupathy
12/10/2020 11:11:12
Last post: 04/03/2021 11:30:14