Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
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
Forms for editors
How can I override the path where the forms for editors saves file attachments? BR Thomas ...
Thomas Larsen
27/08/2018 09:32:24
Last post: 27/08/2018 11:25:20
DW9 Calculated Fields
Hi, i'm having trouble finding the Calculated Fields area in dynamicweb 9. It used to be under management center -> Ecommerce -> Products. However i dont see it anymore, i wasen't able to find it anywhere else. In the dw9 api cheatsheet i see t ...
Anders Ditlevsen
01/08/2018 16:22:08
Last post: 17/08/2018 11:01:16
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
ACTIVE DIRECTORY (AD) INTEGRATION trying to connect.
Hi Been trying to figure out why i cant access the web service. Went through the guide and did everything that was told in the guide. The iis registers the project and i can browse through it in the website but the problem is when i'm trying to acces ...
Jón Heiðar Sigmundsson
12/07/2018 18:58:23
Last post: 13/07/2018 12:55:44
ProductService.GetProductById not returning product variant
Hi, Under the ProductService class we have the function GetProductById that has various input schemes: public Product GetProductById(string productId, string productVariantId, bool useDefaultLanguage); public Product GetProductById(string productId,  ...
Arnór Halldórsson
11/07/2018 17:17:44
Last post: 12/07/2018 13:03:27
Payment provider server notification handling
Hi there, We recently build our own payment provider handler. The payment provider has two feeback methods, one trough user redirect and the other trough server notifications. We are currently having issues handling the the server notifications. The  ...
Antek Drzewiecki
11/07/2018 13:00:47
Last post: 11/07/2018 14:26:01
DW 9.3 Creating links for products/groups pulled from index via the api
I had to combine several search results from the index, so I figured performance wise it should be best if I ran searches directly against the api. I built a webApi controller to for interaction between front-end and backend - results are returned as ...
Evaldas Raisutis
09/07/2018 07:44:20
Last post: 09/07/2018 09:20:20
Order.GetOrders Method (String, Boolean) obselete, but no replacement?
Hi, this method https://doc.dynamicweb.com/api/html/ae7b1578-1f3d-afde-deb1-0df3391b025b.htm have been marked as obselete. I cant seem to find its replacement. In orderService you have a GetOrders - but thats all orders retrieved. Does a method exist ...
Jan Sangill
02/07/2018 12:38:41
Last post: 06/08/2018 14:25:19
Render Products
Hi, I am trying to load products in a view like this Dynamicweb.Ecommerce.Frontend.Renderer render = new Dynamicweb.Ecommerce.Frontend.Renderer(); string sql = "SELECT * FROM EcomProducts WHERE CompatibleProducts LIKE '%@" + product.Id + "@%'"; rende ...
Umar Farooq
28/06/2018 10:56:57
Last post: 28/06/2018 12:26:25
Discount - Offer random product from group
Hi, We have a customer that wants to set a Discount that offers any product from a specific group. I have 3 ideas (1 bad, 1 worse and 1 godd) Bad idea Build a Discount Provider that mimics everything (or as much as needed) from Order Discounts and te ...
Nuno Aguiar
22/06/2018 17:51:12
Last post: 22/06/2018 18:19:21
Ignoring an invalid row in a table script
Hello, I'm creating some Table Scripts and there are times when the row from the source isn't a valid row. I would like to have that be ignored rather than entering the data from the invalid row. What's the best way to null out or invalidate the row  ...
Scott Forsyth
16/06/2018 18:37:22
Last post: 18/06/2018 16:14:32
Google Calendar API
Have anyone used the Google Calendar API in a project? https://developers.google.com/calendar/quickstart/dotnet I have to use it in a event calendar, basiscly just to pull events from the calendar, and display them on the frontend. Anyone have an ide ...
Jens Mouritzen
04/06/2018 20:19:16
Last post: 07/06/2018 13:41:56
Get countries from ShippingMethod
Hi, We would like to get the list of countries, which are selected in the ShippingMethod. We need it for a dropdown in checkout. DW version: 9.3.8 I have looked at the templatetags and in the API, but havn't found something usefull. Does anyone know  ...
Marie Louise Veigert
04/06/2018 10:52:45
Last post: 04/06/2018 14:43:29
Read from EcomProducts WITH (NOLOCK)
Hi Dynamicweb, We have an issue with some heavy update of products from dataintegration jobs and I hope you could add som table hints when accessing the database? E.g. we have a specific issue with products and exceptions like this. Exception: System ...
Anders Ebdrup
29/05/2018 15:24:15
Last post: 29/05/2018 22:10:12
Use Dynamicweb as External login provider for another application
Hello, I have a custom mvc application next to a Dynamicweb solution. Right now it uses its own login provider. I would like to be able to log into that application using the user credentials from Dynamicweb. I need 2 features : The customer should b ...
Gaëtan Di Caro
16/05/2018 15:05:01
Last post: 11/06/2018 09:54:12
Concurrency violation exception in ecommerce
Hello, We are experiencing occasionally DBConcurrencyExceptions ( Concurrency violation: the UpdateCommand affected 0 of the expected 1 records. at ) on during our order checkouts and our custom checkout handler. We managed to resolve most of the con ...
Antek Drzewiecki
09/05/2018 17:56:48
Last post: 09/05/2018 18:05:47
Application Error on page delete
Hi, We are experiencing a very strange error on our live solution which is running on 9.4.9 and this solution is hosted on a dedicated server. When we try to delete a page we get the following error as shown in the attached screenshot. I have checked ...
Umar Farooq
02/05/2018 09:37:01
Last post: 03/05/2018 08:45:45
Nuget install : Unable to load one or more of the requested types.
Hello, I have tried to install a DW solution using nuget, but I'm having this error message when I run the website (see screenshot) : "Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information." I  ...
Gaëtan Di Caro
30/04/2018 11:34:30
Last post: 21/08/2018 13:02:33