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
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
1 vote
1 answer
58 views

Can we use windsor castle IOC container in DD4T CD application?

We have few applications which are developed using DD4T 1.31 and uses Ninject IOC container. Currently we need to integrate another application which uses Windsor Castle IOC container with DD4T ...
Prasanna K Gollamudi's user avatar
2 votes
1 answer
102 views

DD4T 2.0 Dynamic presentation retrieval Error

I am using DD4T 2.0 with Asp.Net MVC 5 Application. I have created a page without component presentation and the page data are rendered properly. Then i have added a component presentation to the page ...
user1947's user avatar
4 votes
2 answers
156 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 ...
TheMiXeD's user avatar
3 votes
1 answer
102 views

DD4T - what is the recommended way to configure default controllers and actions?

In earlier versions of the framework, default controllers and actions were configured with <add key="Controller" value="TridionComponent"/> <add key="Action" value="Component"/> as ...
Dominic Cronin's user avatar
2 votes
0 answers
117 views

DD4T 2.0 XPM Integration

Looking at the classes in the DD4T.Mvc.ViewModels.XPM namespace, I see extensions for many XPM tags to markup regions and fields. I do not see Extensions for: Page Initalization Base JS includes ...
Chris Morgan's user avatar
  • 7,327
6 votes
0 answers
348 views

DD4T 2 Java Spring MVC web application "PageController" issue

I have created a bare DD4T 2 Java Spring MVC web application based on the DD4T Archetype by using following Maven archetype. mvn archetype:generate -DgroupId=com.example -DartifactId=mywebapp -...
Javed Khan's user avatar
3 votes
2 answers
267 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:/...
Chris Morgan's user avatar
  • 7,327
1 vote
1 answer
122 views

In DD4T, when should I use ModelControllerBase, and when TridionControllerBase

In learning DD4T, I have made reference to Albert Romkes' article DD4T Continued: rendering component presentations where he gives an example using TridionControllerBase. So far, most of the answers ...
Dominic Cronin's user avatar
4 votes
4 answers
354 views

How do I make use of DD4T's provided ViewModels?

I have been able to create a viewModel class which maps the fields of my schema using DD4T's "ViewModels" attributes: [ContentModel("Content", true)] public class ArticleViewModel { [TextField(...
Dominic Cronin's user avatar
1 vote
1 answer
189 views

DD4T 2 with CIL: Page Not found on startup

I am experimenting with DD4T 2. I'm getting the the latest alphas of everything from NuGet, and I've selected Autofac as my DI system. When I start the application with a request for /, I get an ...
Dominic Cronin's user avatar
2 votes
2 answers
531 views

Binary updates - issue with configuration - DXA

I am running a DXA 1.2 website with Tridion 2013 SP1. Binaries are being pushed out as DCPs. When I publish a new binary, everything seems to be working as expected i.e; item gets updated in the ...
Shiva's user avatar
  • 2,158
1 vote
0 answers
49 views

Russia Characters randomly getting replaced as diamond with a question mark �� [duplicate]

While rendering Russia content randomly we are getting diamond with a question mark ��. we have enabled the below encoding in meta tags УЗИ голов��ого мозга (нейросонография) – выявляет пороки ...
Prasanna K Gollamudi's user avatar
1 vote
2 answers
90 views

How does template unpublish MMC?

For some reasons, I customized DD4T template building block not to publish multimedia component. BinaryPublisher's "PublishItem" method publishes multimedia component, so I removed code and added ...
Hirokazu Shikata's user avatar
3 votes
1 answer
102 views

DD4T data bind deserialization exception on Page metadata

I'm using DD4T Java release v2.0.4. FasterXML Jackson package v2.6.4. When deserializing a Page JSON I'm getting the following error: com.fasterxml.jackson.databind.JsonMappingException: Can not ...
Mihai Cădariu's user avatar
3 votes
2 answers
2k views

Junk Characters displaying on webpage

I am working on Russian and Singapore language sites using Tridion with Dot net code base. There are some junk values displaying for some web pages in Live environment alone. I am unable to see that ...
Keerthana's user avatar
3 votes
2 answers
456 views

Issue with DD4T RestService WebApi with SDL web 8.1.1

I am trying to build the DD4T RestService API but getting error have downloaded the code from Link and followed the instruction as mentioned in the README.md. **Error** Could not load type '...
SumitK's user avatar
  • 913
2 votes
0 answers
444 views

Chinese character on WebSphere are not getting displayed

In our dd4t java application we are dispalying some content in chainese language selector. All chanracter are getting displayed properly if we are deploying application on Tomcat. But Chainese ...
Harish Sharma's user avatar
4 votes
1 answer
269 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 ...
Anindita Pal's user avatar
3 votes
0 answers
153 views

Set up of DD4T java with SDL Web 8

I have installed all the prerequisites expected in SDL Web 8 set up. *Microsoft Windows Server 2012 R2 (64-bit), *Microsoft SQL Server 2012 SP2, *IIS 8.5 (included with Web Server role), *Web ...
Javed Khan's user avatar
1 vote
0 answers
52 views

Smart Target 2014 with DD4T MVC.NET Application Not working

I am implementing SMartTarget on DD4T MVC.NET application as suggested here http://www.tridiondeveloper.com/dd4t-and-sdl-smarttarget-2014-integration code is below ClaimStore claimStore = ...
sameerjamal's user avatar
1 vote
1 answer
102 views

On DD4T, how to output URL of MMC which Resource Type is“Exernal”

I'm using Tridion 2013 SP1, and DD4T(Java version). I'd like to put binary file outside Tridion, and manage it as multimedia component. So I did following procedure. Create multimedia component. ...
Hirokazu Shikata's user avatar
6 votes
1 answer
448 views

DD4T 2.0 caching updates

On the DD4T website it states that caching has been improved in version 2.0. However I can't find anywhere what the changes are. I have been playing around with the CallBack settings and did not ...
Jeroen Suurd's user avatar
  • 1,660
7 votes
1 answer
245 views

Facing issue in DD4T 2.0.8 with WEB 8

I am working on DD4T 2.0.8 version and WEB 8 . i have installed the DD4T.Templates.2.0.8 and using DD4T.Providers.SDLWeb8 . the issue which i am facing is when hitting base.Page(pageId) its throwing ...
Hem Kant's user avatar
  • 2,208
1 vote
1 answer
191 views

DD4T 2.0 packages for SDL web 8 [duplicate]

What are the DD4T2.0 packages have to be installed in content delivery end while upgrading to SDL web 8 from SDL Tridion 2013 SP1?
SDLWeb's user avatar
  • 51
7 votes
2 answers
150 views

Error calling RenderComponentPresentationsByView after upgrading DD4T 1.31 to DD4T 2.0

We are trying to upgrade an existing .NET DD4T 1.31 website to .NET DD4T2.0. We have made necessary changes to compile the Website with latest DD4T 2.0 DLL successfully. Now I would like to test ...
Pankaj Gaur's user avatar
  • 15.9k
5 votes
3 answers
272 views

DD4T 2.0 | 404 | Error calling RenderComponentPresentations

I have setup DD4T 2 with MVC 5 following the blog - http://blog.building-blocks.com/technical-tips/getting-started-with-dd4t-1-31-asp-net-mvc4-and-sdl-tridion-2013. Though, I am facing issue while ...
Stark's user avatar
  • 393
5 votes
1 answer
150 views

unable to read dynamic components dd4t 1.3

Hi i have upgraded my project from tridion 2011 sp1 dd4t 1.24 to tridion 2013sp1 dd4t 1.3. after upgrade my code is working fine with static pages and reed component presentation but it throws null ...
meyank's user avatar
  • 838
3 votes
1 answer
102 views

NullPointerException after adding XPM to dd4t web site

I am trying to added the Experience Manager Web site extension to the our dd4t 2.0 website. I got this error when I request a page. java.lang.NullPointerException at java.net.URLDecoder....
Anindita Pal's user avatar
2 votes
2 answers
129 views

How to do Personalization on DD4T Java 2.0?

I have implemented a Web site by using DD4T Java version 2.0. I'd like to implement Profiling and Personalisation, which uses Target group. First I made a Target Group, and add it to a component ...
Hirokazu Shikata's user avatar
3 votes
1 answer
58 views

DD4T Site is not working after upgrade the Tridion CSM 2011 SP1 to 2013SP1

I have upgraded the Tridion CMS from 2011 SP1 to 2013 SP1. The CMS is succssfully upgraded and publication and content are display fine and also set the publishing. In the earlier version 2011,one ...
Priyank Gupta's user avatar
2 votes
3 answers
174 views

How to get different dimension resized Images(more than 1) from a Single Image during publishing if using DD4T 2.0 TBBs already in the CT

We do not want to resize the original Large image at application level by using the DD4T 2.0 Java classes because of performance issue; since the page contain lots of images we can not do this resize ...
Gulshan Thakur's user avatar
2 votes
1 answer
235 views

Error while building java dd4t2.0 with message "Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.5:sign (sign-artifacts)"

i am trying to do POC with dd4t 2.0 latest version and facing build error. Please help me to resolve this maven dependency, i am getting error while building this project [INFO] --- maven-gpg-plugin:...
Neetesh Narvaria's user avatar
2 votes
1 answer
153 views

How to implement custom 404 error page in dd4t using the framework of MVC in Java?

What should be the approach to implement custom 404 error page in dd4t using spring MVC as the framework where the error page is created in Tridion? The status code needs to be modified to 404 as ...
Shruti Seth's user avatar
1 vote
1 answer
84 views

XPM tag: ItemNotFoundException: Unable to find page by url

I have an issue with XPM tag Issue with <xpm:init> tag? and I by pass the issue by hardcode below to my page template just to test it out. The SDL Tridion button now show up and I could see my ...
Jon S's user avatar
  • 111
4 votes
2 answers
212 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 ...
Ravi Gadag's user avatar
4 votes
1 answer
286 views

DD4T versions for SDL Tridion 2013 and SDL Web 8?

For customers on SDL Tridion 2011 (GA), what versions of DD4T do they need for an upgrade to either SDL Tridion 2013 (SP1) or SDL Web 8. Also, does DD4T handle the new CIL/CIS architecture in SDL Web ...
Alvin Reyes's user avatar
  • 12.8k
2 votes
1 answer
231 views

DD4T 2.0 Java Spring MVC: How to fetch the component field value when it has multiple keywords as its values?

In ViewModel class I am not able to fetch the field values; the field has multiple keywords as its value (say keyword1 and keyword2). Below is the snapshot of the In ViewModel class I tried to use ...
Gulshan Thakur's user avatar
4 votes
1 answer
86 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 ...
Jon S's user avatar
  • 111
2 votes
1 answer
93 views

DD4T 2.0 with MVC 3

I want to configure DD4T 2.0 alongside Tridion 2013 SP1, wondering if it could be configured with MVC 3 and VS 2010 as I am not able to find any document reference to this. Please help with any guide ...
Stark's user avatar
  • 393
6 votes
1 answer
134 views

Error in UGC implementation in DD4T application

I am trying to fetch the UGC comments from the DB using the below code snippet var lstComment = CommentsRetriever.RetrieveComments("tcm:2033-4732-64", true, true, true, true, true, true, true, 100, ...
Manas.p's user avatar
  • 1,034
3 votes
1 answer
58 views

Need suggestion regarding URL structure change for SEO

In our project we are using 3 level deep folder structure to manage our FAQ pages. Those sub directories are defined on the basis of Category, defined by client. Also these structure helps editors to ...
Sayantan Basu's user avatar
3 votes
0 answers
133 views

getting null url on page controller dd4t 2.8 setup

Hi am tying to setup dd4t 2.8 mvc5 with visual studio 2015 framework 4.6.1 using this document facing issues. https://github.com/dd4t/DD4T.Core/wiki/1.0-Getting-started-with-.NET i am able to hit ...
meyank's user avatar
  • 838
5 votes
1 answer
68 views

Do DD4T 2 and/or DXA 1.2 support java servlet 2.5 instead of servlet 3.0

The current version of DD4T (ver 2.0.3) uses a lot of java servlet 3.0 features including dispatcher type, etc. However our deployment environment is WebLogic 11g, which uses the servlet 2.5. This is ...
cyu's user avatar
  • 51
3 votes
1 answer
159 views

License issue while accessign with domain

I am facing one common issue but in strange manner. It is coming only when I am accessing it with URL. with IP and port application is working fine. java.lang.RuntimeException: com.tridion.broker....
Harish Sharma's user avatar
1 vote
1 answer
61 views

DD4T 2.0 Java Spring MVC : Is it Correct that component must be published dynamically (dynamic CT) if using spring MVC application with DD4T 2.0 Java

Is it Correct or not that Every component needs to be published dynamically (using dynamic CT) if the component/content needs to be used in spring MVC application using DD4T 2.0 Java code. Because if ...
Gulshan Thakur's user avatar
6 votes
2 answers
202 views

DD4T RTF issue on websphere

We are facing issue in getting RTF text if we use any HTML tag in RTF(Simple text working fine in all conditions). case 1. when i use simple one level text field as RTF in schema and use below code: ...
Rahul Kumar Singh's user avatar
2 votes
1 answer
41 views

ServletOutputStreamWrapper modification in dd4t 1.31

As per example site available in DD4T 1.31, ServletOutputStreamWrapper in package org.dd4t.springmvc.view.model is using two functions which are available in servlet specifications 3.1. Our websphere ...
Harish Sharma's user avatar
2 votes
1 answer
62 views

DD4T GenericComponentFactory obsolete content

We are facing caching issue when we fetch Dynamic Component using DD4T’s getComponent function of GenericComponentFactory class. We are getting old data even after the content is updated and published....
Harish Sharma's user avatar
1 vote
1 answer
180 views

DD4T2.0 Java MVC - Not able to render the components in a Page JSP using view name defined as meta field in CT

Not able to render the components in a Page JSP using view name defined as meta field in CT. I am using the tag in the page JSP but when I hit the page url its looking for component jsp created ...
Gulshan Thakur's user avatar

1 2
3
4 5
9