Developer forum
Subject
Replies
Started by
Last reply
DWAPI: Pageviews fails
Hi Dynamicweb We are working with the DWAPI here: http://rapido-342-full.websrv01.smartpage.dk/dwapi/docs/index.html?url=/dwapi/api.json&layout=BaseLayout#/PageViews/PageViews_GetById But the frontpage (ID: 6279) is failing with this exception: O ...
Anders Ebdrup
30/03/2021 09:52:10
Last post: 08/04/2021 16:32:13
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
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
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
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
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
Templatetags throw nullreference exception from module (Dynamicweb.Frontend.Content)
Hi, We have a project where attempting to use TemplateTags() to display all available templatetags gives us an error in the frontend: An error occurred while attaching module (Dynamicweb.Frontend.Content) System.NullReferenceException: Object referen ...
Frederik Rossen
01/03/2021 12:43:24
Last post: 01/06/2021 11:10:10
Access OrderContext carts outside of Cart module
Hi guys, I need to be able to access the OrderContext carts outside of the Cart module, in Rapido. Mainly, In the Minicart block. I would use the API for this purpose but I could not find a suitable way. What I need is very basic information. I need ...
Adrian Ursu
25/02/2021 14:24:12
Last post: 25/02/2021 16:18:59
Recalculate order on unit change in cart
Hi guys, I have a project where I have products with different prices depending on the Unit. In my case, the unit is actually connected to the delivery county (don't ask me why). The requirement is to display the price and allow users to add to cart ...
Adrian Ursu
18/02/2021 10:39:47
Last post: 18/02/2021 16:55:45
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
DBConcurrencyException: Concurrency violation
Hi, We get this exception sometimes, on the home page after restarting the solution. The exception is triggered only once, as it doesn't appear after refreshing or going to another page. What if the reason for this exception? Any clue? Regards, Tomas ...
Tomas Gomez
12/02/2021 14:04:52
Last post: 09/01/2024 09:57:45
29
Unsubscribe
CustomFieldTypes use in facets
Hi guys, I have a project where we had to create a couple of CustomFieldTypes for Products and ProductCategories. The back-end part seems ok (I have a separate post about that) but I have some issues with using them in Facets. The field in question w ...
Adrian Ursu
11/02/2021 14:28:49
Last post: 15/02/2021 19:33:38
Checkout handler post callback (again)
We experience the same problems as described here: http://doc.dynamicweb.com/forum/development/checkout-handler-post-callback?PID=1605 The payment provider return a POST request to the callback URL. But when we try to retrieve data from Request.Input ...
Martin Grønbekk Moen
10/02/2021 15:14:55
Last post: 15/02/2021 16:25:57
Headless DW Routing
Hello We have been looking into how we can take advantage of the WebApi introduced in 9.10 and possibly transition into a SPA frontend. Have you found any solution on how to handle routing in the react/vue app, so that pages & paragraphs can be c ...
Natan Ólafsson
05/02/2021 10:53:17
Last post: 08/02/2021 16:05:11
Change context of Dynamicweb.Frontend.Navigation.NavigationSettings
I'm trying to change the context of Dynamicweb.Frontend.Navigation.NavigationSettings to fetches the Nodes property with the purpose of generating breadcrumbs, but setting the RootPageId to another page results in no Nodes being returned: The code ab ...
Vincent Gercke Pedersen
29/01/2021 16:41:46
Last post: 02/02/2021 09:22:14
Avoid double discount and discountexternder question
Hi, I have a customer who have this setup: 1) Prices imported for dealers. When logged in they may have a price added via prices on a product where the price and customernumber fits 2) Discounts added for special campaigns via product discounts What ...
Jan Sangill
26/01/2021 10:00:27
Last post: 01/02/2021 12:52:07
Custom DiscountProvider?
Hi Dynamicweb, We would like to be able to exclude some products that are part of an order discount, if certain data on the individual product means that no discount may be granted on it. In the old discount module we could create our own SalesDiscou ...
Niels Foldager
21/01/2021 10:50:45
Last post: 02/02/2021 09:39:14
17
Subscribe
Add orderline using API
Hi In the notification "BeforeRenderingNewStep" I need to add an orderline to the cart. The orderline must be with an existing product but the price of the product is variable and must therefore be set for the added orderline. I have tried a lot of d ...
Lars Larsen
12/01/2021 09:54:25
Last post: 13/01/2021 12:44:27
Check if inside DW context?
Hi, I'm sharing some of my code between DW and non-DW projects. Is there a proper way to check programmatically if I am inside a DW context? Everything I've tried to use in the Dynamicweb libraries throws null references. I know I could put up try-ca ...
Kasper Laursen
04/01/2021 10:22:22
Last post: 04/01/2021 13:12:47