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
15 votes
0 answers
261 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 ...
Josh Hebb's user avatar
  • 2,920
14 votes
5 answers
320 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 ...
Will Price's user avatar
  • 16.4k
14 votes
1 answer
556 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 ...
ToddB's user avatar
  • 952
13 votes
6 answers
2k 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 ...
Giu Do's user avatar
  • 847
13 votes
2 answers
276 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 ...
robrtc's user avatar
  • 10.2k
12 votes
2 answers
301 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 ...
Rob Stevenson-Leggett's user avatar
12 votes
1 answer
233 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 ...
Qas's user avatar
  • 583
11 votes
3 answers
342 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 ...
roop's user avatar
  • 555
11 votes
3 answers
491 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 ...
Dominic Cronin's user avatar
11 votes
2 answers
623 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 ...
Jonathan Primmer's user avatar
10 votes
3 answers
485 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 ...
Giu Do's user avatar
  • 847
10 votes
3 answers
341 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 ...
Rob Himself's user avatar
10 votes
2 answers
273 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, ...
Will Price's user avatar
  • 16.4k
10 votes
2 answers
295 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 ...
Will Price's user avatar
  • 16.4k
10 votes
1 answer
215 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:...
Jonathan Primmer's user avatar
10 votes
2 answers
168 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 ...
Jeroen Suurd's user avatar
  • 1,660
9 votes
2 answers
717 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 ...
user1453602's user avatar
9 votes
3 answers
430 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.
Nickoli Roussakov's user avatar
9 votes
2 answers
330 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 ...
Bjørn van Dommelen's user avatar
9 votes
2 answers
168 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 ...
Harish Sharma's user avatar
9 votes
1 answer
142 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....
Nickoli Roussakov's user avatar
9 votes
1 answer
813 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 ...
robrtc's user avatar
  • 10.2k
9 votes
1 answer
169 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 ...
Chris Eccles's user avatar
8 votes
3 answers
262 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: ...
Alvin Reyes's user avatar
  • 12.8k
8 votes
3 answers
294 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 (...
Kristof Camps's user avatar
8 votes
2 answers
425 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"> &...
Ajo Mathew's user avatar
  • 1,063
8 votes
2 answers
183 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 ...
Kristof Camps's user avatar
8 votes
2 answers
352 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 ...
johnwinter's user avatar
  • 14.3k
8 votes
2 answers
451 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 ...
Thijs's user avatar
  • 608
8 votes
2 answers
534 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....
Jonathan Primmer's user avatar
8 votes
2 answers
244 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 ...
Will Price's user avatar
  • 16.4k
8 votes
3 answers
231 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 = (...
Manish Mehmood's user avatar
8 votes
1 answer
322 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 ...
Dylan .. Mark Saunders's user avatar
8 votes
1 answer
261 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" ...
Qas's user avatar
  • 583
8 votes
1 answer
351 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....
Neil's user avatar
  • 6,698
8 votes
1 answer
164 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 ...
Mukesh Kumar's user avatar
  • 4,074
8 votes
1 answer
261 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 ...
t2013's user avatar
  • 183
8 votes
1 answer
130 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 ...
Dylan .. Mark Saunders's user avatar
8 votes
2 answers
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 ...
Boris T.'s user avatar
  • 651
8 votes
1 answer
143 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....
Boris T.'s user avatar
  • 651
8 votes
1 answer
95 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 ...
Alvin Reyes's user avatar
  • 12.8k
7 votes
5 answers
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....
Boris T.'s user avatar
  • 651
7 votes
2 answers
558 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 ...
ketan bhardwaj's user avatar
7 votes
2 answers
352 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 ...
TempTracer's user avatar
7 votes
2 answers
418 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 ...
user932's user avatar
  • 113
7 votes
2 answers
157 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,...
Will Price's user avatar
  • 16.4k
7 votes
2 answers
396 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 ...
ToddB's user avatar
  • 952
7 votes
1 answer
256 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....
Thijs's user avatar
  • 608
7 votes
2 answers
330 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 ...
Ravi Gadag's user avatar
7 votes
2 answers
477 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 ...
user807's user avatar
  • 71

1
2 3 4 5
9