Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
Error when running Price.SavePrices();
Hi guys, I'm getting this SQL error when updating prices: Incorrect syntax near ')'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConne ...
Lars Sørensen
13/06/2014 15:43:16
Last post: 24/06/2014 19:21:06
Order confirmation email
Is it possible to insert the order id in the subject of the order confirmation email. It is supposed to be set up in the paragraph which includes the basket module. In other modules it is possible to just insert tags as fx <!--PasswordLength--> ...
04/05/2009 14:14:26
Last post: 24/06/2014 14:49:13
How to set built-in activation rule on item through the API
Hi, Through the API (Code First) I have made an itemtype containing some itemfields. Now also through the API I want to add one of the built-in activation rules to my itemtype. How is that done? Isn't it possible? If not when will it be? ...
Lars Larsen
19/11/2013 11:15:50
Last post: 24/06/2014 08:53:36
Change custom shipping method fee programmatically?
Hi guys, I am trying to create a custom shipping method. I took a look at current sourcecode examples and as an example I take [AddInName("SpecialDelivery"), AddInDescription("description...")] public class SpecialDelivery: ShippingProvider, IShippin ...
Dmitrij Jazel
16/06/2014 11:40:41
Last post: 23/06/2014 16:08:28
Custom Editor for Items - One that opens in a new window
Hi Guys, Have any of you created you own Editor for Items yet? I'm looking for inspiration/sample code for creating a new EditorField that works much like the standard File selector, eg.: - you click a button - you browse aroud a new window - you cli ...
Martin Nielsen
21/06/2014 21:39:17
Last post: 23/06/2014 15:32:44
Orderline fields in BOM products
Hi Guys, I have tried to use Orderline fields in combination with BOM products and Multi-add to cart. It seesm that in any of the above cases the orderline fields are not rendered. The bom product contained a product that had orderline fields attache ...
Adrian Ursu
23/06/2014 12:12:27
No replies yet
Enable searching in news
Hi, We're using the News v2 module, is it possible to include news items in search results? (Example on site: I want to get news items listed here in addition to pages: http://www.dof.no/en-GB/Search-page.aspx?q=subsea+7) I saw a similar thread on th ...
Joakim Tønnesen
20/06/2014 12:39:15
Last post: 23/06/2014 10:01:55
Code-first Items - Save() not fired
Hi guys, I created this Item via Code-first: [Name("Attraktion")] [Category("Code-first")] [AreaRule, StructureRule(Dynamicweb.Content.Items.Activation.StructureContextType.Pages, Dynamicweb.Content.Items.Activation.StructureContextType.ItemList), Pa ...
Martin Nielsen
21/06/2014 21:18:09
No replies yet
RE: Additional information anywhere?
Hello. I have two Data Providers that are derived from a third (itself derived from BaseProvider and abstract) and one of them is getting a "The method or operation is not implemented" exception, and I would like to see more detail about where in the ...
Marco Santos
18/06/2014 13:54:51
Last post: 20/06/2014 15:32:35
Is code-first items broken in 8.4.1.5
Hi DW, I just downloaded a 8.4.1.5 and DefaultEmptyData8SQL, and wanted to play around with Code first items, but it doesn't seem to work. I created a project with only the class below, and built it into my solution bin folder. using Dynamicweb.Conte ...
Martin Nielsen
19/06/2014 23:40:34
Last post: 19/06/2014 23:46:48
Proceed to next step in cart
Hi there, Is there a way to programmatically load the next step of the cart? I have a custom field called "Is Quote" that a user can set on the first step. If the order is a quote indeed, I would like to skip the step for payment and shipping. Thanks ...
Imar Spaanjaars
16/06/2014 14:41:30
Last post: 16/06/2014 17:12:25
new Dynamicweb.Rendering.Template(path, cultureName) not accessible
new Dynamicweb.Rendering.Template(path, cultureName) This constructor is not accessible for external libraries. Why is this private and can DW allow access to this? I want to use this for email templates and notifications where the pageview is not av ...
Remi Muller
11/06/2014 16:57:26
Last post: 13/06/2014 12:08:39
Custom date tags not rendering in NotificationSubscriber
Hi there, It seems that on DW 8.4 global tags with a date value are not rendered. I have the following custom code: [Dynamicweb.Extensibility.Subscribe(Standard.Page.OnGlobalTags)] public class PageOnGlobalTagsObserver1 : Dynamicweb.Extensibility.Not ...
Imar Spaanjaars
26/02/2014 22:46:57
Last post: 10/06/2014 16:02:05
Razor SQL Error
Hi guys, I created a razor template for google xml feed and made a function to call product group ID and Product Group name to use into a product list but unfortunatly i get an sql time out error when I select greater amount of products to show in ec ...
Umar Farooq
04/06/2014 09:19:14
Last post: 04/06/2014 12:12:06
Implementing a Tax Provider
HI there, I am working on a custom tax provider for a simple use case: when the user is from state X, then a tax of Y percent should be added to the order lines or the complete order. I assume the TaxProvider is the appropriate base class to use but  ...
Imar Spaanjaars
21/05/2014 13:19:07
Last post: 02/06/2014 12:43:09
Itemtype field of type checkbox set default value checked
Hi, I have an itemtype field of type "Checkbox" and I want it to be checked when instantiated. But how is that done? Using the itemtype fields default value field has no effect on a checkbox because the default value is set for the value attributte o ...
Lars Larsen
02/06/2014 09:34:21
Last post: 02/06/2014 11:04:04
RE: Scheduled tasks - Dw 8.3.1.9
Hello. I am having some trouble with scheduled tasks and since this is the first time I am trying to do this I might be missing something. So this is my setup at the minute: I have a ScheduledTask class, derived from BaseScheduledTaskAddIn . This doe ...
Marco Santos
30/05/2014 11:37:50
Last post: 30/05/2014 19:04:53
Email Marketing c# API
Hi there. I have been searching around using the IntelliSense for the last 30 minutes, but havent had any luck so far. Is there c# api's for the Email Marketing system, so that i can send emails from the module? I am trying to make an automated email ...
Jonas Mersholm
28/05/2014 14:29:34
Last post: 28/05/2014 14:46:11
index update task url is blocking website access
There is a problem when index update task url is executed for a full product index update. During this process the website is inaccessible. This is first tested on DW 8.3.1.18 and then upgraded to 8.4.1.3 which is having the same issue. Is this a bug ...
Remi Muller
23/05/2014 13:48:04
Last post: 23/05/2014 14:17:24
Configurable AddIn crashing when add-in has no configurable fields
Hi there, It seems that I must add at least one configurable field to a configurable addin even though I don't need one. For example, consider the following TaxProvider: [AddInName("My flat fee tax provider")] public class SimpleTaxProvider : TaxProv ...
Imar Spaanjaars
21/05/2014 14:35:02
Last post: 21/05/2014 15:35:31