Developer forum

Forum » Development
Started by
Last reply
Make OnDownloadFile (more) useful
Hi Dynamicweb, We are trying to use this notification subscriber: Security.UserManagement.Notifications.Notifications.OnDownloadFile, but I do not think it is working as intended. The case is that we must user specific downloads. In the subscriber yo ...
Anders Ebdrup
18/12/2018 10:37:26
No replies yet
Remove missing rows after import
I have a Data Integration which imports products (and groups) from views to the DW tables (from a Dynamicweb Provider With Views to a Dynamicweb Provider). The views are the main source, so I basically want to discard anything in the desination that' ...
06/12/2018 12:46:57
Last post: 17/12/2018 11:10:52
Bypassing LoadStockUnitsOnProducts
I'm trying to retrieve a large amount of products (25000+) with the purpose of exporting them as CSV, but I'm met by the exception: System.Data.SqlClient.SqlException (0x80131904): The incoming request has too many parameters. The server supports a m ...
Vincent Gercke
12/12/2018 10:56:17
Last post: 14/12/2018 08:42:19
Emailmarketing and content a different way
Hi, I have a customer who really dislike the idea of content for emailmarketing being pages you have to create and select. Is there ANY was you can extend this, so I could for instance add an editor field within the creation of the email itself and u ...
Jan Sangill
09/12/2018 17:19:16
Last post: 12/12/2018 16:57:05
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: 11/12/2018 15:14:14
404 handler taking long time
Hi there, I am using the Standard.Page.NotFound subscriber to return a default image for 404 images. It goes like this (all pseudo code): var request = GetUrlFrom404Request(); if (!request.Image()) { return; } context.Response.Clear(); context.Respon ...
Imar Spaanjaars
07/12/2018 09:29:07
No replies yet
Get Pages By Module Name
Hello, We are working on a custom module and we need to be able to get ParagraphPageIDs from the Paragraph table where ParagraphModuleSystemName matches a passed in value. How would this be done? Thank you ...
05/12/2018 18:09:15
Last post: 06/12/2018 08:48:08
UserAddressOnAfterSave Event doesn't exist?
Hello! I'm looking through the documentation and find an event I want to subscribe to, Dynamicweb.Security.UserManagement.Notifications.UserAddressOnAfterSave, but it doesn't exist in that namespace? This page says that it should exist there, but it  ...
Oscar Romin
04/12/2018 18:04:54
Last post: 05/12/2018 10:13:07
Usercontrols in dw9
Hi all, According to the documentation, the possibility of inserting a .ascx usercontrol has been removed in dw9. The Load tag has been removed as well. is it possible to load the usercontrol in a page/parahgraph razor template withouth doing it thro ...
Mikkel Toustrup Olsen
03/12/2018 13:44:06
Last post: 04/12/2018 10:00:14
Password security questions
Hi guys I am currently working on setting up password security on a project, and i was wondering how the system exactly works, and thus a have a few questions :) - I am using SHA512 to hash the passwords, but i am unable to find documentation that de ...
Ronni Hansen
30/11/2018 09:25:36
No replies yet
PromoCodeChecker.CheckOrderPromoCode method
Hi there, First time using this method and have a couple comments/requests: 1) When looking to a voucher code - CheckVoucherLists() - it doesn't check if the voucher list is inactive and returns a valid voucher code. 2) When looking Order Discounts & ...
Mario Santos
14/11/2018 13:41:55
Last post: 27/11/2018 14:49:17
Change currency symbol in DW 9
we are trying to change the currency symbol in the website by patching the Database table [EcomCurrencies] column [CurrencySymbol], but it didn't work. When we click settings>ecom>internationalization>currencies>[select particular currenc ...
Shiwanka Chathuranga
26/11/2018 17:43:33
Last post: 27/11/2018 08:05:18
Send User Notification Email only when user is activated by Admin from backend
Hi, I am trying to send the email only when the admin activate the user from backend. Is there any suggestion to do this? Best Regards, ACM ...
Aung Chan Myae
20/11/2018 07:49:03
Last post: 27/11/2018 00:50:07
Product quantity prices in 9.5.5
In our custom live integration, we have the ability of loading quantity prices for the products by using a piece of code like: product.Prices.Clear(); foreach (var price in prices) { product.Prices.Add(new Price { Id = price.Id, Amount = price.Amount ...
Rui Silva
21/11/2018 16:31:27
Last post: 26/11/2018 11:33:12
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 ...
13/11/2018 09:52:28
Last post: 23/11/2018 13:47:02
PriceProvider not called when user changes
I have a custom priceprovider that retrieves customer specific prices from a backend ERP. My priceprovider extends PriceProvide and overrides the PreparePrices and FindPrice methods. I have the following use-case: I log in as user A, browse the produ ...
Espen Strømsnes
20/11/2018 11:45:36
Last post: 22/11/2018 12:32:48
Issues removing OrderLines
Hi, We are having issues deleting orderlines in our order flow. We wish to delete select orderlines when the user travels backwards through our flow, so that we can add new orderlines with correct quantities when the user chooses to move forward once ...
19/11/2018 16:28:58
Last post: 20/11/2018 13:45:41
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:, 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