Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
Creating Pages and Paragraph with the API
Hi. I have a business case, where we must create pages based on external events. I then must create a page with some standard paragraph using code and the Dynamicweb API. I have gotten some way with this code. internal static bool CreateEventPage() { ...
Daniel Hollmann
08/07/2021 16:21:56
Last post: 09/07/2021 14:42:31
Adding FieldOptions with API
Hi, I'm trying to locate how to add field options to the EcomFieldOption table with API. Is there a service somehwere in the API for doing this? Regards / Aki ...
Aki Ruuskanen
08/07/2021 10:44:41
Last post: 08/07/2021 10:49:27
Prioritize first word of a search
Hi, Our client wants to prioritize the first word of a search when a user looks for several words. For instance, to prioritize the results containing "microwave" when looking for "microwave small". NOTE: It has more sense in Spani ...
Tomas Gomez
07/07/2021 13:01:28
Last post: 12/07/2021 10:47:28
ProductViewModel how to get Images that are not based on Pattern (EcomDetails)
Hi guys, I am trying to adjust a template to use ProductViewModel. I have checked the properties and I could find ImagePatternImages but I could not find a property listing the images that are assigned manually. How do I get a hold of those images? S ...
Adrian Ursu
06/07/2021 10:39:05
Last post: 06/07/2021 14:06:56
Force display of Field Display group on products
Hi guys, I have a situation where I need a workaround for handling display of FieldDisplayGroups on a product. My intention is to store some field displaygroups at Product level (in a custom field) and I would like to force the display of those Field ...
Adrian Ursu
04/07/2021 10:41:31
Last post: 12/07/2021 11:12:08
Complete order by code gets invalid state error
Hi: I am trying to get the orders complete using c# code. The reason is that the TPV that we use sometimes does not redirect to our website. So what i do is receive the transaction log of the TPV and complete the order by code with the log informatio ...
Jose Caudevilla
29/06/2021 11:40:42
Last post: 05/07/2021 12:20:57
How to implement a ProductFieldTypeProvider
Hi, I'm trying to implement a ProductFieldTypeProvider with a UserGroupParameterEditor. But cannot find any documentation about how to do it. I have a class that inherits from ProductFIeldTypeProvider but when i add that in the "Field types" I get th ...
Aki Ruuskanen
23/06/2021 12:47:57
Last post: 28/06/2021 08:11:37
Bug fix needed for image pattern
Dear Dynamicweb, Please see this thread: https://doc.dynamicweb.com/forum/ecommerce-standard-features/include-extension-in-imagepattern?PID=1605, where we urgent need a bug fix. I have looked into the source code and have marked the issue with yellow ...
Anders Ebdrup
17/06/2021 14:20:16
Last post: 21/06/2021 12:27:04
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
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
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
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
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
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
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
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: 06/09/2021 07:29:56
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
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
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