Developer forum
Subject
Replies
Started by
Last reply
DLL Hell - Improve error message
Hi there, When working with custom components, we very regularly run into the error shown in the attached picture. Something is broken, but what? Our solution to find that out is to take out all custom assemblies, and add them back 1 by 1 untuil it b ...
Imar Spaanjaars
17/11/2018 11:35:54
Last post: 20/11/2018 12:53:48
CartId didn't change OrderId
Hi May I know which condition that Cart ID didn't change to Order ID and pass to payment gateway? Regards, Tin Ma Ma ...
Tin Ma Ma
19/11/2018 20:56:19
Last post: 19/11/2018 22:27:14
DLL Hell - support Fody Weavers
In order to solve some of the DLL issues I am running into, I am trying to use Fody Weavers: https://github.com/Fody/Costura, an excellent NuGet package that lets you embed one assembly into another. The idea is to embed, say, NewtonSoft.Json into my ...
Imar Spaanjaars
17/11/2018 15:19:50
Last post: 19/11/2018 13:59:48
Use ItemType_Location in maps
Hi, I'm trying to create a map containing the locations saved in the ItemType_Location table from the Rapido database. Using the backend I haven't this choice, only to add the points one by one and I don't wish that (see image 1) I created a data lis ...
Tomas Gomez
16/11/2018 13:16:32
Last post: 19/11/2018 11:56:55
Notification on forms for editors
Hi, I am trying to use a notification subscriber: Dynamicweb.DataManagement.Notifications.OnBeforeFormSave However, when I try to save data, this is not reached. Am i missing something? [Subscribe(Notifications.OnBeforeFormSave)] public class FormTes ...
Jan Sangill
08/04/2017 19:24:50
Last post: 16/11/2018 11:13:04
10
Subscribe
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: 16/11/2018 10:56:07
Cart only supports cart items - on checkout
Recently one of our customers (using a DW 8.9.2.20) had a weird problem with and order that got the “Cart only supports cart items” exception on the CheckoutDone of the payment handler of an order. Here is part of the order debug info, and noticed in ...
Rui Silva
15/11/2018 10:25:28
Last post: 15/11/2018 15:33:31
Use translation outside template
Hi, I'm creating an addin to create a couple of PDF-files for download. Is it possible to use the Dynamicweb.Rendering.Translation.Translation.GetTranslation without a design template, as my addin won't have any frontend, but will only run as a sched ...
Kurt Moskjær Andersen
15/11/2018 08:59:19
Last post: 15/11/2018 15:30:04
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
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. ...
Sander
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