Developer forum

Forum » Templates
Started by
Last reply
Loop.Contains empty when it should not be
Hello, I am debugging a strange issue with the following code. The issue is that sometimes the Loop.Contains returns false, even if I have verified that the variants exist in DW, and after some time I reload the page again and it is true and everythi ...
Unnsteinn Garðarsson
14/07/2021 15:36:28
Last post: 14/07/2021 16:31:35
Get ParagraphHeading inside item publisher template
Hi I am trying to get the value of the paragraph header, when inside an ItemPublisher template. On a Page, I have used the API via PageVIew.Current method - But I can´t find/figure out what to use on Paragraphs? Have also tried passing the para ...
Hans Ravnsfjall
02/07/2021 14:43:34
Last post: 06/07/2021 16:20:33
Ecom tag PurchaseQuantityStep not rendering in an ecom serach
I want to use the tag <!--@Ecom:Product.PurchaseQuantityStep--> to get the colli size of a product. (eg. 6 bottles in a box). It works fine on the prduct list page and the product detail page. But if I search for products and list the results,  ...
Michael Stigaard Sørensen
15/06/2021 15:26:36
Last post: 01/07/2021 08:26:33
Error in getInitials() from user name
Hi, We detected a small bug in the getInitials() functions, in the GetInitials and UsersLists templates. It happens when the user has a final space in his name, i.e. his name is not trimmed. This causes the last split to be empty, triggering an excet ...
Tomas Gomez
21/05/2021 11:45:17
No replies yet
Problem implementing visual editor
Hi, I have implemented the visual editor in to a solution without rapido. It works great but i have one problem. Under the column when you open up the visual editor there is a section called empty columns. In this section there is a field called unde ...
Daniel Hansen
03/08/2020 13:12:02
Last post: 03/05/2021 11:15:31
Methods that can be extended using notification subscribers
Not sure if this is the right place for this post but it is related to the training documentation. I noticed the below text in the documentation for the T3 test under Templates and Rendering and as far as I know only the Template Extenders are used t ...
Unnsteinn Garðarsson
16/02/2021 11:19:16
Last post: 03/05/2021 11:08:57
Exception when accessing product custom fields
We recently upgraded to 9.10.8 and now we are getting an exception in the backoffice whenever we try to open a product custom field. The error also shows in the templates were any of the fields are being used. DW version 9.10.8 ...
Cátia Torego
30/04/2021 17:31:42
Last post: 03/05/2021 11:02:30
Cybersource Saved Cards
Hi, I'm not able to save cards for cybersource anymore. The Cybersource configurations are currect and the certificate is valid. This worked before and the solution was upgraded recently. In the order logs there are several messages that show that Cy ...
Cátia Torego
03/03/2021 13:15:06
Last post: 29/03/2021 13:53:31
Item paragraph searchresult ?
Hi Is there any way of using standard page/paragraph search to seach a page with lots of itemparagraphs that is used via itempubliser ? If I search it finds the page correctly, because all the paragraphs is on that one page. I would like it to show t ...
Peter Klünder
18/03/2021 11:40:16
Last post: 18/03/2021 12:50:13
Can't update quantity in cart
Hi, I can't update an orderline quantity in the cart, i'm able to add to the cart using the cart comand Add or Addmulti but i can't edit the order line with IncOrderLine, DecOrderline or UpdateOrderlines. This is the urls being used: Default.aspx?ID= ...
Cátia Torego
03/03/2021 12:31:41
Last post: 03/03/2021 13:30:44
Is there an easy way to test/view/build order email templates?
Hey peeps, I'm wondering if there's an easy way to test/view/build an Order receipt email template? My current workflow is to move my template from CartV2/Mail to CartV2/Step and then set the mail template as the template for one of my steps in the c ...
Martin Nielsen
26/09/2017 09:01:01
Last post: 12/02/2021 10:11:44
Saved Cards Log
I'm trying to list all the usages of a saved card. Created a simple template, configured it in customer center (config.png), but even though the saved card was used I can't see any information on the template (screendump.png). What else is needed to  ...
Cátia Torego
23/12/2020 20:11:32
Last post: 25/12/2020 03:10:46
Running Razor templates in Dynamicweb 8 costum modules
Hi We have a Custom Solution running on There are some custom modules running on this solution, that we unfortunately don´t "control". These modules can be atached to paragraphs for rendering content, and they do have a module template "engi ...
Hans Ravnsfjall
26/11/2020 16:03:40
Last post: 27/11/2020 09:07:01
Extending Razor ViewModels
I have been looking into extending your Page and Paragraph ViewModels for our frontenders by creating models which inherits from your classes. However as far as I can tell this is not possible since you have hardcoded the usage of PageViewModel and P ...
Kim Pilgaard
08/11/2017 12:05:37
Last post: 13/11/2020 12:13:32
ContentPage.parsed.cshtml Error executing
installed project like in insturctios and take this error when I'm trying to open any page ...
Pavlo Rishko
30/10/2020 15:36:34
Last post: 03/11/2020 16:00:36
Global element inside a row
Hello everyone, I don't know if I'm doing anythnig wrong, but I can't seem to make an item inside a Visual Editor global. Any ideas? Thanks!! Jaap ...
Jaap Tinholt
21/10/2020 10:19:48
Last post: 27/10/2020 11:06:19
Custom user form is not saving data
Hi: I have to create a user form (like set user address data) with custom data. I need that the user can set this data using the front-end. The problem is that i created this custom formular, when i set data to this formular and submit it the data is ...
Jose Caudevilla
26/10/2020 09:13:20
Last post: 26/10/2020 10:32:22
Nesletter template issue
Hi people I dont know what I am dooing wrong. I copy Designs/Rapido/newsletter.cshtml to Designs/Rapido/newsletterIvanTest.cshtml and do not change file in anyway. Then I change template of newseltter page to use this new file like this: After that o ...
Ivan Marijanović
15/10/2020 11:59:22
No replies yet
Create order as PDF and attach it to email notification
Hi guys We would like to know, if there is a simple way to generate a PDF file of an order, and send it to the order notification recipient? E.g. if the user makes an order, then the solution should send an email with the order attached. We could sim ...
Jens Mouritzen
10/04/2019 23:35:24
Last post: 06/10/2020 11:20:35
Facebook encoding nordic chars
Maybe not a Dynamicweb specifik case, but I bet many of you have experienced the same problems Facebook open graph won´t accept nordic chars, and I have tried everything to format/encode the url to make facebook happy - with no luck I have tried all  ...
Hans Ravnsfjall
17/09/2020 13:05:49
Last post: 23/09/2020 07:23:06