Questions tagged [dd4t-2]
The dd4t-2 tag has no usage guidance.
70
questions
10
votes
0
answers
119
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 ...
9
votes
1
answer
274
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 ...
7
votes
2
answers
364
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 ...
6
votes
2
answers
134
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
...
5
votes
1
answer
129
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
2
answers
289
views
Retrieving Individual Component Fields Using The GraphQL Content Service
If using DD4T2 and publishing JSON, is it possible to request individual component field elements from the published JSON (e.g. for a page or a DCP) using the GraphQL Content Service (in Tridion Sites ...
5
votes
1
answer
104
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 ...
5
votes
0
answers
226
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
0
answers
67
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 ...
4
votes
1
answer
176
views
DD4T webapp using discovery service gets 'invalid_grant'
There are a lot of articles about the 'invalid_grant' error but I didn't find an answer on my situation.
At first, with Postman I am able to get an access token from /token.svc and use it ...
4
votes
2
answers
452
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 ...
4
votes
1
answer
280
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 ...
4
votes
1
answer
237
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 ...
4
votes
1
answer
93
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 ...
4
votes
2
answers
99
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 ...
4
votes
1
answer
115
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 ...
3
votes
2
answers
158
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
1
answer
262
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). ...
3
votes
2
answers
127
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 ...
3
votes
1
answer
72
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 ...
3
votes
1
answer
73
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 ...
3
votes
1
answer
59
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 ...
3
votes
2
answers
86
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 ...
3
votes
1
answer
78
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
1
answer
135
views
DD4T-2 Strongly-typed Page Metadata Component Links
I'm working on an implementation that has "configuration" components attached in page metadata (as component links) for things like navigation visibility, SEO fields - etc. This is so the ...
2
votes
1
answer
52
views
DD4T Will Support for Region Based Page Design | Tridion Sites 9.6
We are Using DD4T .NET MVC Web Application as Backend Support for SDL Tridion.
1.Do we have any code samples for Region Based Page Design for DD4T Templating? All the Tridion Sites9.6 functionalities ...
2
votes
2
answers
209
views
DD4T 2.2 MultimediaField empty when using Model Service
At this moment I have a DD4T 2.2 .NET webapplication which uses the DXA Model Service (SDL Web 8.5). All my fields are working, except for the Multimedia fields.
The image property in the ViewModel ...
2
votes
1
answer
125
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 ...
2
votes
1
answer
72
views
Reading Component Presentation HTML in DD4T 2.0
Is it possible to customize DD4T to read HTML rendered Component Presentations instead of XML? If it is possible, Can you please guide me in doing that without modifying DD4T framework so that later ...
2
votes
1
answer
27
views
Does TcmUploadAssembly pass .dll.config file?
We're using Tridion9.5 & DD4T 2.5
When publishing a page I receive the error "The reader's MaxDepth of 64 has been exceeded."
From my understanding this is caused by the latest version ...
2
votes
2
answers
62
views
Facing a warning in DD4T site with Tridion.ContentDelivery dll
Not able to access the DD4T website, noticed the following warning in Application Event Viewer. Will this warning makes the website not to function ?
Could not load file or assembly 'Tridion....
2
votes
1
answer
128
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 ...
2
votes
2
answers
141
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 ...
2
votes
1
answer
96
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
1
answer
233
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 ...
2
votes
1
answer
84
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
1
answer
90
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 ...
2
votes
1
answer
181
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 ...
2
votes
1
answer
70
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
1
answer
43
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 ...
2
votes
2
answers
383
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 ...
2
votes
1
answer
378
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
...
2
votes
0
answers
55
views
webp images are not getting published
I am attaching a webp image in richtext editor, but the image is not getting published. I am using DD4T template and SDL web 8.5.
Is there any additional configuration needs be done other than new ...
2
votes
0
answers
70
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
0
answers
75
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 ...
2
votes
0
answers
42
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 ...
2
votes
0
answers
413
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
...
2
votes
1
answer
159
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
0
answers
70
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
1
answer
100
views
How To Get Component Blueprint Details Using DD4T
We are Using DD4T.ContentModel for Retriving Component info.
We are able to get Component ID, Component Name and Revision Data from DD4T.ViewModel.Atributes. But As per requirement we need Blueprint ...