Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
Custom Output Replacer - how?
I've been looking into how I can create an Email Address obfuscator, but I can't really find any notification subscriber that provides a decent way of returning my modified content. Is this even possible? ...
Kevin Steffer
06/07/2021 07:59:22
Last post: 06/07/2021 12:26:30
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
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: 05/07/2021 09:02:50
Popup message when orderstate is changed
Hi I would like to make a popup that should show up when an orderstate is changed from within the backend. I have added a javascript alert in the Ecommerce.Order.BeforeSave notification: Dynamicweb.Context.Current.Response.Write("<script>a ...
Lars Larsen
30/06/2021 10:13:10
Last post: 30/06/2021 12:06:25
Error at Application_AuthenticateRequest
Hi, I copy the information about an error as informed at the log. It was triggered during the normal working of a live public DW site. It looks related to an authentication process, but not special permissions are needed to visit the url that trigger ...
Tomas Gomez
29/06/2021 10:16:44
Last post: 29/06/2021 13:55:06
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
Sql statement runs too many times
Hi: I have a webpage that goes slow, debuging the pages i found that a sql statement runs 190 times in every page , even if does not contains any product. This is the SQL statement: DECLARE @p0 INT = 10, @p1 NVARCHAR(8) = N'GROUP501', @p2 NVARCHAR(1) ...
Jose Caudevilla
22/06/2021 10:52:55
Last post: 24/06/2021 09:57:38
ProductFieldTypeProvider
Hi, I'm trying to get a ProductFieldTypeProvider to work. I have started with the class below and thought that it should show up in the list field types. But it don't. I need to create a product field type where I can select UserGroups. Are there any ...
Aki Ruuskanen
15/06/2021 13:29:12
Last post: 23/06/2021 08:59:07
Track queries for statistics
Dear Dynamicweb, After upgrading to 9.10.11 the Product Viewmodel catalog throws an error, when this checkbox is checked: Track queries for statistics System.NullReferenceException: Object reference not set to an instance of an object. at Dynamicweb. ...
Anders Ebdrup
22/06/2021 12:19:42
No replies yet
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
MultipleValuesEditor not working for code expression
Dear Dynamicweb, We are trying to use the parameter editor: MultipleValuesEditor, but only the value "undefined" is stored for the code expression in the repository query section. Besides the UI is not too good: https://www.screencast.com/t/xeDyz8dBQ ...
Anders Ebdrup
18/06/2021 23:24:53
No replies yet
API ProductList FacetOptions
Hola! It seems like for the /dwapi/ecommerce/products endpoint the FacetOption list returned includes every possible facet. After looking through the source code, is it possible the value for settings.ShowFacetOptionsWithNoResult is null and therefor ...
Snaevar Petursson
16/06/2021 19:56:10
No replies yet
Code-hinting in DW 9.10
Up until now, we have been following this guide to enable code-hinting in VS. https://doc.dynamicweb.com/get-started/introduction/implementing/code-hinting-in-templates When creating a new project, with the latest packages I now get a bunch of syntax ...
Martin Grønbekk Moen
11/06/2021 09:05:47
Last post: 11/06/2021 12:01:24
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
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
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