Questions tagged [dd4t]

DD4T (short for Dynamic Delivery 4 Tridion) is a light-weight framework which links Tridion to your MVC web application architecture. It is available both for Java (Spring MVC) and .NET (ASP.Net MVC 3).

DD4T exposes the pages and components that you publish from Tridion in a simple object model, allowing you to do 'templating' in MVC views. Instead of writing Tridion templates that generate Java/JSP or .NET code, you can create an MVC web application in your favorite IDE, using Tridion components and pages as your model.

14 questions
13
votes
1 answer

Tridion 2011 with DD4T - no MetaData fields available on Component entity

I'm using Tridion 2011 (with DD4T, feeding an MVC webapp). It seems that MetaData fields for Multimedia Components (specified on the Metadata tab of my Images Schema in Tridion) are not populating the corresponding property on the DD4T "Component"…
Qas
  • 233
  • 1
  • 3
10
votes
2 answers

How to use SiteEdit in DD4T in Tridion

Can anyone direct me on how to use SiteEdit specific syntax or tags in the Razor template in DD4T code? I have seen Site Edit related classes in it, but could not understand how to use SiteEdit tags in the view where there were some syntax similar…
Guestuser1122
  • 403
  • 1
  • 4
  • 10
7
votes
1 answer

Tridion 2011 with DD4T - UI 2012 settings does not seem to use BluePrint Context

I am trying to iron out a couple of issues with UI2012 in my app and cannot seem to get my Components to be editable in the right context. I always have to click "Edit this component everywhere" or "Localize this component" in order to edit…
Rob Stevenson-Leggett
  • 35,279
  • 21
  • 87
  • 141
7
votes
3 answers

SDL Tridion 2011: Dynamically fill or add a metadata field using a C# TBB

Is it possible to set the value of a metadata field dynamically from a TBB? Or is it possible to dynamically add a metadata field that does not necessarily exist on a schema from a TBB? The reason I want to do this is that I am using DD4T and I want…
Rob Stevenson-Leggett
  • 35,279
  • 21
  • 87
  • 141
5
votes
5 answers

DD4T Default route not working

I am using the DD4T framework with SDL Tridion 2011 and ASP.NET MVC4 I have some non-DD4T Controllers and Views which I want to use, however I am getting a 404 error when I try to go to these urls. This is my route table public static void…
Rob Stevenson-Leggett
  • 35,279
  • 21
  • 87
  • 141
4
votes
5 answers

Error while retrieving Categories from XML in Tridion (DD4T - MVC)

In a DD4T View I am trying to pick the value of Path of the keyword inside the Category. foreach(var category in @Model.Categories) { if (category.Title.Contains("Taxonomy")) { str = category.Keywords[0].Path; …
Meenakshi
  • 599
  • 3
  • 13
3
votes
1 answer

How to enable siteEdit for Embedded Fields when using DD4T?

I am trying to enable siteEdit for the Embedded fields for the pages implemented using DD4T. I am able to find the methods and tags which helps to enable it for normal methods and component presentation but not for Embedded Fields and at the…
user1357019
  • 215
  • 2
  • 7
3
votes
2 answers

SiteEdit never stops loading the components and schemas

We have implemented SiteEdit with DD4T using SitEdit 2009 SP1 for Tridion 2011 SP1 for the first time and we are getting a message from SiteEdit that "Loading components and Schemas" and it is giving this message constantly and we are unable to edit…
Guestuser1122
  • 403
  • 1
  • 4
  • 10
1
vote
1 answer

Serialization error while publishing the content using DD4T TBB's

We rebuilt the DD4T TBBs from source control and deployed them to tridion using TCMUploadAssembly.exe. We Created a simple component with a multimedia link field ,a component link field and a text field and populated the values. Then created a CT…
1
vote
2 answers

SiteEdit DD4T Load Error

I am facing an issue while loading the Page created using Razor Template using DD4T. I have published a page to content broker using DD4T Templates and I scripted a Razor template page using DD4T. I added the SiteEdit specific coments in the Razor…
user1357019
  • 215
  • 2
  • 7
1
vote
5 answers

Could not initialize class com.tridion.storage.StorageManagerFactory

I am implementing DD4T MVC3 with Tridion 2011. I have implemented it and it worked properly till last Friday. I am able to get the page model and present it using Razor view. But today after the weekend when I tried to run the same application I…
user1357019
  • 215
  • 2
  • 7
0
votes
1 answer

Deployer extension to fetch component fields in tridion

I am writing the deployer extension to read the component fields in Tridion using java code. I am able to get the component presentation content, but it is in compressed format as i am using dd4t templates in CMS. Below is the string i am…
Gopal
  • 1
  • 2
0
votes
1 answer

DD4T - How to access Publication Metadata Fields?

On my project I have publication and page metadata which is being consumed in the view. For example, my page metadata looks something like this in the view: @model DD4T.ContentModel.IPage .... @if (Model.MetadataFields.ContainsKey("browserTitle"))…
user3491169
-1
votes
1 answer

How to use DD4T to get content from Tridion and publish using MVC3?

I am creating a new application regarding publishing content from Tridion to web using DD4T and MVC3. Can anyone did something like that or have an idea about the same so please it would be of great help to me if one can provide the help. Thanks in…
Aquarius24
  • 1,806
  • 6
  • 33
  • 61