Search Results
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 |
DD4T (short for Dynamic Delivery 4 Tridion) is a light-weight framework which links SDL Tridion to your MVC web application architecture. It is available both for Java (Spring MVC 3) and .NET (ASP.Net MVC 3 or 4).
11
votes
3
answers
342
views
DD4T-how to read all the fields of a component?
I have faced two issues
since, here we cannot use <a tridion:href="@fields.internal_link"></a>, so how can we create a component link using DD4T template? … = null){
<p>@model.component.fields["quote_text"].Value</p>
}
Did I miss anything or we have some different approach for DD4T? …
6
votes
1
answer
299
views
DD4T-how to fetch linked components fields using razor
].Fields["code"].Value
}
I am getting "The given key was not present in the dictionary"
Normally, if I use this code I can fetch that youtube Url @Component.Fields.video.Fields.code
But when using dd4t …
6
votes
2
answers
358
views
DD4T-Linked Component Issue
I am using the below code to access the field values for a linked component.
In the foreach line, it throws error that
The given key was not present in the dictionary
I have checked the compo …
5
votes
1
answer
280
views
DD4T - How to fetch nested embedded fields in Razor?
My XML structure looks like this:
links
title
image
internal_link (Component Link)
headline
type
section
I want to fetch the field headline of internal_link.
I am using the following code:
< …
5
votes
1
answer
221
views
DD4T-how to use ResolveRichText() extension method?
I have some links within Rich Text which are not resolving. I found the ResolveRichText() extension method, but how can I use these extension methods in our views?
In the below code sub_copy is my Ri …