Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [dd4t-2]

The tag has no usage guidance.

2
votes
1answer
53 views

DD4T.Tridion.Templates v2.2.1 compatible with DXA 1.8?

Is DD4T v2.2.1 compatible with DXA 1.8 (.NET), for a Web 8.5 environment? I would think yes as the DD4T component is on the CM side and DXA is CD, but haven't tested. DD4T.TridionTemplates v2.2.1 ...
4
votes
2answers
68 views

Unable to debug Merged .NET assembly Template Building Blocks

I am trying to debug a Custom Template Building Block defined in a .Net Assembly TBB according to the documentation. I am building the .Net Assembly using below command in the Post Build event of the ...
2
votes
1answer
49 views

ActiveMQ Set up for DD4T 2.2.1 based Web App

We need to set up ActiveMQ for our Web Application, I have already gone through https://velmuruganarjunan.wordpress.com/2018/01/24/how-to-connect-sdl-web-8-content-interaction-service-cis-with-...
2
votes
0answers
38 views

TryFindPage Method of DD4T Page Factory is returning false

Scenario: We have Configuration Page in Tridion, sometimes we get Error on Production Servers that the Configuration Page is not Published, that means it is not in DD4T Cache nor in Broker. We are ...
2
votes
1answer
92 views

Deserialize DD4T content error while validating DXA Model service

I am following the below url to configure DD4T 2.0 to consume DXA Model Service: http://blog.trivident.com/switching-to-the-dxa-2-model-service-in-your-dd4t-application/ As per above article, when ...
1
vote
1answer
35 views

DD4T APPLICATION Integration with DXA 2 MODEL SERVICE

We are planning to integrate DD4T APPLICATION Integration with DXA 2 MODEL SERVICE using below Article http://blog.trivident.com/switching-to-the-dxa-2-model-service-in-your-dd4t-application/ We are ...
1
vote
1answer
27 views

DD4T 2.0 Dynamic Components Cache Invalidation is not working

We have implemented cache invalidation using the approach mentioned here. The cache invalidation is working fine only for the static components or pages. But in case of dynamic component (like ...
4
votes
2answers
48 views

Socket exception when calling Content Provider endpoint under load

I am doing some performance testing of my .NET Tridion application, simulating 500 simultaneous users requesting the home-page over a 20-minute period. On a lower-spec machine, we quickly encounter ...
3
votes
2answers
59 views

Null reference exception when trying to read Page DD4T 2.0 REST API

We have CMS environment as Web 8.5, delivery as 2013 sp1 and Broker DB is SQL server 2016. The application uses DD4T 2.0 RestApi. I have published my Page from Web 8.5 to broker db 2013 sp1 using ...
2
votes
1answer
59 views

Custom binary publisher with an older version DD4T

The binaries get published with TCM ID appended to their file name. I want to change the file name to be published without a TCM ID and path based on Structure Group. The latest DD4T version has ...
2
votes
1answer
47 views

Slightly confused over dynamic version

Read the following question which explains TCMs like tcm:x-xx-v0 are created when items are checked out. However when Ive tested using a simple C# TBB: log.Debug("Executing C# template"); Item item ...
2
votes
0answers
43 views

XPM & DD4T 2 - 404 returned after finish editing

We're using a basic DD4T 2 project to test XPM integration - so far so good, XPM loads, content areas are highlighted and editable, session preview appears to be working (as far as I understand how ...
1
vote
2answers
69 views

How can I dynamically get the Page metadata from a DD4T Component View?

I have Component view and model that contains it's own properties from it's own Schema. I can easily get the values of the fields of this Component using @model.Fieldname. I also have a Page model ...
2
votes
1answer
64 views

Items required to publish after upgrading to DD4T 2.2 and Web 8.5

After upgrading to DD4T .NET 2.2 and SDL Web 8.5 from DD4T 2.0 and Tridion 2013 SP1 we have found that few Pages are not showing images on the Page. On most of the Pages, images are showing ...
8
votes
1answer
179 views

High CPU utilization after upgrading to web 8.5

We have upgraded our project based on Tridion 2013 and .Net DD4T 2 to SDL Web 8.5 and DD4T 2.2. We are using CIL and micro services to get data from broker. Once 10-15 concurrent user started browsing ...
-1
votes
1answer
65 views

DD4T REST Service: Componentpresentation Output

I am using SDL Tridion 2013 sp1, pages & components are published to broker DB as JSON format. Using DD4T 2.0 templates to generate JSON output. Trying to consume the page & component ...
0
votes
1answer
128 views

How to get dynamic component presentation on DD4T2 (.NET)?

I've published a component and verified that it's in the broker database: I'd like to retrieve this dynamic component presentation on the web app using DD4T. My current attempt: private ...
2
votes
1answer
106 views

How to make linked Components inline editable

I'm attempting to make a multi-value Component link inline editable using DD4T2's XpmExtension methods to render the XPM markup. I'm using SDL Web 8.5. Setup: I have a Component List Schema with the ...
3
votes
1answer
56 views

Errors with extending DD4T.Templates.Base

I am trying to update some custom DD4T templates to v2.2.1 When I run my template I get the following error in the Template Builder Engine: Error in Engine.Transform Engine: Error in Engine....
2
votes
0answers
30 views

what is the Stable Version for DD4T Java with JMS DD4T Cache Implementation

At present we are using DD4T 2.0.5 (java) but because of dd4t bug confirmed in this POST for caching we need to switch dd4t to a higher version. What is the stable version of DD4T (java) which works ...
1
vote
0answers
42 views

Remove items from DD4T cache only on Publish or UnPublish event

We want items to stay in DD4T cache eternally. Item needs to be evicted from DD4T cache only when its Published again or Un-Published, so no time bound restriction for the items. And its for both type ...
3
votes
0answers
169 views

To Fix EHCacheProvider Memory Leak Issue in DD4T Java

We are using DD4T-Java 2.0.5 version in Spring MVC web-application. I was referring to this post which confirmed there is a bug (Memory Leak) in DD4T's EHCacheProvider and is fixed in version 2.0.9 ...
1
vote
2answers
43 views

What's the recommended approach when working with applications in different technologies (Java, .net) that need to SHARE the HTML design?

We are in the process of evaluating what's the best approach in order for us to share our global branding html across different applications (built in different technologies using different frameworks)...
2
votes
1answer
100 views

Component link in rich text field is stripped when rendered in view

I'm using DD4T 2 (.NET) with our web app. In SDL Web 8.5, I've got a Component with a rich text field. I add a hyperlink as a Component, using a standard External Link Component and this renders: <...
2
votes
2answers
91 views

DD4T | DD4T.ContentModel.Logging.ILogWrapper not found

For MVC5, I have installed the package: DD4T.LogWrappers.Log4NET using below command successfully: install-package DD4T.LogWrappers.Log4NET -Version 2.0.0-alpha5 Surprisingly, the DD4T website ...
1
vote
0answers
51 views

DD4T logging issue | files always having 0 KB size

I am trying to setup Logging for DD4T but it doesn't works despite many similar issues/question found. I was following the fixes mentioned in this question: Enable DD4T Logging - Page Not Found, ...
4
votes
1answer
50 views

DD4T | Enable LinkLevels for Multimedia Fields only

How can I enable LinkLevels parameter for Multimedia fields only ? While checking the parameters schema, something close I can see is the Parameter: FollowLinksPerField Below is what the description ...
6
votes
0answers
151 views

Upgraded DD4T app to Web 8.5, multiple Caching Providers configured

I'm getting the following exception from the CIL in my DD4T 2 Java project that has been upgraded to Web 8.5 Could not create CONTENT service client. Error:Unable to load content service url! ...
5
votes
1answer
94 views

DXA & DD4T: Activate json compression

We are trying to activate zip compression for the dd4t published json. In CMS is very easy to activate, modifying the templates parameters to activate compression. But we didn't remember if we have ...
5
votes
1answer
188 views

DXA: Disable DD4T EHCache

The EHCache used by DXA is detected as a leak in our heapdump because it's arriving to get 1Gb of it. I guess EHCache is not at all a good implementation for large/intensive systems were an external ...
5
votes
0answers
58 views

Issue with Rendering Component Presentations in TridionHelper.cs

We are working on DD4T 2.0 with Tridion 2013SP1. Below is the error we are facing. The actual issue is that when the solution is build for first time, There is NO error and we get our normal page ...
2
votes
1answer
33 views

Publishing Failed when when using Resource Type as "External” in MMC

Tridion 2013 SP1; DD4T 2.0 (java) in use. I created a MMC in cms which is using external URL where actual image file reside; say URL is http://sample.com/abc.gif. When I try to publish the Component ...
4
votes
1answer
175 views

Enable DD4T cache and Tridion Cache Channel service when using DD4T 2.0.5 (Java) and Tridion 2013 SP1

WE have Website build on Spring-MVC Java platform and using DD4T 2.0.5(Java APIs) and Tridion 2013 Sp1. Tridion Cache Channel service deployed as windows service on CMS server(windows 2013 server). ...
5
votes
1answer
78 views

Page Metadata Component Link

I have a Component Link in the Metadata Section of a Page. I cannot see the content of this Component in the Page JSON which is published to the Broker DB. Is it possible to get the content of the ...
4
votes
1answer
72 views

DD4T 2.0 Java - get schema information in web application

Is it possible to know if a Schema field was multivalued or not in a the DD4T 2.0 Java web application? I am writing a bit of generic code and want to know whether a field is multi-value or not in ...
3
votes
2answers
284 views

SDL web8.1.1 Could not execute query Sdl.Web.Delivery.Service.ServiceQueryException (Sdl.Web.Delivery.Service) - Failed to execute query

We have upgraded from Tridion 2013 SP1 + DD4T 1.0 to SDL Web 8.1.1 micro services + DD4T 2.0 + SDL Web8 CIL proivder Summary of the issue - Initially, we did upgrade SDL Web 8.1.1 + DD4T 2.0 legacy ...
5
votes
1answer
92 views

DD4T 2.0 Dynamic Component cache not getting invalidated

We have implemented Tridion object cache invalidation using the approach mentioned here. The cache invalidation is working fine if we are changing anything in static Component or Page. But in case if ...
9
votes
0answers
92 views

DD4T viewmodels - modeling componentlinkfield with both multimedia and regular components

We are currently building a java DD4T 2 implementation. We are creating viewmodels for our different schema's. One of the schemas has a componentlink field that can link to either a multimedia ...
3
votes
1answer
77 views

When adding the dd4t jars in our custom web app, we get error : NoSuchMethodError: org.apache.commons.codec.binary.Base64.encodeBase64String()

We currently have a java web application, and we wish to use a part of the dd4t api in it. So, we included all dd4t jars and dependencies in our pom, and put all necessary configuration. Now, we call ...
3
votes
0answers
54 views

Issue with dynamic component presentation DD4T 2.0

we have upgraded to dd4t 2.0 recently. Now i'm facing issue in getting dynamic component presentation using component presentation factory. i'm using ComponentPresentationFactory....
1
vote
2answers
91 views

DD4T 2.0 RenderComponentPresentationsByView is not returning output

We upgrade to web 8 and upgraded an existing .NET DD4T 1.31 website to .NET DD4T 2.0. We have made necessary changes to compile the Website with latest DD4T 2.0 DLL and web 8 DLLs and JAR files ...
0
votes
3answers
52 views

DD4T install-template.bat Error Invalid URI

I am trying to install the DD4T templating code to my cms sever (See https://github.com/dd4t/DD4T.TridionTemplates/releases). I am having an issues when it asks for "Enter the URI of the folder where ...
1
vote
0answers
80 views

DD4T 2.0 inprocess API unable to run locally

We recently migrated to DD4T 2.0 In process API. The applications are running fine as long as we are using 2013 SP1 JARs. When we replaced the 8.1.1 JARs the applications stopped working in local. ...
4
votes
1answer
49 views

DD4T 2.0 DCP not de-serializing multi-value embeddable schema field

I have a content schema with root element "labelSet" and a single multi-value embeddable schema field with xml name "labels". The embeddable schema field has a root element "label" and has 2 text ...
8
votes
2answers
279 views

DD4T 2.0 cache not getting invalidated

We are using DD4T 2.0 in our MVC application with Tridion 2013 SP1 as CMS. Since DD4T 2.0 does not support RMI based cache invalidation, we setup JMS based cache invalidation with ApacheMQ. The ...
3
votes
2answers
110 views

Is RMI based cache invalidation still valid for DD4T 2.0 or only JMS based can be used

We have implemented Tridion Object Cache into our application which is a DD4T 2.0 based application. I have set up cache channel service and publisher accordingly so that the cache can be invalidated ...
7
votes
2answers
84 views

Update preview always shows warning on DD4T 2 / Java / Web8

I have a Java (Spring MVC) app with DD4T 2 and SDL Web 8. I'm trying to get XPM to work. What's working so far: XPM javascript is loaded correctly XPM Comments are generated Page and CPs are editable ...
3
votes
1answer
223 views

DD4T 2.0 Templating ILMerge Issue “Unresolved assembly reference not allowed”

I want to upgrade my existing custom TBBS to use DD4T 2.0 from DD4T 1 and uploaded the following into my Nuget feed: DD4T.Core.2.1.0 DD4T.Model.2.1.0 DD4T.Templates.Base.2.1.2 Newtonsoft.Json.6.0.8 ...
5
votes
1answer
74 views

What are the TBB changes required to enable GZip Compression in Tridion 2013 sp1?and also its Pros and Cons

My Spring config has org.dd4t.providers.impl.BrokerComponentPresentationProvider contentIsCompressed set to false. I want to turn that to true to improve performance. But I am not sure what are the ...
5
votes
1answer
177 views

Should I use service caching or activemq caching as part of Web 8 and DD4T 2.1 implementation?

If my understanding is correct. with service caching the object is cached on service(rest) layer and not on presentation layer, but if we use ActiveMQ(DD4T) it provide the feature to cache the object ...