Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 258

The Razor mediator for Tridion is an alternative template engine. It provides the power of .net and the well documented Razor syntax. Using the syntax it's possible to access Component fields and template package items. Examples of use are: @Component.Fields.title, @Component.Image.alt_text or @Fields.Metadata.publish_date.ToString(“dd/MM/yy hh:mm”)

3 votes
Accepted

Razor mediation function throwing invalid arguments error

Use Models.ComponentModel instead of Component. check sample below @functions { public string DoSomethingWithThisComponent(Models.ComponentModel component) { return component.Title; } …
Raj Kumar's user avatar
  • 5,867
5 votes

unable to get template type with id:8 while publishing

Razor seems to be registered with different id or its not installed at your CMS server, but template expecting it with Id:8 Check your Tridion.ContentManager.config, it should be like below: <ad …
Raj Kumar's user avatar
  • 5,867