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
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
5 votes
2 answers
253 views

DD4T resolvelink for a page not working

I am trying to get the link of a Page based on tcmUri: var linkFactory = DependencyResolver.Current.GetService<LinkFactory>(); var link = linkFactory.ResolveLink("tcm:199-279055-64"); The Page ...
Giu Do's user avatar
  • 847
7 votes
1 answer
638 views

DD4T: Rendering component based on its ID

I am looking for a way to render a Component which is published, but not part of the page (IPage object) that DD4T renders. What I tried: @Html.Action("GetView","Component",new ...
Giu Do's user avatar
  • 847
7 votes
1 answer
396 views

DD4T Caching causing problem, and changes are reflected even after exiting SiteEdit though the changes were not completed by "Finish Editing"

We are trying to implement SiteEdit on a DD4T enabled website. If we make changes to content and exit SiteEdit by selecting Cancel Editing the changes that were made are still reflected on the pages ...
t2013's user avatar
  • 183
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
4 votes
1 answer
109 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 ...
user734's user avatar
  • 227
4 votes
1 answer
137 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 ...
user1429635'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
0 votes
1 answer
168 views

Experience Manager and Session Preview DB issue

I'm running SDL Tridion 2013 with Experience Manager and DD4T. Everything works fine except for the Session Preview. The odd thing is when I check the Session Preview DB for the CPs that were just ...
Piti Itharat's user avatar
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
2 votes
1 answer
376 views

Enable DD4T Logging - Page Not Found

I'm getting a "Page Not Found" error from DD4T, but I'm not sure why. How do I enable logging for DD4T? I'm getting the other CD log messages, but I don't see anything for DD4T.
Mr Smith's user avatar
  • 2,015
4 votes
2 answers
356 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" ...
Mr Smith's user avatar
  • 2,015
2 votes
1 answer
285 views

Java.Lang.Object cannot be converted to type Com.Tridion.Meta.PageMeta

We are using DD4T with MVC 4 ASP.net in our application. If i restart my IIS and hit the page below error is thrown on page. And if i refresh the page again, the error is not appearing and page is ...
user678's user avatar
  • 21
3 votes
2 answers
405 views

How to enable SiteEdit for component link fields in DD4T?

Could anyone help to enable SiteEdit for ComponentLink Fields in DD4T? I am fine with direct and embedded fields. For component link fields, I am trying like below. But this is not working for me. ...
Jey's user avatar
  • 911
5 votes
1 answer
221 views

DD4T-how to use ResolveRichText() extension method?

I have some links within Rich Text which are not resolving. I found the ResolveRichText() extension method, but how can I use these extension methods in our views? In the below code sub_copy is my ...
roop's user avatar
  • 555
3 votes
1 answer
131 views

DD4T with Session Preview with Image deployed to file system possible?

I'm trying to configure a website that has Experience Manager with Session Preview enabled on a 2011 SP1 DD4T application. I have it working when everything is published to the Database. My problem ...
Piti Itharat'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
5 votes
1 answer
280 views

DD4T - How to fetch nested embedded fields in Razor?

My XML structure looks like this: links title image internal_link (Component Link) headline type section I want to fetch the field headline of internal_link. I am using the following code: <...
roop's user avatar
  • 555
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
6 votes
2 answers
358 views

DD4T-Linked Component Issue

I am using the below code to access the field values for a linked component. In the foreach line, it throws error that The given key was not present in the dictionary I have checked the ...
roop's user avatar
  • 555
6 votes
1 answer
298 views

DD4T-how to fetch linked components fields using razor

I have a component with a field "video" which is linked to a component which consist of a youtube url. I just want to fetch that url from that component. My code below what I tried @if(Model....
roop's user avatar
  • 555
6 votes
2 answers
270 views

Avoiding republish of all pages when Structure Group Metadata changes in DD4T

Imagine the following hierarchy of pages + structure groups (with the stated metadata field): (StructureGroup): Section [MetadataField: BodyCssClass (text)] (StructureGroup): About (Page): Default (...
Jonathan Primmer'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
1 answer
694 views

DD4T - Dynamic Link Resolution Falls Over Within TridionLinkProvider

I'm currently trying to implement a DD4T solution (running locally), and have had a lot of success with most aspects of the implementation. I have pages setup and working which pull through all types ...
John Walters's user avatar
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
5 votes
1 answer
180 views

Broker Database - Unable to retrieve htm files from DB

I have the following configuration to save files to the broker Database. <Item typeMapping="Page" cached="false" storageId="defaultDataFile"/> <Item typeMapping="Page" itemExtension="....
Ajo Mathew's user avatar
  • 1,063
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
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
10 votes
1 answer
216 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
5 votes
1 answer
152 views

Binaries not removed from file system when the component is unpublished

I have a multimedia component and it is linked in Content component. When I publish the component, the binary should be stored in the file system without any tcmid. e.g A multimedia component with ...
user546's user avatar
  • 51
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
5 votes
1 answer
116 views

Determine absolute path to item (DD4T)

Is it possible to get the absolute path to a Page in a SG? Currently, I only get the immediate parent of the item in the DD4T output. For example: ... "StructureGroup": {"Id": "tcm:1006-1028-4", "...
mpaton's user avatar
  • 1,297
5 votes
2 answers
441 views

Experience Manager: Sequence contains no matching element

I'm busy testing Experience Manager in a DD4T implementation and am hitting a wall. Our setup: Tridion 2011 SP1, DD4T, Experience Manager, Workflow BP: Content Parent Publication providing content ...
Hans Cannegieter's user avatar
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
6 votes
2 answers
397 views

How to publish automatically a linked component in a rich text field of other component?

I have a bit problem and a few new questions related with the rich text. When I create a new component, linked another component in a rich text field of the first component, create a page and add the ...
Boris T.'s user avatar
  • 651
7 votes
1 answer
144 views

How can DD4T request the broker with known component's URI and receive a component

Could I request the broker server for a component sending the component's URI, using dd4t? When I use ComponentFactory.TryGetComponent - it returns null for the object. Using Tridion2011sp1 and DD4T ...
Boris T.'s user avatar
  • 651
7 votes
1 answer
339 views

RichText and linked components

I have a richtext with linked component inside. Also, I have added LinkLevel=9 for my page template and component template. This link is in the scope of these levels. What do you think is the best ...
Boris T.'s user avatar
  • 651
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
3 votes
2 answers
205 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 ...
mpaton's user avatar
  • 1,297
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
4 votes
1 answer
307 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 ...
mpaton's user avatar
  • 1,297
5 votes
2 answers
279 views

Best practice for designing Experience Manager-managed tabs/sub-tabs component?

I'd like some input on how to best achieve a schema design for tabs, that could contain sub-tabs and/or normal content. Pretty much like this one: http://os.alfajango.com/easytabs/#nested-tab-3 What ...
Xyslarda's user avatar
  • 115
6 votes
1 answer
308 views

Dynamic Linking Across Multiple Web Publications

I have a scenario where there are several websites powered by Tridion and there are component links that I want to resolve across web publications. For example: There is a Corporate site: ...
Nickoli Roussakov's user avatar
5 votes
2 answers
408 views

Why my web project with added x86_x64 Tridion's dlls does not work properly on my local 32bit machine?

Scenario: I have 32 bit dev-machine and 64 bit server The project's target is AnyCPU My local project works perfectly with x86 dlls from Tridion. But this requires to enable 32bit support in my ...
Boris T.'s user avatar
  • 651
8 votes
1 answer
144 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
7 votes
1 answer
233 views

Why does my DD4T project find more than one controller?

I created a DD4T project from scratch including ASP.NET MVC 4 website, I copied all files (lib, conf & license included) from DD4T template but when I deploy the solution there is a problem ...
Giu Do's user avatar
  • 847
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
7 votes
1 answer
128 views

Tridion 2011 SP1 HR1 - PageContentAssembler

Observing some strange behaviour in our code thats is pulling back published page content from broker. This is DD4T (except we use WCFs a DD4T providers to get stuff out of broker) - when we query ...
Neil's user avatar
  • 6,698
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
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

1
5 6 7
8
9