Template Tags

When developing templates for Dynamicweb, there is one very simple way to the sytem values you need. 

Below is the result of calling @TemplateTags() in the template. The list contains all available template tags on the current page. 

To use the tags is straight forward. Just type them like this in your Razor template (.cshtml)

@GetValue("Item.ParagraphHeader")
 

To use more strict variables types,  @GetInteger("Global.PageId") and @GetString("Item.ParagraphHeader")

These are just some basic examples to learn more about how to use Template Tags, there is a lot more information on http://templates.dynamicweb.com 
 

 

Global.PageIdSystem.Int328729
Global.PagingPositionSystem.Int321
Global.ParagraphIdSystem.Int3210776
Item.Field.FirstSystem.BooleanFalse
Item.Field.LastSystem.BooleanTrue
Item.IdSystem.String1
Item.Id.IsRequiredSystem.BooleanFalse
Item.Id.NameSystem.StringId
Item.Id.SystemNameSystem.StringId
Item.Id.TypeSystem.StringText
Item.Id.ValueSystem.String1
Item.ItemInstanceTypeSystem.String
Item.ItemInstanceType.IsRequiredSystem.BooleanFalse
Item.ItemInstanceType.NameSystem.StringItemInstanceType
Item.ItemInstanceType.SystemNameSystem.StringItemInstanceType
Item.ItemInstanceType.TypeSystem.StringText
Item.ItemInstanceType.ValueSystem.String
Item.ParagraphHeaderSystem.StringTemplate Tags
Item.ParagraphHeader.IsRequiredSystem.BooleanFalse
Item.ParagraphHeader.NameSystem.StringParagraphHeader
Item.ParagraphHeader.SystemNameSystem.StringParagraphHeader
Item.ParagraphHeader.TypeSystem.StringText
Item.ParagraphHeader.ValueSystem.StringTemplate Tags
Item.ParagraphNameSystem.StringTemplate Tags
Item.SortSystem.String2
Item.Sort.IsRequiredSystem.BooleanFalse
Item.Sort.NameSystem.StringSort
Item.Sort.SystemNameSystem.StringSort
Item.Sort.TypeSystem.StringText
Item.Sort.ValueSystem.String2
Item.SystemNameSystem.StringTemplateTags
Item.TemplateTagsSystem.String
Item.TemplateTags.IsRequiredSystem.BooleanFalse
Item.TemplateTags.NameSystem.StringTemplateTags
Item.TemplateTags.SystemNameSystem.StringTemplateTags
Item.TemplateTags.TypeSystem.StringText
Item.TemplateTags.ValueSystem.String
Item.UserTestSystem.String
Item.UserTest.IsRequiredSystem.BooleanFalse
Item.UserTest.NameSystem.StringUser test
Item.UserTest.SystemNameSystem.StringUserTest
Item.UserTest.TypeSystem.StringUser
Item.UserTest.ValueSystem.String
ParagraphContainerSystem.Stringmaincontent
ParagraphContainerCountSystem.Int322
ParagraphContainerIsFirstSystem.BooleanFalse
ParagraphContainerIsLastSystem.BooleanTrue
ParagraphContainerSortSystem.Int322
ParagraphGlobalIDSystem.Int320
ParagraphHeaderSystem.StringTemplate Tags
ParagraphIDSystem.Int3210776
ParagraphImageSystem.String
ParagraphImageCaptionSystem.String
ParagraphImageClean
ParagraphImageHAlignSystem.Stringleft
ParagraphImageHeightSystem.Int320
ParagraphImageLinkAltSystem.String
ParagraphImageLinkCleanSystem.String
ParagraphImageLinkTargetSystem.String
ParagraphImageVAlignSystem.Stringtop
ParagraphImageWidthSystem.Int320
ParagraphModuleSystem.String
ParagraphPageIDSystem.Int328729
ParagraphTextSystem.String
Template:DesignBaseUrlSystem.String/Files/Templates/Designs/Dwsimple/
Loops
Item.Groups
Item.Fields
Item.UserTest
Item.UserTest.Value
TemplateTags() in code (Designs/Dwsimple/Paragraph/TemplateTags.cshtml). Remove before going live...