Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
Cancel recorrency order notification
Hi, I was looking for a notification subscriber for when an recurrency order is cancelled. There does not seem to be one, so I am wondering if anyone knows of a way to capture that event? Best Regards, Nuno Aguiar ...
Nuno Aguiar
19/10/2020 13:50:08
Last post: 27/04/2021 17:29:55
Assortment - Has access to product?
Dear Dynamicweb, I am looking for a notificationsubscriber where I can overrule whether a product should be available for a user. Can you add a subscriber where you are checking the access for a user/product? Please notice that we are using the produ ...
Anders Ebdrup
04/05/2020 11:15:44
Last post: 24/04/2021 15:20:08
Dynamicweb.Ecommerce.Frontend.ShippingViewModel missing in nuget feed
Dear Dynamicweb, After upgrading the WebApi to latest 0.10.0 we cannot run the solution due to a reference to: Dynamicweb.Ecommerce.Frontend.ShippingViewModel, which is not available in the nuget feed. Best regards, Anders ...
Anders Ebdrup
20/04/2021 09:36:35
Last post: 20/04/2021 21:18:16
Print order using API
Hi I need to print an order when orderstate changes. I therefore subscribe to "Ecommerce.Order.State.Changed". From here I print the order. I did that by getting the order using Dynamicweb.Ecommerce.Services.Orders.GetById(OrderId). But doing that or ...
Lars Larsen
19/04/2021 12:50:01
Last post: 19/04/2021 13:50:26
A little API help - get title of root/first-parent page via API
Hi I am trying to fetch the title of the first/root (level 0) parent of a page at any given time. I have tried doing this: @Dynamicweb.Frontend.PageView.GetPageviewByPageID(<placeholder for parent pageid>)).Meta.Title But this only gets me the  ...
Hans Ravnsfjall
13/04/2021 10:34:50
Last post: 14/04/2021 10:34:12
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
Fee rules in TaxProvider
Dear Dynamicweb, We working with the Taxprovider and need to have different fees for different order totals - more a less like the fee table under the shipping provider: https://www.screencast.com/t/2i8rgx1DYuT. So is there a way to implement a table ...
Anders Ebdrup
06/04/2021 22:13:42
Last post: 07/04/2021 17:47:09
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