We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [dd4t]

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

Filter by
Sorted by
Tagged with
14
votes
5answers
313 views

Modelling one-off pages with DD4T

My web application has a number of one-off pages, by which I mean a page whose contents does not follow a standard layout, and the content does not fit a standard schema. These are typically simple ...
14
votes
1answer
541 views

DD4T with MVC 5 and areas

So it looks like there are at least a couple people out there who have used DD4T with MVC5. Has anyone used it with MVC 5 Areas though? What were the issues? It seems like the additional area routes ...
13
votes
6answers
1k views

Attempt to load JVM failed on native side

We are working in a DD4T project using TFS as source control, today when I opened the solution I had this error message : My colleague had this one yesterday, he restarted his computer and it fixed ...
13
votes
2answers
265 views

List of items in DD4T

I would like to get a list of news items from the Broker in DD4T. I created a Controller to query the Broker and build a list of items using my own Model. The View iterates over the list and deploys ...
13
votes
0answers
227 views

Protected content strings in JSON producing DD4T TBB(s)

I think we've stumbled into an edge-case issue with the JSON producing DD4T TBB(s), so I am looking for some input / confirmation. We have a Schema, which has a simple text-field and a multivalued ...
12
votes
2answers
287 views

Can a single DD4T project be used against multiple publications?

The traditional way to display a different language or content for a site in Tridion is to have the web publication publish its website in a different folder. DD4T has a Publication Id that is set in ...
12
votes
1answer
229 views

Tridion UI 2012 Session Preview Web Service not maintaining preview in browser

I am struggling to get Tridion UI 2012 Session Preview working on a DD4T website. I view the website in a browser, click the SDL Tridion logo to enter 'edit' mode, then start editing some content on ...
11
votes
3answers
331 views

DD4T-how to read all the fields of a component?

My component has fields like (text,image,componentlinks). I have faced two issues since, here we cannot use <a tridion:href="@fields.internal_link"></a>, so how can we create a component ...
11
votes
3answers
443 views

DD4T good practice: how to render component presentations based on ViewModels

I have been following the guidance given in Katarina's blog post about using ViewModels in DD4T. However, in spite of the fact that she only uses @Html.Render(cp) in her examples, I was tempted to use ...
11
votes
2answers
599 views

Rendering a single component presentation in DD4T

I have a page with several component presentations using the component template 'Promotion'. In my page view '_Page.cshtml' I wish to write out all component presentations using this template and for ...
10
votes
3answers
477 views

How do I resolve a 'No PageFactory configured' error in DD4T?

We decided to create a "homemade" DD4T template to have the Tridion API & an ASP.NET MVC 4 website (the current template contains contains an ASP.NET MVC 3 website) I added /lib & /config ...
10
votes
3answers
338 views

Implementing SmartTarget in DD4T

Implementing SmartTarget on a development VM, and I've discovered that there's a surprising lack of information about how to use SmartTarget inside of DD4T. I understand that the Razor engine is ...
10
votes
2answers
262 views

How do I hook up DD4T.ContentModel.IComponent.Multimedia.AltText to my metadata field value?

I am using DD4T (1.26.x) and ASP.NET MVC, and just noticed the useful looking AltText property on DD4T.ContentModel.IComponent.Multimedia. I have a metadata field alt_text on my multimedia component, ...
10
votes
2answers
286 views

Concurrency problems with DD4T Binary Module

If I clear the file system binary cache and request a binary from my (Tridion 2013SP1 ASP.NET MVC5 DD4T) web application with a number of concurrent users, I get errors related to the file being ...
10
votes
1answer
193 views

DD4T: Date component field to DateTime

I have a date field in a tridion schema which, when published using the standard DD4T templates, becomes the component field: <Field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:...
10
votes
2answers
167 views

SmartTarget promotions not considered part of region in STRI scenario

I am working on a SmartTarget module for the SDL Tridion Reference Implementation (although I guess this issue would also be applicable for DD4T). After retrieving the promotions from SmartTarget, it ...
9
votes
2answers
613 views

Difference between DD4T and CWA

Content Web application is out box feature available in SDL Tridion, which allows developer to build application using MVC framework using JAVA, Same is also possible using DD4T Java. As far as I ...
9
votes
3answers
421 views

What are the options for integrating SmartTarget if using MVC or DD4T?

If I am using DD4T or MVC framework, what are the options integrating smarttarget? Obviously we won't to be able to use the TBBs.
9
votes
2answers
311 views

Resolving of binary links in rich text fields by DD4T

We're using DD4T version 1.31 as the foundation for our MVC5 project and I've run into an awkward situation: When links in a rich text fields get resolved this works perfectly for component links but ...
9
votes
2answers
165 views

content not changing in dd4t

We have implemented DD4T (1.31) with Java Spring MVC. We are facing a problem while making any changes to content. After publishing modified content, the application is not picking up new content ...
9
votes
1answer
140 views

Why is DD4T markup rendered multiple times

We noticed that when debugging our MVC5 DD4T application the page controller gets executed more than once. The same breakpoint is hit multiple times and all component presentations get rendered twice....
9
votes
1answer
784 views

Navigation with DD4T and MVC

What is the best approach for building navigation with DD4T and ASP.NET MVC? From Tridion I was thinking to publish the Structure Groups as XML, including URIs for the Pages, and then in the MVC ...
9
votes
1answer
164 views

Abstracting the ambient data framework to a webservice

I have a DD4T site that we are trying to implement using a WCF service provider model so that the content delivery is separated from the website. We are using Tridion 2011 SP1. We have created a WCF ...
8
votes
3answers
255 views

What does a DD4T BluePrint look like?

I'm interested in this question: Can a single DD4T project be used against multiple publications? How does this approach of using the same project for multiple sites translate to: Functionality: ...
8
votes
3answers
288 views

DD4T - how to retrieve/use publication-depending values

in the webform era, we implemented (mostly) the following structure: one .NET application (and a corresponding app pool) for all local websites in the root of the app, we had a global web.config (...
8
votes
2answers
410 views

Website displays outdated content when using Object Cache

We have an application that uses DD4T and it saves few files to Broker DB. We have observed under settings cd_storage.xml Object Cache is enabled(code below). <ObjectCache Enabled="true"> &...
8
votes
2answers
181 views

Page preview in CM of DD4T page

we will start with a DD4T implemenation soon (Tridion 2011 SP1, MVC4, .NET 4.0), but one (hard) requirement from the client is that the preview of a page in Tridion CM context is working. The default ...
8
votes
2answers
343 views

DD4T and deeply nested components

We've an implementation where we are using the DD4T framework. Some of our pages contains up to 5 levels of nested components: Page Component embedded into page (with CT 'blah') Component ...
8
votes
2answers
432 views

DD4T No PageFactory configured

I have created a MVC 4 Application and followed the setup procedure for DD4T. Once I run my website it gives off an error "No PageFactory Configured". I've read the issue about this problem on this ...
8
votes
2answers
519 views

DD4T: GetComponents: Index was out of range. Must be non-negative and less than the size of the collection

I have the following code in my controller: string[] componentIds = new string[] {"tcm:26-123","tcm:26-456", "tcm:26-789"}; ComponentFactory cf = new ComponentFactory(); var components = cf....
8
votes
2answers
232 views

How to access the current page from within a DD4T component view

Due to an irritatingly structured HTML design, I need to (in my 2011 SP1 DD4T .NET web application) be able to access certain Component Presentations on a page from within a Component view, to embed ...
8
votes
3answers
215 views

How to add values to an optional fields through Experience Manager for DD4T site

I have a page which has optional field called "SubHeader" that does not contain any text. I want to add the value of that field using experience manager. Here is my code string SubHeader = (...
8
votes
1answer
315 views

Storage config setting for XML files to DB quesiton

We're using SDL Tridion 2011 SP1 HR1, DD4T 1.25.0.0 (.Net website with IIS) We wanted to load a (navigation) XML file from the filestore if it existed (as a debug override) and get it from the ...
8
votes
1answer
248 views

DD4T The “MetaQueryValues” parameter for IComponentFactory.FindComponents()

I am trying to retrieve all Components which satisfy a certain schema, and i have chosen the method "IComponentFactory.FindComponents" to do this. This method accepts an "ExtendedQueryParameters" ...
8
votes
1answer
333 views

404s appearing in console when loading XPM

When we load our pages in XPM the browser console appears to be showing several 404s for resources: http://localhost/SDL/Common/ApplicationHost/ApplicationHost/Views/Frame/cultures/frame.en-US.js?1.0....
8
votes
1answer
150 views

On an Experience Manager website the UI loads but the component is not editable

I am implementing experience manager on my DD4T Website. I am able to edit Page metadata content but not Component content in Experience Manager. Below is the HTML rendering on my page: <section ...
8
votes
1answer
250 views

Update Preview weird behaviour in DD4T

We are trying to implement SiteEdit on a DD4T enabled website and while trying to edit the content using SiteEdit we are facing a weird problem. The changes in the preview are updated but only after ...
8
votes
1answer
127 views

DD4T RTF images pre-pended with incorrect path

We are using DD4T on SDL Tridion 2011 SP1 HR1. When presenting images from within a RTF we note that the root path is added twice to the image path/filename. We have configured the web app under a ...
8
votes
2answers
1k views

Problem with runing locally project with tridion and DD4T- unable to load dll 'xmogrt': the specified module could not be found

I have two new question about my local configurations. Now, I am trying to configure a new machine and I am facing two new problems. Scenario: 32bit local machine and 64bit server installed Java ...
8
votes
1answer
139 views

How to map TridionPageProvider.PublicationId to web.config[appSettings.PublicationId]

For multi-publicational purpose I need all publications to override some items in appSettings area of the web.config file of my web application. Is there a clever way that my TridionPageProvider....
8
votes
1answer
85 views

DD4T CMS Item Look-up Feature

Does DD4T include a way to look-up Tridion Content Manager (tcm) URIs by item name or WebDAV? The use case is for referencing a given Category or Component Template without hard-coding CMS ...
7
votes
5answers
2k views

Problem with runing locally project with tridion - Could not initialize class StorageManagerFactory

I have a problem, with running my Tridion installation locally. Info: - I have installed Tridion on 64bit server - My local machine is 32bit - On my local machine I have installed jre1.6 and jdk1.6....
7
votes
2answers
525 views

DD4T site set up issue | Tridion 2013 SP1 |Could not load file or assembly 'Tridion.ContentDelivery,

I am trying to set up site using below installer. DD4T.1.31-MVC4-Tridion2013-VS2012-VS2013. However i am getting an error after i am browsing Site hosted on IIS 8.0 Could not load file or ...
7
votes
2answers
346 views

DD4T configuration

We are planning to move to using DD4T for a new website. Currently the cd_deployer is in Linux. We have the following questions: Do we need to switch cd_deployer to Windows server while using DD4T? I ...
7
votes
2answers
406 views

Header/Footer in DD4T websites

I need to build header/footer in a DD4T based website using Tridion 2011 SP1. My proposed approach is to publish the header Component dynamically In the controller/action, write the broker API to ...
7
votes
2answers
155 views

Problems with multiple TBBs using same parameter schema

I have a DD4T Component Template which contains 2 TBBs: Publish Binaries For Component Generate Dynamic Component Both of these have the DD4T TBB parameters attached, and in this particular template,...
7
votes
2answers
371 views

DD4T and ASP.net Custom Error always throws a warning

I have my project setup so that when my DD4T controllers throw an error they get redirected to an Error.aspx page. This page is setup in tridion and published. The redirect and loading of that page ...
7
votes
1answer
255 views

DD4T Xml Serialization Error

Can you help me out with the following error: [InvalidOperationException: <page xmlns=''> was not expected.] Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderPage....
7
votes
2answers
318 views

How do we can implement Custom controller for business logic and ViewModel seperation

I have following requirements for DD4T. I want to write custom business logic for my components. I don't want to write business logic in my component views, as it will violate the mvc principles I ...
7
votes
2answers
471 views

How can I pass a model to the view when I use DD4T?

I use dd4t and mvc. And I want to make queries from the controllers, make the components to view models and pass the model to the views. So when I try to pass the view model a get exception : "The ...