Developer forum

Forum » Development
Started by
Last reply
Could not load type 'Dynamicweb.Ecommerce.Feeds.FeedContextConfiguration' from assembly 'Dynamicweb.Ecommerce, Version=, Culture=neutral, PublicKeyToken=null'.
Hi, I have set up a blank new Dynamicweb 9.5.1. from the ZIP file from the doc site. It works, but as soon as I build the project in Visual Studio with no edit to the projekt, I get this error: Server Error in '/' Application. Could not load type 'Dy ...
Marie Louise Veigert
21/09/2018 14:07:57
No replies yet
Error on deleting content page via API (Primary item must have a value before committing)
Hi, We are getting this error when deleting content page with the PageService: PageService pageService = new PageService(); pageService.DeletePage(page.ID); Exception: Primary item must have a value before committing Dynamicweb.SystemTools.RecycleBin ...
Allan Iversen
23/02/2018 12:08:15
Last post: 20/09/2018 15:08:08
RenderBackend dosen't render
Hi DW I'm trying to create a ShippingProvider, i have ran into a problem with RenderBackend, it dosen't render anything into the backend (I'm expecting it ro render out on the order page?) I'm using this code public override string RenderBackend(Orde ...
Mads Kold
19/09/2018 15:46:56
Last post: 20/09/2018 10:16:48
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: 20/09/2018 08:29:35
Find string in content from api
Hi, I need to search all content from within the api, for a specific text-string. By content, I mean both pages, paragraphs and items. There is a lot of different item-types, so I would rather not iterate through each and every item-type, if it's not ...
Kurt Moskjær Andersen
19/09/2018 13:15:43
Last post: 20/09/2018 07:55:36
Change Order.ID
Hi, I'm trying to manipulate the Order object from the CheckoutDoneOrderIsComplete subscriber. I can change the user data easily but when I change the Order.ID a duplicate of the order is made. How can this be done? The code looks like this: [Dynamic ...
07/10/2010 14:52:33
Last post: 19/09/2018 12:26:08
Use UserParameterEditor and UserGroupParameterEditor for custom tax provider
I have a solution that needs a custom parameter to select some users and/or groups to be ignored on the tax calculation. I've tried to use the UserParameterEditor in the AddInParameter but this is returning an error: Message: Object reference not set ...
Rui Silva
22/02/2018 18:48:41
Last post: 19/09/2018 10:17:23
NuGet package Dynamicweb.Admin.9.3.8 not available
Hi It seems like I have got a deja vu!! I am trying to get NuGet package Dynamicweb.Admin.9.3.8 from but it's not available there. Why is that? Shouldn't it be? ...
Lars Larsen
14/09/2018 09:32:12
Last post: 17/09/2018 12:00:19
Overrule stock check
Hi Dynamicweb, We have two shops in the same solution, where we need different stock checks; one should reserve when items are added to basket and you are not allowed to order more than we have in stock. I the other shop you can as many items as you  ...
Anders Ebdrup
27/05/2018 19:59:38
Last post: 14/09/2018 13:27:26
Form: Send email with attachment (Uploaded item)
Hi, I am trying to create a form, with "FIle" field, where user can upload the file and submit the form. I've also configured to send email when the user submit the form. I've received the email when the user submit the form but it only displayed the ...
Thaw Htun Lynn
27/08/2015 11:56:56
Last post: 14/09/2018 11:37:45
Login user in code
I'm creating a custom login method and trying to login user with code: // querying the user User user = Dynamicweb.Security.UserManagement.User.GetUserBySql("SELECT * FROM AccessUser where AccessUserExternalId = '3005013299'"); is there any way i can ...
Vilhjalmur Ingthorsson
13/09/2018 12:44:20
Last post: 13/09/2018 15:08:37
Alert from Ecommerce.Notification
Hi, I'm subscribing to the Ecommerce.Cart.Line.Added notification and would like to send an alert to the user, when certain products are added to the cart. It is possible to add a session-variable in the subscriber, which triggers an alert in the mas ...
Kurt Moskjær Andersen
11/09/2018 13:15:45
Last post: 11/09/2018 15:57:20
OrderTemplateExtender : only execute at a certain cart step
Hello, I have some code in an OrderTemplateExtender that I need to execute at a certain custom step in the cart and only there, because it is resource-intensive. However I can't find out how to do that. Order.CartV2StepIndex always returns 0. How do  ...
Gaëtan Di Caro
10/09/2018 08:19:17
Last post: 10/09/2018 09:16:47
Price provider not thread safe
Hi Dynamicweb, We have an integrated solution and can now and then see some exceptions in the Event viewer, and it seems like the priceprovider is not thread safe. Please see the exception here: Exception information: Exception type: InvalidOperation ...
Anders Ebdrup
26/08/2018 16:07:23
Last post: 05/09/2018 13:21:38
Internal error occurred. Additional information: ''.
Hi everyone, Today customer called me and asked for help. In Admin, after clicking UserManagement or ManagementCenter - you get this error: really weared. Application version: ...
Dimitrij Jazel
08/05/2017 09:54:25
Last post: 05/09/2018 10:16:30
Geolocation and api
Hi, Is it possible to disable the geolocation-lookup, when importing users from an ERP-system via the api? I've tried to set the parameter IsGeolocationCustom=true on the user, but that doesn't do the trick. -- Best regards Kurt Moskjaer Andersen ...
Kurt Moskjær Andersen
03/09/2018 10:28:53
Last post: 03/09/2018 13:52:10
Orderline subscriber and customernumber
Hi, I'm subscribing to the notification Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.Line.Added, in order to update the unitprice of the product added. In addition I'm using full impersonation and would like to get the customernumber from the Dy ...
Kurt Moskjær Andersen
29/08/2018 15:14:38
Last post: 29/08/2018 20:03:44
Order Id in the order flow emails subject
Is there a way to have the order id in the order flow emails subject? I know that this can be done in the order confirmation email by adding {OrderID}, but in the order flow emails it doesn't work. Is this possible to do? DW version 9.4.11 ...
Cátia Torego
03/08/2018 19:21:33
Last post: 28/08/2018 19:16:11
Programmatically updating indexes
Hi there, In the past I was able to update a remote index by posting to a URL like this: http://sitename/Admin/Api/repositories/build/Products/Products-index-index/B/Full%20Catalogue However, when I do that now, I get a 401 - Unauthorized on DW 9.4.1 ...
Imar Spaanjaars
28/08/2018 14:07:56
Last post: 28/08/2018 15:56:47
Filter Items list in 8.9
Hi guys, I need to use the API to get a list of items with a specific SystemName from the current Area. I am not sure if using Dynamicweb.Content.Items.ItemManager.Metadata.GetItemType("News") will return only the Pages from the current Area. Can any ...
Adrian Ursu
28/08/2018 12:32:54
Last post: 28/08/2018 15:39:36