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 questions only not deleted user 455

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

1 vote
2 answers
287 views

How to fetch an Multi value Embedded Schema Image field using razor?

I would like to fetch an imagefield from the multivalue Embedded Schema Field. Here is my code. @foreach(var banners in Fields.Banners) { @if(banners.RDBannerSchema.WebBannerImage.ID !=null) …
6 votes
2 answers
211 views

unable to get template type with id:8 while publishing

I'm Using Razor Mediator and when I publishing i'm getting unable to get template type with id:8 while publishing.
1 vote
3 answers
900 views

How to assign a Tridion Component Link to href using Razor

I have a Component that contains a field as Component Link. I would like to assign a hyperlink to that Component. What is the equivalent of <a tridion:href="TCMID">text</a> for a Razor Template? My P …
3 votes
1 answer
247 views

How to template a Page Directive in Razor

I would like to assign the UTF-8 as My page encoding for Arabic Language using the below code <%@page pageEncoding="UTF-8" %> But I got error message