Developer forum
Subject
Replies
Started by
Last reply
Avoid templates from "breaking" if resource isn´t found
Hi On a razor page template, I call on an external Item called "Alert", and the item-id is 1. It´s based on this https://doc.dynamicweb.com/api/html/c288eaa6-2bb8-405c-d939-112efc1ff104.htm @{ string myint="1"; var item = Dynamicweb.Content.Items.Ite ...
Hans Ravnsfjall
27/09/2019 14:34:00
Last post: 27/09/2019 14:54:55
Issue with UserManagement:User.UserAddress.ID returning Users ID for default user.
Copied from my reply - just to make it visible :) There is a bit of an issue here it seems. If your user has lets say ID 5 - then when u run through the users addresses, then the address not in AccessUserAddress will when u call GetValue("UserManagem ...
Claus Kølbæk
19/09/2019 15:37:22
Last post: 22/09/2019 14:55:59
Controlling behaviour of master pagetemlate (master.cshtml) Based on settings on a pagebased Item
Hi I need a solution for where I can allow an editor to control things, that will effect behaviour of the master page template (master.cshtml) across all pages of all types. I was considering setting up an item based page as a sort of a settings/cont ...
Hans Ravnsfjall
18/09/2019 15:25:39
Last post: 19/09/2019 12:49:41
RenderItem filter AND and OR conditions
Hi guys,m This is a copy of the a comment from one of my coleagues. It was posted on another thread and got no answers so far. I thought that it will help if I make it a thread on its own. The context. I have some Dw_Page items that I want to list ba ...
Adrian Ursu
06/09/2017 15:11:39
Last post: 04/09/2019 10:15:13
Changing contactreceipt
Hey, We would want to change the email notification for a customer of ours (volandis). When a form is submitted we are sending a email notification with the information, but the receiver gets a dynamicweb based e-mail. We would want to edit the templ ...
E Muller
19/08/2019 16:00:55
No replies yet
Format SendDate tag in Email content.
Hi, Is there a way to format the email tag: {{EmailMessaging:Message.SendDate}} Now it returns the full DateTime but we would like to get the date only. So it can be used inside the content text of a recuring email. If there is no standard feature fo ...
Jesse Bakker
29/07/2019 11:33:34
Last post: 31/07/2019 15:44:41
Declaring/using variable across paragraph templates
Hi I have started posts about this before, but this is maybe a little bit different. I want to declare a variable in paragraphTemplateA.cshtml, and then I want to use/show it in paragraphTemplateB.cshtml I was thinking i could use ViewBag for this, b ...
Hans Ravnsfjall
12/06/2019 10:31:53
Last post: 01/07/2019 17:47:06
10
Subscribe
Get the name of current pagetemplate
Hi Is there a way to output the name of the current pagetemplate from a paragraph template view? @TemplateTags does not reveal this, but maybe somehow via the API this could be done? /Hans ...
Hans Ravnsfjall
01/07/2019 14:41:08
Last post: 01/07/2019 15:38:48
Error when setting up a new website
As part of my training, I'm configuring an empty website in DW. I've followed this guide (at least I think I've done so) https://doc.dynamicweb.com/rapido/introduction/start-up/new-project-on-dw-with-rapido Now I get this error message: Exception in ...
Siv Hansen
10/01/2019 12:58:29
Last post: 27/06/2019 14:31:14
13
Subscribe
LINQ 'nested' GroupBy
Hi guys We got an event calendar where we would like to 'nest' the grouping of items in the current order: Weekday Venue Artist Artist Artist Venue Artist Artist We got the following code (current.jpg) made with LINQ but we are struggeling to make th ...
Jens Mouritzen
19/05/2019 22:34:26
Last post: 18/06/2019 08:44:14
10
Subscribe
Viewmodel list multiple files
Hi, I have a question, we have a code first item where we can selecte multiple images: [File(Name = "Image", BaseDirectory = "/Images", Extension = "jpg,png,svg", MaxFilesToAdd = "6", Description = "", AllowFrontendUpload = false)] public string Slid ...
Harald Brouwers
13/06/2019 14:35:31
Last post: 17/06/2019 09:13:28
Get the value of custom order fields
Hi, I'm trying to get the value of custom order fields displayed in the cart. Have tried the following in the JSON feed but the tags returns the input field: feedRoot.reference = GetString("Reference"); feedRoot.requisitionNo = GetString("Requisition ...
Søren Bremholm Jakobsen
07/06/2019 14:51:51
Last post: 11/06/2019 11:05:32
Forms for Editors - Not showing Radio Fields option values in Confirmation Email
Using Forms for Editors App. In the NotificationTemplate, under [MyDesign]/Forms/Mail/ , When the fieldType == Radio, it does not return the selected option value, label Text, instead, a string "On" is returned. The field is being called under a GetL ...
Lara Arsénio
20/05/2019 21:10:43
Last post: 28/05/2019 07:37:19
Extending Dynamic Article
Hi there DW Forum. I have a question regarding the Dynamic Articles and the possibilities of extending them. It's because i have made a custom block/template for showing some Schema markup on Dynamic Article item'et. And on the Dynamic Article page l ...
Mikkel Hornbech Nielsen
15/05/2019 12:30:16
Last post: 20/05/2019 14:08:42
Web-view confirmation emails - how to customize the template
Hello! - I need to customize the page that has the web view of the email templates (when we click the link of a confirmation email, and open it in a web browser. It looks like it is calling, by definition, the template located in "Application\Admin\M ...
Lara Arsénio
17/05/2019 18:45:35
Last post: 20/05/2019 13:34:32
Item relation list returns a single value instead of an array of multiple values
I would like to get all values from an item relation list that is part of a page item type, but I have a problem because the item relation list returns a single value instead of an array of all the items. This is the code I use: // Get all pages unde ...
Pernille Mortensen
23/04/2019 11:22:48
Last post: 06/05/2019 15:11:39
Any way to alter mail subject dynamically in form for editors?
We usually alter input fields via javascript, but is there any way to alter the mail subject dynamically of the mail being sent as a receipt? /Hans ...
Hans Ravnsfjall
02/05/2019 14:54:29
Last post: 02/05/2019 15:31:01
ParentTag in RenderNavigation (PageViewModel)
Hi I am trying to render a menu using ParentTag like this: @RenderNavigation(new { StartLevel = 1, EndLevel = 2, ParentTag = "Topmenu", Template = "TopNavigation.xslt" }) But the systems seems not to take ParentTag into consideration. Nothing is rend ...
Lars Larsen
29/04/2019 12:13:09
Last post: 29/04/2019 13:39:33
Vertext Address Validation
I have a Vertex Address Validation configured. On the first step of the cart i am getting the AddressValidators loop, sometimes the loop has values and some times it doesn't (the address used is always the same address with errors). Shouln't the loop ...
Cátia Torego
17/04/2019 18:21:59
Last post: 23/04/2019 16:12:06
Linking to an item based page, that I only have the itemid on (don´t have the pageid)
Hi This is sort of related to this matter https://doc.dynamicweb.com/forum/development/development/how-to-get-value-from-paragraph-item-field What I want to do, is to be able to link to an itembased page, that i only have the item id on. It is relate ...
Hans Ravnsfjall
04/04/2019 08:16:49
Last post: 12/04/2019 14:57:10