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 71

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”)

8 votes

Using Tridion2012UI Experience Manager tags with Razor templates

Have you referenced the assembly (in the GAC) within your Tridion.ContentManager.config file? For example: <razor.mediator cacheTime="60" extractBinaries="true" adminUser="DOMAIN\AdminUser"> <na …
Jonathan Williams's user avatar
5 votes

Impact of Upgrading razor version 1.2 to 1.3

I have not had to upgrade the Razor mediator yet. However, with the recent memory leak fixes, in v1.3.3 I will probably be doing this soon. The upgrade should just be a matter of uninstalling v1.2 a …
Jonathan Williams's user avatar
5 votes

Publisher service not finding Razor Helper methods

Just in case anyone is still having this problem, I solved it by adding the NT AUTHORITY\SYSTEM account (the account that the Publisher Service runs under by default) as an impersonation user. This i …
Jonathan Williams's user avatar
2 votes

Make component link fields inline editable

If I understand your question correctly, then I think that this is covered in the Making subfields of embedded multivalue fields editable section of the online documentation (login required). Somethi …
Jonathan Williams's user avatar
2 votes

unable to get template type with id:8 while publishing

If your Publisher is out-scaled to another server (separate to your Content Manager server), then you will also need to install, and configure, the Razor Mediator on that server too. It is also worth …
Jonathan Williams's user avatar