Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
Dynamic topic field in email
I'm sending a mail to a user through a form. I pasted a part of the template below. The template is a part of a Forms for editors-module. I figured out you can control the topic, by using a hidden field like this: <input type="hidden" name="Forgot ...
Marc Hjorth
09/11/2018 12:48:15
Last post: 13/11/2018 11:39:27
Product integration job causes both product indexes to be invalid
We have a product integration job that trigges a product index build on completion. There are 2 product instances, A and B. I have now seen the following case: Build of index A failed on some point (due to a timeout). This causes index A to be in a f ...
Espen Strømsnes
13/11/2018 11:16:26
No replies yet
Get ecom product groups (tree) sorted on relations sorting
How do I get the product groups sorted by the relations sorting defined in the tables EcomShopGroupRelation and EcomGroupRelations? I basically want to retrieve the same tree that's displayed in the admin ecommerce tree from a template. I looked thro ...
Sander
13/11/2018 09:52:28
No replies yet
Get Area first page (frontpage)
Hi, How do i get the page id of the first page (frontpage) on a specific area? The only thing i have is the area id. I don't have any tags or pageview BR Thomas ...
Thomas Larsen
12/11/2018 14:59:03
Last post: 12/11/2018 15:41:57
Bug in Dynamicweb.Core.Helpers.StripHtml
I dont know if this is a bug or an feature, but if the string that is going to be parsed with the method is not valid html, it vil throw an out of memory exeption. if the string contains a < without a matching > it becomes an endless loop. if t ...
Kenneth Radoor
09/11/2018 00:23:50
Last post: 12/11/2018 03:49:11
Major performance issues by "After DwNavigation"
Hello! I'm experiencing major loading times on every page on my site, and after putting ?debug=true in the url I see that the events 'After DwNavigation(navbar)' and 'After: BeforeSort' takes about 21 seconds to load. 'After: BeforeSort' is used on p ...
Oscar Romin
29/10/2018 16:42:42
Last post: 07/11/2018 08:51:24
Disable ?debug=true
How do I disable the ability to render debug info when providing a debug querystring parameter? Because this contains alot of sensitive information. ...
Martijn van Tongeren
06/11/2018 16:55:26
Last post: 07/11/2018 08:28:36
Convert quote to order
Hi guys, I have a situation where I need to convert a quote to an order and checkout. Basically, I need to move from Quote to completed order withour an intermediary step. For a very complicated reason, I am listing the quotes with Data list, so no C ...
Adrian Ursu
06/11/2018 15:31:34
Last post: 06/11/2018 18:56:02
Limit the use of the image handler
Dynamicweb has a nice image handler for manipulating images on the fly (Admin/Public/GetImage.ashx). But how do I limit the use of this handler to only allow a predefined set of values? The reason I ask this is because someone who want to do harm, co ...
Martijn van Tongeren
06/11/2018 17:23:54
Last post: 06/11/2018 17:45:26
Implementing a custom PriceProvider using different units
I'm trying to implement a custom price provider that calculates the price according to a specified unit. We have a custom table containing the information how to calculate from one unit to another: ProductId FromUnit ToUnit Factor 1 piece m2 278 1 pi ...
Martijn van Tongeren
06/11/2018 14:05:51
Last post: 06/11/2018 15:01:38
Get product category field values for product in C#
Hi, Is there any way (in DW9) to get values of product category fields for a given product in C#? I've got a Dynamicweb.Ecommerce.Products.Product object, but can't figure out how to get the values entered in the fields for the category the product b ...
René Poulsen
24/08/2017 15:38:23
Last post: 06/11/2018 10:24:01
GetItemList in DW 8
Hi guys, I know it's a bit old school, but I need a decent way to get the content of an ItemRelation list that is set on the PageItem. I can get the ID of the page, I can probably get the Item for that page but I don't know how to get the ItemRelatio ...
Adrian Ursu
25/10/2018 22:06:57
Last post: 03/11/2018 06:51:04
Get overridden default parameter value
Hi, How can I get the current paragraph's overridden default parameters's value from Product Catalogue? I can get Pageview.CurrentParagraph.ModuleProperties.get_Value("QueryConditions​") but then I still need to encode/decode it, and parse it to get  ...
Nuno Aguiar
02/10/2018 21:06:27
Last post: 02/11/2018 17:59:28
Update UnitPrice for Orderline
Hi guys, I have a situation where I need to update the Unitprice on the orderline with a custom value. It is obvious that I need to use the API but I am a bit confused about all the "Obsolete" messages. I have tried using Dynamicweb.Ecommerce.Order a ...
Adrian Ursu
25/07/2018 11:35:33
Last post: 02/11/2018 16:12:30
Implementing a custom DatabaseConnectionProvider
We've implemented the IDatabaseConnectionProvider interface to create a custom database connection provider which reads the connection string from the web.config. All seems to be working fine for regular requests, but when building a repository index ...
Martijn van Tongeren
01/11/2018 09:52:49
Last post: 01/11/2018 11:25:32
Request guide for not to modify order with customer cookies
Hi, I am trying to implement payment gateway integration with second option to complete orders. My second option is, when the Redirect(Order order) cannot start according to the losing internet connection at customer site (end point), I force the ord ...
Zayar Minn
16/10/2018 14:47:19
Last post: 26/10/2018 08:27:19
Product category field Date default value
I have a product category field of type Date. When in a product there is no DB record for that field the default value in the backoffice is "Mon, 01 Jan 2001" which is an actual valid date. In this case shouldn't it be empty or "Never"? ...
Cátia Torego
25/10/2018 13:45:32
No replies yet
Recover password with multiple websites
I have two websites and some users are duplicated for both of them. This keeps the recover password from working. The "Include shop id in extranet log in" is active and the shop is set for the users. I also added the shopid the the recover password f ...
Cátia Torego
09/10/2018 17:42:03
Last post: 25/10/2018 12:40:42
AddToFavorite and api
Hi, I'm looking for some examples of how to use the AddToFavorite with the api. I need to save a product to a certain list using the following code: foreach (CustomerProductList customerProductList in customerProductLists) { Product product = new Pro ...
Kurt Moskjær Andersen
23/10/2018 10:05:59
Last post: 25/10/2018 11:29:03
Critical issue with cart cookie
Hi Dynamicweb, We have an issue with lost carts in 9.4 and it seems to be caused by the cart reference saved in cookies. In the method: SaveCartCookie the value is encrypted: Dim crypto As New Crypto(SymmProvEnum.Rijndael) Dim encryptedCookieValue As ...
Anders Ebdrup
31/08/2018 11:35:38
Last post: 25/10/2018 10:16:07