Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
GiftCard stopped working
Hi Guys, Today customer contacted, and reported an issue with giftcards. They worked perfectly before, but now then stopped completely. Am running out of ideas on what can be wrong? Codes are valid and where not used (checked that). I am trying to us ...
Dimitrij Jazel
12/12/2017 11:23:18
Last post: 18/12/2017 09:31:33
File properties in codefirst item
Hi Everyone I am having a hard time locating the options to allow for frontend upload and also the option to allow max files on my codefirst. Running version 9.3.8 ...
Casper Andersen
07/12/2017 16:11:23
Last post: 08/12/2017 19:32:41
Master layout in code first approach
Hi, I tried to get start the development with code first approach. Following your video here: https://vimeo.com/217447832. I have defined a master page for my website (Using administrator tool of Dynamicweb), it is applied for all pages. But it was n ...
Kien Tran
06/12/2017 09:55:32
Last post: 07/12/2017 16:20:02
Getting area property item from api
Hi, I'm trying to get a hold of an item, which is added as a custom property to an area, from within a NotificiationSubscriber. I have used the Dynamicweb.Content.AreaService, to get a hold of the area, but cannot find out how to get the specific ite ...
Kurt Moskjær Andersen
06/12/2017 10:35:42
Last post: 07/12/2017 07:52:17
Addins and CustomModule Questions
Hi, Question1: Is there any place I can find an example of how an addin and RIbbonBar works, when wanting to use a modal window. Only examples I can find, uses PopupWIndow, but I read I am supposed to use dialog now. I cant seem to find any examples  ...
Jan Sangill
05/12/2017 13:48:04
Last post: 06/12/2017 11:30:49
Product picker in code first item?
Hi. I am using the code first approch to my current project. Right now I need to be able to allow an editor to pick a product from ecom to show via an item. I have not beeen able to find a way to create such a picker using code first. Can anybody hel ...
Mikael Conley
23/11/2017 09:56:49
Last post: 04/12/2017 14:49:33
Orderflow and emails
Hi, I am in a a situation where I need to sometimes send out an email when order is complete and manipulate the email itself. I have read I can do this is: SendingConfirmationMail So far so good. However, somestimes I need this email not to send out. ...
Jan Sangill
24/11/2017 21:47:47
Last post: 03/12/2017 15:50:58
RenderItemList in DW 9.3.8
Trying to render a list of item in a paragraph template, where i dynamically get a list of Ids of the item i want to render. im using the following code: var DataFromItem = RenderItemList(new { ItemType = "News", ListSourceType = "ItemEntries", Sourc ...
Kenneth Radoor
30/11/2017 20:56:04
Last post: 30/11/2017 21:01:51
User.save > Dynamicweb.Ecommerce.Common.Context.GetCart() throws NullReferenceException
Hello, I'm trying to execute some code after my user import to update some custom fields, but I get a NullReferenceException when I try to call the Save() method : user.CustomFieldValues.FirstOrDefault(x => x.CustomField.SystemName == "AccessUser_ ...
Gaëtan Di Caro
30/11/2017 10:28:50
Last post: 30/11/2017 11:29:55
Send emails using Forms for Editors and API
Hi, Sometimes we need to submit emails in custom development, but still have some configuration. I was wondering if I could (using the API): Point to a DW page where there's a Forms for Editors paragraph Submit some parameters, so that the module wou ...
Nuno Aguiar
28/11/2017 17:27:11
Last post: 29/11/2017 17:04:12
How to handle nullable user custom fields
Hi there, When I add a new Checkbox (boolean) field to a user in the control panel, it's created as a nullable bit in the database. However, when saving that field for the user, it's actually required to provide a value; we have to set it to true or  ...
Imar Spaanjaars
10/10/2017 11:36:39
Last post: 28/11/2017 15:55:04
Index query for id with no dots
Hi all, I'm pretty new to the lucene indexing and what mechanics lies behind it. However, I currently have a product index containig all kinds of data and a freetext search which works fine. However, as the productid's contains dot like : "0010.2000" ...
Mikkel Toustrup Olsen
27/11/2017 14:03:54
Last post: 28/11/2017 08:36:43
Simulated/Mock discount?
Hi, I have a customer who is asking for this. "If you subscribe to our Club you would be saving $X,00 with this order". To do this, I believe we'd had to get a copy of that cart and simulate as if the user belonged to a specific user group. But I don ...
Nuno Aguiar
23/11/2017 17:43:25
Last post: 27/11/2017 15:51:22
Event before adding product to cart?
Hi Guys, Am trying to find the right event. I need to validate some stuff before I add to the cart. I also need to possibly alter Quantity on the fly if certain conditions match. Tried looking up in Dynamicweb.Notifications.eCommerce.Order.* but can' ...
Dimitrij Jazel
23/11/2017 13:38:16
Last post: 24/11/2017 15:29:58
C#6 in Razor templates
Hi there, Is C# 6 and later support in Dynamicweb's Razor templates? I followed the steps documented here: https://stackoverflow.com/questions/33822854/using-nameof-operator-in-razor-views (installed the package Microsoft.CodeDom.Providers.DotNetComp ...
Imar Spaanjaars
21/11/2017 15:10:21
Last post: 21/11/2017 15:23:41
Recommendations for logging from Scheduled Tasks
Hi there, I am building my own scheduled task to send out shipping confirmation emails by inheriting BaseScheduledTaskAddIn. From this task, I would like to write detailed info to the log in case of failures, and a summary in case of success. What is ...
Imar Spaanjaars
18/02/2016 10:30:30
Last post: 21/11/2017 13:30:11
Ledgers numbering
Hi all, I have a solution in 9.3.6 that is going to use the ledgers feature to pay ledgers. My custom code creates a new ledger record that will be sent to the cart to be paid by a standard checkout handler. No issues until this step, and the created ...
Rui Silva
16/11/2017 16:03:10
Last post: 17/11/2017 15:11:19
Dynamicweb 9.3 ViewModel
Hey DW Is it possible in the new Dynamicweb 9.3 to get the Children of an item page, eg: @foreach (Model.Children) { } Best regards Jakob ...
Jakob Westhausen
16/11/2017 11:22:11
Last post: 16/11/2017 17:07:02
Klarna Error Code: 3107
Hello guys, According to Klarna doc. here is the explonation of the Error code: https://www.screencast.com/t/U4JknG6yx Upon the step, where customer enters their Personal number (11 digits) Klarna returns this error code. But adress Information is Fi ...
Dimitrij Jazel
10/11/2017 18:14:29
Last post: 15/11/2017 09:18:47
Project placement for TFS
What is best practice for seting up a project with visual studio? I followed the guide for setting up a new Visual Studio Project (asp.net MVC) but i want to be able to change the files within the "Files"-folder from Visual Studio as well. Do I creat ...
David
13/11/2017 13:22:58
Last post: 13/11/2017 14:55:37