Developer forum

Forum » Templates
Subject
Replies
Started by
Last reply
Trying to save a custom orderline field using cart commands
Hi: Im trying to add a product with a custom order line field value inside my cart review template. This product is a warranty extension where user can add to a product or not. The order line field systemname is 'LineaAsociada' This is a request that ...
Jose Caudevilla
11/08/2020 12:31:21
No replies yet
Setting up sections in a Visual Editor page
I'm setting up a new Visual Editor template In the template using the old fashion way, there were two sections. for example 'Inital content' or 'Extra content' In between there will be dynamicly generated content. Now in the VE template I noticed tha ...
Jaap Tinholt
16/07/2020 13:37:40
Last post: 05/08/2020 16:26:12
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
No replies yet
Impersonate keeps previous logedin user when login with new one
I'm having an issue with impersonate. If i'm logedin with an user, and impersonating, if i logout and then login a diferent user the new user is impersonated by the previous logedin one. For instance: I am logedin with UserA impersonating UserB I log ...
Cátia Torego
06/07/2020 11:32:19
Last post: 08/07/2020 13:10:48
Delete page from frontend in DW9
What am I doing wrong? I am trying to delete a page from a template like this Dynamicweb.Content.IPageService.DeletePage(ID); Where the ID is the INT id of the page, but i get the message saying An object reference is required for the non-static fiel ...
Hans Ravnsfjall
25/06/2020 14:49:16
Last post: 25/06/2020 15:38:35
set password email using marketing
Hello, I imported a set of users by excel using a data integration. Imported users haven´t password, i want that all the imported users can set a password by themselves. My idea is send a marketing mail to all this users. In this mail i want to gener ...
Jose Caudevilla
16/06/2020 16:11:50
Last post: 23/06/2020 14:44:40
Deleting / Altering a page item value from frontend on a Dynamiweb 8 solution
This might sound like a bad idea, but from what I see in the API - it should be possible in DW9, but is it also possible in DW8? What we want, is to be able set the checkbox of an item based page, and to delete a page from frontend. This will offcour ...
Hans Ravnsfjall
22/06/2020 20:22:52
Last post: 22/06/2020 20:39:15
Item publisher - item relation - filter
Hello, Is it not posible to add multiple item realtions filter in item publisher app? I have a list of doctors that are under different departments and for one page i need to list all of them from all departments but of another page I only want to li ...
Roop K. Rusbjerg
16/06/2020 11:01:24
Last post: 16/06/2020 14:16:35
If statement - item field - checkbox - probs
Hello, I'm having issues with this peace of code, it has worked for me before but for reason it will not coorperate this time. @if (GetString("Item.AfdHellerup") == "True") { <strong>@i.GetValue("ItemPublisher:Item.AfdHellerup.Name")</strong ...
Roop K. Rusbjerg
04/06/2020 08:21:26
Last post: 04/06/2020 11:06:37
When was extranet user last logged in prior to this login
Hi Is it possible to get info about a current logged in extranet user, and when he/she was last logged in, prior to this current session? Is it possible to get this info, in a template? If so, how can this be achieved? /Hans ...
Hans Ravnsfjall
29/05/2020 11:13:31
Last post: 02/06/2020 16:29:10
Get Value Page custom property items
Hello, I made a custom item type for page property items and I want them executed in the page layout file. Why is this piece of code not working? <section style="background-color: @GetValue("Item.Page.SectionBgColor");"> <div id="pagecontent ...
Roop K. Rusbjerg
26/05/2020 11:52:20
Last post: 29/05/2020 11:12:27
Forms for editors - export form data
Hello, Is is possible to get the ID in the form data file that you export in forms for editors? Best wishes, Roop ...
Roop K. Rusbjerg
19/05/2020 15:59:23
Last post: 27/05/2020 11:38:53
Form for editors - redirect to page
I'm trying to access the fields from a form submitted on the redirect page and the documentation says "simply set up the forms for editors app with the same form and the confirmation template you want to use on the page you redirect users to. The red ...
Dan Gheorghe
15/04/2020 14:53:52
Last post: 26/05/2020 14:07:16
Adding custom Cookie
Hello, Can cookies be added from a widget called "AddThis" in a category created "Social Media" in the Cookie Manager where the visitor can enable or disable them? What I've done so far is to create the category and add one of the cookies generated b ...
Dan Gheorghe
19/05/2020 13:31:48
Last post: 19/05/2020 15:00:08
Validation of vouchercode applied in the cart
Hi, I'm trying to validate whether a vouchercode code is applied or not in checkout using GetLoop("ValidationErrors"). But I don't catch the error if ex. vouchercode isn't valid. Is validation of voucher codes included in the loop or do I need to use ...
Søren Jakobsen
12/05/2020 10:50:15
No replies yet
Is there a way to render a breadcrumb using the navigation viewmodel?
Is there a way to render a breadcrumb using the navigation viewmodel as described in https://doc.dynamicweb.com/template-tags/introduction/concept/viewmodels#sideNavTitle1-5 ? I noticed an expandmode "PathOnly" is available in the NavigationSettings, ...
Peter Leleulya
06/05/2020 08:42:22
Last post: 06/05/2020 10:10:53
Access item relations list om page from paragraph using the API
Hi, I have been trying to get out some values using the API - it didn't go well :). Problem: How to extract item relation list properties (Link and LinkText) from a page settings item on a normal page to a normal paragraph template (where "normal" me ...
Charlotte Mogensen
23/04/2020 20:16:12
Last post: 01/05/2020 16:00:40
Content search Page Properties
Hello, Is it possible to do a content search on custom page property item field? We have page property where you choose a top image for a given page and our client wants to be able to search that image and for it to be visible in the search list. Rig ...
Roop K. Rusbjerg
29/04/2020 10:14:48
Last post: 30/04/2020 09:38:05
GetImage ashx and html
Hello, Has anyone experienced issues with the GetImage.ashx in html files? It seems work better with cshtml. Or is there another trick for it to work? I'm having issues with images not showing in safari on iphones, when using GetImage.ashx in html fi ...
Roop K. Rusbjerg
20/04/2020 10:57:27
Last post: 20/04/2020 14:46:21
Implementering VIsual Editor on a Mac Development environment
Hi I am developing on a Mac running Mac OS. I mostly use VS Code, but also Visual Studio for Mac. As far as i know, it is not possible to develop using ViewModels in Dynamicweb on a Mac Environment as of yet? Does this mean that I won´t be able to im ...
Hans Ravnsfjall
16/04/2020 10:39:49
Last post: 16/04/2020 12:12:13