Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
Global tags not working for loops?
Hi! I register some global tags like this; template.SetTag("Global:NiftyTag", "stuff"); which is working fine. Now I tried to create a loop, like this: foreach (Group group in groups) { this.DebugMessage("Name: " + group ...
Jon Lennryd
20/09/2011 11:59:48
Last post: 21/09/2011 16:41:05
Modifying the basket/order from C#
Hey everybody, We've been trying for quite some hours to make a script that adds products to the basket/order from C#. What we want to do, is to fetch a querystring with the name of the product to add, and then add it. We haven't got this to work yet ...
Bo Møller
19/09/2011 09:47:54
Last post: 20/09/2011 09:55:06
Filter on field groups
Is it possible to create a filter to filter on productfield groups? Kind regards, Rob ...
Rob Lohmann
19/09/2011 16:13:02
Last post: 19/09/2011 16:20:51
Templatev2.Template.GenerateTemplate: Developer mode must be enabled
After an update from DW I get this message on my page: "Templatev2.Template.GenerateTemplate: Developer mode must be enabled" This is the code: using System; using System.Collections.Generic; using System.Linq; using System.Web; using Dynam ...
Martin Skov Nielsen
19/09/2011 08:23:18
Last post: 19/09/2011 13:02:01
Property isVariantMaster not working?
We're trying looping through a set of products and we want to determine if the current product is a mainproduct and has variants. We wan't to exclude the mainproducts from our overviewpage when variants exist. We used the property product.isVariantMa ...
Rob Lohmann
16/09/2011 10:14:58
Last post: 18/09/2011 18:35:59
How to set new Order.TotalPrice
Hi DW, I have an OrderlineExtender where I set the unitprice of my orderline. For instance: base.OrderLine.SetUnitPrice( base.OrderLine.Price.Price * 0.8 ); Doing this doens't update the calculation of the order total. Should i be updating the price  ...
Martin Nielsen
15/09/2011 15:58:18
Last post: 16/09/2011 14:03:56
Secure webservice
Hi! If you place a webservice in your dw solution and want to secure that and its administration page, how do you do that? Best regards, Per ...
Per Ljung
16/09/2011 10:06:47
Last post: 16/09/2011 11:36:51
Module renders in backend?
Hello I have created a DW Module to deny access based on ip-filtering. I have af field for allow ip addresses and a field for deny ip address. The modules tests to see if current ip address apply to the ip addresses in the fields. If the rules indica ...
Lars Skov
14/09/2011 11:30:20
Last post: 14/09/2011 13:18:16
How to keep old URLs or redirect from old URLs
I have made a new website layer for a webshop, but with a different structure and template. Is it possible to redirect from all the old products urls to the new product page? I'm thinking about some kind of 301 redirects. How and where do i define wh ...
Kasper Jensen
13/07/2011 10:12:23
Last post: 13/09/2011 14:04:15
File encoding when importing
A quick question. What encoding does DW use by default when import Users? // Martin ...
Martin Nielsen
12/09/2011 14:46:59
Last post: 13/09/2011 10:42:34
Filtering with Friendly URL's
Hi I thought I had found a nice structure to show a categorypage with filters and a friendly URL, but the result is not what it should be. It's for the website Oosterik: http://oosterik.staging.innovadis.com/ The navigation is made out of pages, with ...
Martijn Bokhove
06/09/2011 09:07:11
Last post: 12/09/2011 16:19:15
ArgumentNullException: Value cannot be null.
Hello everyone. I get this error (look below), when I try to run my project on my local machine. I am running the latest DW version currently available (19.2.4.1). Please help. regards Gunnar ------------ Serverfejl i programmet '/'. Value cannot be  ...
Gunnar Hansen
19/08/2011 11:24:56
Last post: 12/09/2011 10:48:45
getAllProducts() and getProductBySQL() does not work!!! :S
Hi i have this kind of code, that worked in ten custom modules before but does not work now, what could be wrong ? It is simple code, and as in below example shown, i have tried few different ways to do that, non of them worked ! Any ideas ? And ther ...
Vilius Janulis
07/09/2011 14:00:40
Last post: 09/09/2011 15:54:57
Start Lucene search index update from code
Is it possible to start an update or a partial update of the Lucene index from custom code? I'm importing a lot of filters and products via some activites, and i'd like to update the index once all these imports are done. Regards Martin ...
Martin Nielsen
12/05/2011 08:57:35
Last post: 08/09/2011 14:28:01
Reordering the orderlines
Hi, i have basket, where I swap some products based on a "replace this product" function on the basket. Actually, I had troubles with this, so I add a new one with the relevant parameters, and pass along the existing orderline number. This  ...
Steen Nørgaard Perdersen
06/09/2011 11:37:19
Last post: 07/09/2011 16:56:40
ExecuteNonQuery
I have som code to insert a row into a table. Looks like below. The SQL itself is OK, I have checked it and run it in Query Analyzer and the row gets inserted. When I run the ExecuteNonQuery it returns 0 but nothing is inserted in the table. Very str ...
Aki Ruuskanen
06/09/2011 11:06:29
Last post: 07/09/2011 14:57:33
SQL Error
Hello every one.. i have been working on setting up a development version of an existing and running version of dynamicweb i downloaded the files from the server and took a backup og the database, after this i recreatet the backup on my development s ...
Kasper Holm
07/09/2011 12:40:03
Last post: 07/09/2011 13:49:35
Error after adding assembly to bin folder: Input string was not in a correct format
Hi, I get the following error after adding an assembly (for a custom MailFormSaveProvider) in the bin folder. I does not stop me from accessing everything. I am not sure of it's impact and how to solve it. Does anybody know what this means? System.In ...
Maulik Kataria
05/09/2011 11:11:14
Last post: 06/09/2011 12:09:05
Group.Products returns inactive products
Hi DW, When using the api to get all products in a group, you get disable products aswell. Code: Dynamicweb.eCommerce.Products.Group grp = new Group( GroupID ); ProductCollection prodCol = grp.Products; When looping through prodCol i get disabled pro ...
Martin Nielsen
02/09/2011 10:26:55
Last post: 06/09/2011 07:45:31
No log files from automated jobs?
We have an import process set up on a ecommerce solution where product data and images are imported every night, but there is no log file generated. When you start the import manually, a log file is generated. Why the difference? And is it possible t ...
Michael Nielsen
02/09/2011 13:04:03
Last post: 06/09/2011 07:02:29