Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
product.Discount class crashing solution
Hello, We've got a problem with the following code. The problem is, that it will cause both VS and the solution to crash, when we run it and ask directly to the product.Discounts class. Also tested on the latest DW 8.4 version Our test price provider ...
Martin Gammelholm
20/02/2014 09:45:34
Last post: 26/02/2014 11:30:53
News:Manchet in Razor
Hi DW, I'm trying to render a news Manchet if it exists, and if not, render the first x chars. The code goes as like this @if(!String.IsNullOrEmpty( l.GetString("News:Manchet") ) ) { <div class="teaser">@l.GetValue("News:Manchet")</div> } ...
Jonas Mersholm
26/02/2014 08:48:10
Last post: 26/02/2014 11:16:31
Created a test site, and get an error
Hi I have created a test site that runs locally, to make sure that the custom modules of the solution work in DW 8. I have made a copy of the application folder and the database. The test site should use the same files folder as the main solution. I  ...
Kevin Krämer
25/02/2014 14:49:32
Last post: 25/02/2014 16:03:04
Items enum editor
Hi all, Do anyone know how to make a CheckboxListEditor which consists of an enum? I have tried this approach, but with no checkboxes rendered: [Group("Location")] [Name("Lokationer")] [Field("Locations", typeof(Dynamicweb.Content.Items.Editors.Check ...
Anders Ebdrup
25/02/2014 10:23:26
No replies yet
FeeProvider for PaymentFee and ShipingFee
Hi DW, Is it possible to create a FeeProvider that only run on a PaymentFee and not on ShippingFee and visa versa? I have a issue with a FeeProvider that is made for handeling custom shipping fees, but this provider also runs on payment fee, which i  ...
Martin Nielsen
20/02/2014 16:25:12
Last post: 24/02/2014 11:43:41
RE: Dynamicweb.eCommerce.Products.GroupCollection.Load(string)' is obsolete
DW Support suggested to use this forum, hopefully someone can suggest an alternative to GroupCollection.Load(string sql). DESCRIPTION: We use GroupCollection to load data from the datebase. This code generates a deprecation Warning. GroupCollection g ...
Stefan Thordarson
21/02/2014 11:31:53
Last post: 21/02/2014 12:59:13
Alter Grouplist (ecom categories) before rendering
I am looking for a way to alter my ecom grouplist before rendering it on my paragraph. Is there a way to do this by override or extenstion of the list? ...
Kim Søjborg Pedersen
21/02/2014 07:50:55
Last post: 21/02/2014 11:48:53
Clean up in statistics in DW Database
Hello, I manage a large DW website. The database has grown very large, and it is mainly because of the size of the statistics table. How can I claenup the statistics, as we do not use the DW statistics at all. I have access to the SQL database, so I  ...
Gunnar Johildarson
10/02/2014 10:04:32
Last post: 21/02/2014 11:16:09
Getting logged out of Admin when using Custom Module
Hi everyone! During the years I have been working with DW I have come across a weird "bug" a couple of times, and now is the time to ask the community what the problem could be. When I make a custom module (it can be any custom module, but the latest ...
Kasper Vesth
18/02/2014 15:09:39
Last post: 21/02/2014 10:55:26
Updating to 8.3.1.7 - Error
Hi DW, After updating a solution to 8.3.1.6 i get this error on all productlists with more that one product in them: System.NullReferenceException: Object reference not set to an instance of an object. at Dynamicweb.eCommerce.Prices.Price.LoadPricesO ...
Martin Nielsen
20/02/2014 10:53:26
Last post: 20/02/2014 14:20:04
RE: Using joins in datalist SQL
Hi DW, I'm experiencing a strange behaviour using the datalists to execute some custom SQL. I'm executing the following SQL SELECT [UserGroups].*, [UserGroupUsers].GroupID FROM [UserGroups] LEFT JOIN [UserGroupUsers] ON [UserGroups].ID = [UserGroupUs ...
Jonas Mersholm
17/02/2014 11:47:34
Last post: 20/02/2014 14:07:51
Updating a custom module
So, I have a custom module that pulls some data from a server. That server was moved and the module needed to be updated to pull from the new server. No functional changes. The module works on a test site, and on my local machine, but when I replace  ...
Jim Trebbien
06/02/2014 09:24:01
Last post: 20/02/2014 10:49:41
Visual Studio Express and Dynamicweb templates
Just a quick question. Is it not possible to use Express versions of Visual Studio with the Dynamicweb 8 templates? The template installer unpacks a lot of files but I don't get any new templates in my VS. ...
Jim Trebbien
20/02/2014 08:36:32
Last post: 20/02/2014 10:09:19
Is the Variant provider in DW?
Hej guys, I have yet another eCom that has no variants presetup, and just works with standard eCom products. At the same time, there is a server somwehere that can send me some metadata about certain product. After I receive all that data, can I some ...
Dmitrij Jazel
18/02/2014 11:47:57
Last post: 19/02/2014 10:14:05
8.3 IndexUpdateService.Current.CreateTask(
I am using the following code to start a task to update the index: Dynamicweb.Searching.Management.IndexUpdateService.Current.CreateTask("Products", true); This does not seem to work anymore?? If i look in the backend the index is not updating. If i  ...
Remi Muller
17/02/2014 14:41:43
No replies yet
sessionState 'StateServer' and 'SQLServer' not supported in DW
It looks like sessionState 'StateServer' and 'SQLServer' is not supported in DW. I get the following error: "Unable to serialize the session state. In 'StateServer' and 'SQLServer' mode, ASP.NET will serialize the session state objects, and as a ...
Remi Muller
15/01/2014 13:03:28
Last post: 16/02/2014 22:24:28
CriteriaGroup -> Custom search filtes
This might be a trivial question, but since I don't seem to have any luck making it work, I'll have to ask... How does one create these and figure out what fields to add... This code seems to work, but when I try to use the out commented part I'm mis ...
Martin Skov Nielsen
12/02/2014 12:47:03
No replies yet
Can I compute a default value on save on an item type?
Hi. I'm trying to compute a GeoCode from Google Maps when saving a ResellerItem that I've created. Is this possible at all? ...
Martin Skov Nielsen
13/12/2013 14:40:40
Last post: 11/02/2014 14:02:38
Maps Module.
Hello, I have sumpled accross a scenario which I havent found a solution for in the maps module itself.. I have created multiple gruoups and subgroups in the user management system, and have plotted location data for the subgroups. These a being perf ...
Mikkel Toustrup Olsen
07/02/2014 15:20:06
Last post: 11/02/2014 10:48:07
Changing the Lucene analyzer
Hi, How do I change the analyzer to use for my Lucene query? I need to use the WhitespaceAnalyzer or the SimpleAnalyzer, instead of the StandardAnalyzer. With regards, Roy. ...
Roy Petersen
04/10/2013 08:18:22
Last post: 11/02/2014 10:33:27