Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
Query with sort order throwing IndexOutOfBounds
I am having an issue with the below code. The code throws the following exception: System.IndexOutOfRangeException: Index was outside the bounds of the array. at Lucene.Net.Search.AnonymousClassLongParser1.ParseLong(String val) at Lucene.Net.Search.F ...
Kasper Laursen
22/12/2020 11:57:20
Last post: 22/12/2020 13:12:52
Reading from an index?
This seems like a very trivial question, but I have been unable to figure out how to perform even the simplest of queries against an index using code. The simplest of pointers or any link to documentation on this would be much appreciated. Best Regar ...
Kasper Laursen
22/12/2020 08:17:08
Last post: 22/12/2020 09:58:32
Redirect URLs that contain multiple forward slashes and/or uppercase letters
Hi, Is there an easy way to avoid multiple forward slashes in DW 9 URLs? For example http://example.com//test and http://example.com//////////test should both redirect to http://example.com/test for SEO purposes to avoid duplicate content. And while  ...
Roald Haahr
21/12/2020 10:51:25
Last post: 21/12/2020 15:31:49
Scheduled task Method options?
Hi, I am in need of creating a scheduled task and have looked through the documentation for this. I will probaly build an addin for this, but wanted to properly understand my options. I have the following questions: What are my options with the Metho ...
Kasper Laursen
18/12/2020 15:43:06
No replies yet
Improvement of creating user in checkout
Dear Dynamicweb, We have some suggestions to the handling of user creation in the checkout. First is will be great if you can change the behaviour of "Context.Current.Request("EcomUserCreateNew") IsNot Nothing" to actually check for a boolean and not ...
Anders Ebdrup
28/09/2020 21:58:42
Last post: 18/12/2020 10:52:00
How to calculate the lowest price?
Hi, We have a requirement for calculating the lowest price for a customer, which means calculating the overall lowest price including discounts. So the lowest price found in the EcomPrices-table may not be the lowest as a customer can be related to a ...
Anders Ebdrup
09/12/2020 19:52:56
Last post: 10/12/2020 09:37:16
Issue with obsolete method CustomerProductListProduct - after update to 9.9.4 times out
Hi, I was using this method in 9.6.5: IEnumerable<Dynamicweb.Ecommerce.CustomerCenter.CustomerProductListProduct> customerProductListProducts = Dynamicweb.Ecommerce.CustomerCenter.CustomerProductListProduct.GetPagedProductsByListId(Convert.ToIn ...
Jan Sangill
07/12/2020 19:17:43
Last post: 09/12/2020 13:19:22
Custom Shipping provider not firing
Hi there, I have the following ShippingProvider: [AddInName("Fee Provider"), AddInDescription("Calls in the ERP to get the fee.")] public class ServiceShippingFeeProvider : ShippingProvider, IDropDownOptions { public ServiceShippingFeeProvider() { Lo ...
Imar Spaanjaars
05/02/2015 13:39:10
Last post: 01/12/2020 11:00:22
GetAppenderInfo missfire in ProductFieldType Provider
Hi guys, I have to pass along a question from one of our developers. We want to create a custom ProductFieldTypeProvider; we have defined a parameter named UrlToPage ; the problem is that when the function Render is called the parameter UrlToPage is  ...
Adrian Ursu
26/11/2020 10:45:08
No replies yet
Custom field provider of type ListBox
Hi guys, I need to build a custom field type that would allow the definition of options similar to List Box. The data will be stored the same way but I need a different control for the admin user interface when assigning values to a product. My lists ...
Adrian Ursu
25/11/2020 10:00:47
Last post: 25/11/2020 13:06:11
Create shipping document
Hi All who can advice me how should i use this function in my shipping provider? which function should i override or ... Thanks ...
Shiwanka Chathuranga
19/11/2020 16:39:11
Last post: 25/11/2020 05:00:30
Get AvailableAmount via API
Hi, Is there any way to access the AvailableAmount (TT: Ecom:Product.AvailableAmount) via the API? Kind regards, Vincent ...
Vincent Gercke Pedersen
20/11/2020 10:20:26
Last post: 20/11/2020 15:07:42
Missing custom order line field value when using addmulti
Hi, On a project running Rapido 3.4.1 with DW 9.9.2 I am trying to add multiple orderlines to the basket at once including some custom order line field values. While the orderlines are added correctly to the basket, the custom order line field values ...
Roald Haahr Jensen
16/11/2020 15:58:00
Last post: 17/11/2020 12:58:24
Observer for when product can't be added to cart because of reserved amount
Hi, Is there by any chance an observer you can use for when a product can't be added to the cart because the entirety of the available stock has been reserved by other users? I would like to inform the user as to why they can't add to the cart in cas ...
Vincent Gercke Pedersen
13/11/2020 10:46:25
Last post: 13/11/2020 14:00:23
Number in varientviewmodel
Is there anyway to retrevie varient product number from varientviewmodel ? ...
Shiwanka Chathuranga
04/11/2020 12:45:11
Last post: 04/11/2020 17:00:11
Defined routes not working
Hi I am using a component that needs some routes in order to work. I use the compontent on a Dynamicweb v9.9.1. I have defined the routes in the notification subscriber "Standard.Application.BeforeStart". But I can't make the routes work. Does Dynami ...
Lars Larsen
21/10/2020 15:01:04
Last post: 04/11/2020 10:45:49
Performing a save on a scheduled task add-in
Hello, I would like to make a property change at runtime in a method that is inheriting from BatchIntegrationScheduledTaskAddin. The goal is to sometimes reset one of the persisted settings. It appears that I need to get a handle on the current Dynam ...
Scott Forsyth
29/10/2020 17:59:01
Last post: 03/11/2020 15:31:12
Error on LogOnHandler
Error on LogOnHandler Dynamicweb.Frontend.LogOnHandler logOnHandler = new Dynamicweb.Frontend.LogOnHandler(1); logOnHandler.LogOn("username", "password"); Error generate from notification subscriber, this is version 9.9.3 at Dynamicweb.Ecommerce.Cart ...
Shiwanka Chathuranga
30/10/2020 12:24:35
Last post: 30/10/2020 17:48:14
Parsing a JS file through the template engine
Hi, I have a weird idea. It's common to have some hardcoded string. Could there be a way for us to parse the JS content through DW's template engine and generate the translate tags? We'd probably once need to run this on demand. It would be inneficci ...
Nuno Aguiar
08/03/2018 11:18:17
Last post: 30/10/2020 16:14:51
Missing VariantGroupProductRelationSorting
Dear Dynamicweb, Vi have an issue with "wrong" variant group sorting (please find this image: https://www.screencast.com/t/mLrKO3eNzp), but the sort order is correct in the database. Can you please add this section: "ORDER BY VariantGroupProductRelat ...
Anders Ebdrup
29/10/2020 16:10:26
Last post: 30/10/2020 09:42:23