Developer forum

Forum » Development
Started by
Last reply
Avoiding redirects in rewritemaps.config
Hi, We have a lot of unwanted recyclings of the ApplicationPool. According support, a bunch of redirects that we have in the "rewritemaps.config" file may eventually cause the recyclings. The meaning of the redirectes is that the "GroupsPage" has to  ...
Tomas Gomez
05/05/2021 10:59:13
Last post: 06/05/2021 13:58:57
Adding UserParameterEditor in custom TaxProvider fails
Hi Dynamicweb, I'm trying to add an AddInParameter with the type of Dynamicweb.Extensibility.Editors.UserParameterEditor in our custom TaxProvider. It is not possible because the page is missing a javascript-file (UserSelector.js), which is included  ...
Niels Foldager
20/04/2021 16:25:24
Last post: 03/05/2021 10:26:21
Access to order fields
Hello All I have a task to update existing form in cart first step. Need to create Selection field with 2 options (private customer and business customer) if choose business, then appear new inputfield for CVR number. Don't know if I'm doing right. I ...
Andrejs Zavorotnijs
30/04/2021 23:12:46
Last post: 30/04/2021 23:13:09
Access to order fields
Sorry for double post. Already get access ...
Andrejs Zavorotnijs
30/04/2021 10:41:41
No replies yet
Cancel order using API
Hi I have used the method Dynamicweb.Ecommerce.Services.Orders.Capture() to capture orders using the API. Is it also possible to cancel a not already captured but authorized order using the API? ...
Lars Larsen
28/04/2021 12:15:30
Last post: 28/04/2021 14:22:20
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
API ProductList Sorting
Greetings! I'm trying to sort the results from the "/dwapi/ecommerce/products" endpoint using a GroupID without doing it on the client. Is there a parameter like "sortby" I can use with the API? Tried "{CurrentPage: 1, Parameters: { sortby: "price" } ...
Snaevar Petursson
20/04/2021 17:40:33
Last post: 21/04/2021 21:18:27
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
New discount type with DiscountExtender
Hey, I have a customer that wants custom discounts - specifically, thet want "buy 60 get 10" where both the "buy" amount and the "discount" amount is configurable. As far as I can tell, DiscountExtenders can only be used to determine if a discount ap ...
Jonas Krarup Dam
15/04/2021 13:11:35
Last post: 15/04/2021 13:45:59
New URL Provider
Hello, I'm trying to build a custom URL Provider to turn a State query parameter into a country/state url (eg: turns into I started by doing a UrlProvi ...
Mafalda Correa
15/04/2021 11:23:42
Last post: 15/04/2021 13:30:59
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: 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: 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
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: 07/04/2021 10:55:01
PaymentFee Provider
I need to calculate PaymentFee (free paymentfee for some products). Where do I find a PaymentFee provider like the FeeProvider (only for ShippingFee) ? ...
Jesper Splidsboel
30/03/2021 16:41:09
Last post: 07/04/2021 10:40:24
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