Developer forum
Subject
Replies
Started by
Last reply
Disable LiveIntegration in Product Queries
Hi, We want to speed up some Product Queries that don't need LiveIntegration to get the fields of the products. We avoided the ERP calls in the feed code by a custom query parameter (LivePrice=false) but the response times of the queries are same as ...
Tomas Gomez
07/06/2021 13:13:24
Last post: 10/06/2021 12:40:00
Webapi: Support for country in prices
Dear Dynamicweb, When calling this endpoint: "/dwapi/ecommerce/products/{id}" we can specify the country, but this country is not set in: Common.Context.Country, which means that the prices does not take the country into account when calculating a pr ...
Anders Ebdrup
31/05/2021 16:14:55
Last post: 09/06/2021 09:01:42
Is link to abandoned cart possible?
Is it possible to load a forgotten cart in a different session using the OrderId and the OrderSecret? I know you can get a completed order using /Default.aspx?ID=11406&CompletedOrderId=ORDER-205113&CompletedOrderSecret=c4dd14388c6f41fea9c8858 ...
Goncalo Faria
04/06/2021 14:39:11
Last post: 04/06/2021 15:41:16
Dynamicweb API adding Custom Api to Swagger list
i want to add my custom api to the yourwebsite.com/dwapi/docs swagger doc Done the ApiRegistrationBase api is working fine with /dwapi/brand/..... let me know what i missed Thanks ...
Shiwanka Chathuranga
28/05/2021 11:53:02
Last post: 03/06/2021 15:04:54
11
Subscribe
Removing OrderLines in code
Sup fellow nerds, Is there a better way to completely remove all orderlines from an order (in the db as well) through code than this: List<Dynamicweb.Ecommerce.Orders.OrderLine> orderLines = dwOrder.OrderLines.ToList(); foreach (Dynamicweb.Ecom ...
Arnór Halldórsson
02/06/2021 12:48:24
Last post: 02/06/2021 15:40:39
Capture from outside Dynamicweb
Dear Dynamicweb, Is it somehow possible to capture orders without logging into the Dynamicweb admin so we can have ERP-system call Dynamicweb and then Dynamicweb will capture the amounts? I was hoping that something like this is possible: http://www. ...
Anders Ebdrup
11/05/2021 08:11:44
Last post: 02/06/2021 10:15:54
10
Subscribe
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
Update add-in parameter value in code on BatchIntegrationScheduledTaskAddIn
I have a custom BatchIntegrationScheduledTaskAddIn with a datetime parameter that I need to update when the batch integration executes. I have tried using the SetValue method, without any luck. I have also found some forum post regarding this where i ...
Espen Strømsnes
25/05/2021 22:08:36
Last post: 25/05/2021 22:21:19
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: http://rapido.localtest.me/Default.aspx?ID=123&State=CA turns into http://rapido.localtest.me/test/us/ca) I started by doing a UrlProvi ...
Mafalda Correa
15/04/2021 11:23:42
Last post: 21/05/2021 14:47:57
15
Subscribe
Plurals in search
Hi, We have a customer who would like to have a search that understands plural forms of words. For example if the word "Hinge" gets in some searchresults, then the word "Hinges" should render the same results. Would that be achieved with the synonyms ...
Aki Ruuskanen
14/05/2021 11:12:20
Last post: 21/05/2021 12:34:01
Add custom order field to RMA's in the backend
Hi I would like to add a custom orderfield to RMA's in the backend. I was thinking of adding the custom orderfield (or a button opening a window with the custom orderfield) to the ribbonbar, but can't find a proper addintarget for that. Is this possi ...
Lars Larsen
21/05/2021 11:19:45
No replies yet
Get info about a database error
Hi, We are experiencing a database error and cannot find the reason from the error trace at Monitoring. It is a non-repeteable error (it happens randomly) and it triggers a cascade of template errors that finally crash the server. We need more info a ...
Tomas Gomez
19/05/2021 14:23:49
Last post: 21/05/2021 10:12:19
Methods marked obsolete when replacement not yet available
Hi, We where cleaning up the warnings on an existing solution after a core update, but found out that again methods have been deemed obsolete while the replacement methods are not yet available. And somewhat annoyingly the documentation has been upda ...
Hans Kloppenborg
30/07/2019 10:28:05
Last post: 19/05/2021 12:12:35
Current UnitId in Product Object
Hello, We are trying to find a way to get the currently selected UnitId for a product for the product detail page, the product list page, and the cart. When looking at the product object there is a DefaultUnitId, but I do not see any reference to the ...
Jeremy Fesmire
18/05/2021 18:16:01
Last post: 18/05/2021 22:44:32
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: 18/05/2021 13:48:13
Stack overflow exceptions in custom price providers
Hi! Periodically, we experience getting stack overflow errors (0xc00000fd) in our price providers when we call in this call Dynamicweb.Ecommerce.Common.Context.Cart - typically to get current number of item lines. It seems that it periodically starts ...
Allan Iversen
17/05/2021 08:24:24
Last post: 17/05/2021 12:37:47
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: 07/05/2021 12:00:07
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
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