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
4
votes
1answer
207 views

How to fix Java heap space error?

In our .NET DD4T webapplication (using the 2013 SP1 provider) we sometimes get the following error: InnerException: Stacktrace: java.lang.OutOfMemoryError: Java heap space at java.util.Arrays....
4
votes
1answer
412 views

DD4T - Generate DD4T.Templates.merged.dll using ILMerge manually

I modified the code of DD4T Templates projects and I generated all the dll files. The next step is to join it in DD4T.Templates.merged.dll using ILMerge. I see in the project a file to build the ...
4
votes
2answers
308 views

How to include model in my razor view in DD4T

I am trying to add reference of my model in the _layout or component view but for latter it's saying two models are not allowed since there is already - @model IComponent And when I try to add a ...
4
votes
1answer
109 views

Virtual directory and Tridion

We are using Tridion 2011 SP1 and have a DD4T website hosted under a single site in IIS as a subdirectory to cut cost. Due to the subdirectory we have to specify Publication URL '/xyz' in the ...
4
votes
1answer
102 views

Update Preview inconsistent behaviour

I have a DD4T based website in Tridion 2011 SP1 using XPM. When I update any content and click update preview it sometimes updates the preview with the new content and sometimes doesn't. Also it is ...
4
votes
1answer
131 views

Error occurres when get binary from broker DB by BinaryDistributionModule(DD4T)

I'm implementing DD4T, and publish binary files to broker DB. To get binary from broker DB, I implemented "BinaryDistributionModule". But following error occurred when request a WEB page. ...
4
votes
2answers
176 views

BinaryDistributionModule of DD4T not using custom PublicationResolver

We're using a custom PublicationResolver to serve content from multiple publications out of a single IIS web application and this setup is working fine for pages. When I request a binary through the ...
4
votes
1answer
288 views

How can I check if a linked Component is first in the list?

I have the following syntax in a template using Razor Mediator: <tcdl:ComponentField name="Fields.contact_nav"> @foreach (dynamic link in Fields.contact_nav.links) { @if(link....
4
votes
2answers
354 views

DD4T & Broker API gives "Cannot open connection" error?

I'm getting the error listed below from a DD4T-enabled site I'm trying to work. I've verifed my DB connection info & it looks correct. Is this a license issue? Is the "Cannot open connection" ...
4
votes
1answer
306 views

DD4T + OData service

I'm using DD4T and have some XML being generated which I can now query from the OData service. Unfortunately the DD4T content comes back serialised into the content property of the response. This ...
4
votes
1answer
151 views

Intermittent broken DXA JSON output during publishing

Below are our environment and web application details: SDL Tridion 2013 SP1 HR1, Oracle DB, DXA1.2 We are facing an intermittent error “exception while deserializing into CP” in the publisher log ...
4
votes
2answers
209 views

How to Upgrade DD4T 1.31 to DD4T 2.0 (asp.net)

I have few question regarding DD4T Upgrade. Below is my current environment CMS : SDL Tridion 2013 SP1, DD4T : 1.31 (asp.net) Server language : Asp.net MVC4 I want to know, can I upgrade my ...
4
votes
1answer
128 views

text disappear when trying to edit linked components field with Experience Manager for a DD4T site

I am trying to edit the content of a page using experience manager in Tridion 2013 SP1 for a DD4T site. its working fine with parent component fields but when I tired to edit linked components fields, ...
4
votes
2answers
245 views

DD4T publishing error: ComponentPresentationBuilder: exception while deserializing into CP

I have a DD4T page that I'm publishing out of Tridion 2013sp1. I'm using the .net version of DD4T. My page templates are using this source in the compound template: <CompoundTemplate xmlns="...
4
votes
4answers
200 views

DD4T can't find pages on server but can local. (404)

When running DD4T on my local development machine I can access the pages that I have published. www.mywebsite.com - Works www.mywebsite.com/index.html - Works www.mywebsite.com/aboutme.html - Works ...
4
votes
1answer
276 views

TridionPageProvider.GetContentByUrl throws null reference exception How do we specify the CD server?

I am using DD4T to implement SDL Tridion. I have 2 servers (in Datacenters) Content Management (Server A) Content Delivery (Server B) I have created a DD4T template in my local machine. In the ...
4
votes
3answers
215 views

DD4T MVC 4 Template install Error 1001

I am trying to run the DD4T template installer on a development Tridion environment. The installer always errors our though with a Error 1001. The error is about a transaction not getting committed. ...
4
votes
1answer
99 views

How to read embedded Schema values in DD4T Java?

We have a Schema like this: SchemaChild of type Embedded with two fields; A (text) and B (text) SchemaParent of type Content with one Field C (SchemaChild) as a multi-value field. How can I iterate ...
4
votes
1answer
221 views

Enable SiteEdit for Dynamic Component Fields in SDL Tridion 2013

I am retrieving my dynamic Component from the Broker and using its field in my view (cp view), to display content using DD4T and MVC4. Now, I am facing difficulties while trying to setup SiteEdit for ...
4
votes
1answer
72 views

Not able to update url of a external url inside Experience Manager

I am not able to update the url of a external url field. Can anyone suggest what I am missing here? Here is the code I am using: @Html.SiteEditField(Model.Component, Model.Component.Fields["Link"]....
4
votes
1answer
455 views

The given key was not present in the dictionary

I am trying to do a ContainsKey check for a field in a razor view that is sometimes not present. Even when I have the ContainsKey if statement in my code I get the The given key was not present in ...
4
votes
1answer
84 views

Upgrading a DD4T website from MVC3 to MVC4

We're considering upgrading an existing DD4T website from .NET MVC3 to .NET MVC4. We understand that we need to update our references to the MVC4 DD4T package to get this up and running, but I was ...
4
votes
2answers
277 views

Tridion Razor View nested foreach

I am creating a Page in SDL Tridion that allows producers to modify the robots.txt file for our site on the fly without requiring a code deployment. I have the following Schemas: Robots that ...
4
votes
1answer
136 views

Getting a KeyNotFoundException when building ViewModel

In ComponentController.cs in the DD4t.Web.mvc project I am getting the following error: KeyNotFoundException was unhandled by usercode The given key was not present in the dictionary. The Exception ...
4
votes
2answers
154 views

How to put Multiple values with Multiple Schemas into DD4T-2-Java

Inside Tridion 2013-SP1 with DD4T template 2.0.8 I have a Schema with one Field: Foobar of Type Component Link Allow Multiple Values Allowed Schemas {Foo, Bar} Within Java DD4T 2.0.4 created a ...
4
votes
1answer
263 views

DD4t 2.0 Java: How to get BaseViewModel populated for Dynamic Components

I am calling ComponentPresentationFactory.getComponentPresentation(componentURI, templateURI) method to retrieve a dynamic component in my Page Controller. The Component Presentation object returned ...
4
votes
1answer
82 views

Issue with <xpm:init> tag

I'm new to this Tridion and DD4T development and I need some help on XPM. We're currently doing a POC using DD4T version 2.0.2. We are trying to implement inline html editor using XPM tag. The ...
4
votes
1answer
819 views

Embedded field in embdded field is not mapped to view model on DD4T 2 Java version

On DD4T 2 Java version environment, I created view model class. But, when there is a embedded field in another embedded field, 2nd embedded field values are not mapped to view model instance, and I ...
4
votes
1answer
133 views

DD4T - No proxy type error

Getting an intermittent YSOD error on our DD4T website: There is no proxy type for class java/sql/Timestamp. Refreshing the page clears the error and our pages work normally. I'm guessing this is ...
4
votes
0answers
86 views

Facing issues while rendering some special chars | DD4T.Net 1.3 | Tridion 2013Sp1

We are facing issues while rendering special characters on live site after upgrading CMS from 2011 SP1 to 2013 sp1 and DD4T 1.24 to DD4T 1.3. We are getting ã© instead of é on rendered page where as ...
4
votes
0answers
188 views

An item with the same key has already been added while accessing pages in DXA

Seeing the following generic issue when we access a page for the first time in DXA. Subsequent requests are able to render the content properly. 2016-07-16 00:24:24,680 [9] ERROR - Internal Server ...
4
votes
0answers
231 views

How to deserialize component data to model instance on DD4T Java version 2

I'm implementing DD4T Java version 2. I saw following article. http://blog.trivident.com/2014/12/introducing-dd4t-version-2-0-for-java/ According to this article, it's possible to deserialize ...
4
votes
0answers
435 views

Unable to retrieve TempData value [closed]

I am using DD4T for tridion with mvc.net application. I am not able to fetch Tempdata value in the controllers action after redirecting it. The code is as below This is the login code where on ...
3
votes
2answers
202 views

DD4T.Templates.Base.BaseComponentTemplate Serialization

Has anyone written a JSON serializer for this? Seems a mistake to have hard-baked in the serialization functionality within this class, specificially to XmlSerializer, but I'll stand corrected as to ...
3
votes
2answers
138 views

Arabic characters in Tridion output as HTML character references

Just noticed on our clients 2013 SP1 DD4T site that Arabic translated content is being rendered in the browser as HTML character references. So when you view source, لماذا عليك is <title>&#...
3
votes
4answers
439 views

Intermittent ClassNotFoundException

We are running a .Net website based on SDL Tridion 2011 SP1. We are getting intermittent ClassNotFoundException. Below is the stacktrace from the exception. com.tridion.broker.querying.Queryjava.lang....
3
votes
2answers
190 views

Not able to edit the component in Experience manager

I am not able to edit the component in Experience manager, but I can edit in CME. Also I can edit the page. But when trying to edit the component it shows the following error: Editing Disabled: ...
3
votes
2answers
282 views

Getting Components By Schema Name

I am trying to get the List of Components using the Schema ID. I am doing following steps. var queryParameters = new ExtendedQueryParameters(); queryParameters.PublicationId = publicationID; ...
3
votes
2answers
157 views

Does SDL Tridion Sites 9 accept DD4T XML model?

Currently we have a .NET webapplication which still uses DD4T 1.31. The CMS version is currently SDL Tridion 2013 SP1. We want to update to SDL Tridion Sites 9. Is it possible to update DD4T but stay ...
3
votes
3answers
248 views

Chinese encoding issue in Broker

Have a Chinese encoding issue on my DD4T site: My MVC application already supports the Chinese language for another site - Hong Kong, so I'm pretty confident its not an ASP.NET-side problem. For ...
3
votes
2answers
222 views

Can I use DD4T Framework on a C# based Windows service?

We have a Windows service running on CD Server, which is scheduled to run daily. This service basically does some database interaction and send details in email to registered users. An earlier mail ...
3
votes
2answers
276 views

DD4T: Attempt to load JVM failed on native side

I am using Tridion 2011 with DD4T on a 64 bit environment. I have hosted the CM on Server 1, CD on Server 2 and DD4T app on Server 3 with CM and Broker DB on Server 4. Whenever, I am trying to hit any ...
3
votes
2answers
241 views

DD4T + OData using Java

We are planning to use DD4T using java for some POC. Just wanted to know how DD4T consumes odata service? Do we need any wrapper while using DD4T with java.
3
votes
1answer
256 views

Is it possible to expose Tridion page content as JSON, for React application?

I would like to render my pages in the browser using a JavaScript framework like React. So far, all our Tridion content is rendered as HTML on the serverside using JSP. I can imagine it is possible to ...
3
votes
2answers
256 views

DD4T 2 Java and Maven Build Failing

I'm trying to Build DD4T 2 Java, using the following POM's and Maven (with version changed from 2.0.6-SNAPSHOT to 2.0.5. I am using the 'cd-8.1.0' profile for the CIL / CIS dependencies POM - https:/...
3
votes
1answer
449 views

How to get Binary Metadata in DD4T?

How do I access the Binary Metadata using DD4T? Update: My Multimedia Component is published to the filesystem. I believe that with DD4T I need to publish the MM Component to the Database to be ...
3
votes
1answer
295 views

How to retrieve binary content using DD4T?

We're currently storing PDF files as binaries in Tridion (SDL Tridion 2013 SP1) and using DD4T, we can retrieve these files and display them as a list of links. What I want to know is if it's ...
3
votes
1answer
258 views

Additional route values in RenderComponentPresentations

In our DD4T project, we have a need to pass certain contextual information from the Page view to the Component Presentation view - specifically, there are classes nested within the Component ...
3
votes
1answer
57 views

Can we add Preview Functionality in CME for DD4T based Application

We see json Data if we preview any component Presentation, Can we have same preview functionality as we had in web form based application ?
3
votes
1answer
90 views

LastPublishedDate incorrect in DD4T.ContentModel.Page

We are using DD4T 1.31 in our MVC Application. While rendering the LastPublishedDate through DD4T.COntentModel.Page we are getting default value i.e. 01/01/0001 for the Tridion Page. When we checked ...

1 2 3
4
5
8