Hot answers tagged

9 votes
Accepted

DXA & DD4T: Activate json compression

You can turn it back on in your Spring dispatcher servlet XML: <!-- DD4T Provider beans --> <bean id="binaryProvider" class="org.dd4t.providers.impl.BrokerBinaryProvider"> <...
Raimond's user avatar
  • 7,253
7 votes
Accepted

DD4T webapp using discovery service gets 'invalid_grant'

Using Fiddler I found out that the TokenService was registered on the localhost domain. That's why the webapplication (which was running on my local machine) couldn't access the TokenService on the ...
Peter van der Lugt's user avatar
6 votes

DXA: Disable DD4T EHCache

That EHCache uses a lot of memory makes sense, since when caching is turned on, it will use the configured amount of memory to store items. If you disable cache, be prepared to take a big ...
Raimond's user avatar
  • 7,253
6 votes
Accepted

Does SDL Tridion Sites 9 accept DD4T XML model?

There is no provider to make DD4T version 1 work with Tridion 9. You have 2 choices: Upgrade to DD4T 2. Create your own Tridion 9 provider. If you go for option 2, you must also update the ...
Quirijn's user avatar
  • 6,767
5 votes

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

If you are using DD4T caching with ActiveMQ cache invalidation, that allows you to keep DD4T objects cached for a long period (until they get invalidated). However, your application may still be (...
Rick Pannekoek's user avatar
5 votes

Unable to debug Merged .NET assembly Template Building Blocks

Thanks all for the answers and comments. But it was a silly mistake from my side, So to upload the DLL (and other TBBs) in Tridon I was using the command below TcmUploadAssembly.exe config.xml "...
Saurabh Gangwar's user avatar
5 votes

How To Get Component Blueprint Details Using DD4T

Content Delivery does not expose all of the component's properties. So, the Content Delivery frameworks, DD4T and DXA, would not contain all of the component's properties that you would normally see ...
Sabarish Senthilnathan's user avatar
4 votes
Accepted

DD4T 2.0 cache not getting invalidated

Please note: updated answer! The JMS-based cache invalidation of the .NET version of DD4T in a pre-release, so you have to do a bit of work. This is what you should do: Add a NuGet reference to ...
Quirijn's user avatar
  • 6,767
4 votes

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

The problem, as it turns out, is a missing instruction in the SDL documentation. I had recently upgraded from SDL Web 8.1.0 to 8.1.1 (aka the Cumulative Update 1). I followed the instructions on how ...
Quirijn's user avatar
  • 6,767
4 votes
Accepted

Page Metadata Component Link

The problem is because the link level is set on the wrong TBB. Since all DD4T TBBs use the same parameter schema, the TBBs seem to use the value from the first TBB in which the value was set. So if ...
Rob Stevenson-Leggett's user avatar
4 votes

Retrieving Individual Component Fields Using The GraphQL Content Service

Rick already answered to clarified. Indeed!, there is no OOTB way to retrieve individual components fields values of published DCP and page JSON outputs, but It's possible to do a Graph-QL extension ...
Velmurugan's user avatar
  • 7,950
3 votes

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

First of all, you will need to setup JMS as your cache invalidation mechanism, as DD4T's caching mechanism does not support listening to RMI. You can read all about that in Quirijn's blog post and the ...
Raimond's user avatar
  • 7,253
3 votes
Accepted

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

The problem was related to a conflict in dependencies. This function "encodeBase64String()" is normally available in the jar commons-codec.jar Both our original application and the dd4t application ...
Harald Hoffelinck's user avatar
3 votes

Reading Component Presentation HTML in DD4T 2.0

The first question that came to me, if it is already html which ready to be rendered then why do you want to read that using DD4T instead of directly rendering it. The point of having DD4T is to ...
Hiren Kaku's user avatar
  • 3,728
3 votes
Accepted

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

When using the DD4T 2.0 Templates (latest version 2.1.2), to enable compression I believe you have to add the CompressOutput TBB as last item in your Page Template. Not sure if you can also use it on ...
Bart Koopman's user avatar
  • 29.6k
3 votes
Accepted

Exception happened while loading schemas.json

DXA PublishMappings TBB. That TBB Publishes schema and region mapping information in JSON format. In DXA if you publish the Publish Settings page with Core (Module Configuration) component then in ...
Velmurugan's user avatar
  • 7,950
3 votes
Accepted

Retrieving Individual Component Fields Using The GraphQL Content Service

Unfortunately, the DD4T JSON (or DXA R2 JSON for that matter) is basically just a blob of text for the Content Service. Indeed, the GraphQL Content Service provides a feature to return JSON content ...
Rick Pannekoek's user avatar
3 votes
Accepted

DD4T Will Support for Region Based Page Design | Tridion Sites 9.6

AFAIK - Yes, From DD4T.Model 2.5 Supported for Regions in Tridion 9 and higher. Refer to https://github.com/dd4t/DD4T.TridionTemplates Before the introduction of page regions in Tridion 9, the concept ...
Velmurugan's user avatar
  • 7,950
2 votes
Accepted

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

There is no invalidation of the DD4T cache in DD4T .NET 2 out of the box. However, DD4T Java has cache invalidation out of the box. The Cache Channel Service will invalidate the Tridion Object Cache ...
Rob Stevenson-Leggett's user avatar
2 votes

DD4T install-template.bat Error Invalid URI

Apparently it needs to be the tcm uri of the folder Example: tcm:7-2056-2
Robert Stull's user avatar
2 votes
Accepted

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

update: I have logged an issue in git hub along with a pull request to fix the issue. I was obtaining the IComponent via an IComponentFactory and using the IViewModelFactory.BuildViewModel<T>(...
John Askew's user avatar
2 votes
Accepted

DD4T | DD4T.ContentModel.Logging.ILogWrapper not found

You seem to be using the wrong DLL for DD4T logging. Try using DD4T.Logging.Log4Net.dll version 2.2.0 URL: http://www.nuget.org/packages/DD4T.Logging.Log4Net/2.2.0 You seem right that , with MVC5 ...
R.C's user avatar
  • 926
2 votes
Accepted

DD4T | Enable LinkLevels for Multimedia Fields only

Arvind, did you check this out already - I suspect it's exactly what you're looking for? Blog Post on DD4T Field-level link resolving
Dylan .. Mark Saunders's user avatar
2 votes
Accepted

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

Tcm ID we're incorrect. private DynamicComponent GetDynamicComponentPresentation() { var componentPresentationFactory = DependencyResolver.Current.GetService<IComponentPresentationFactory>()...
Tim Alonso's user avatar
2 votes
Accepted

High CPU utilization after upgrading to web 8.5

After a lot of debugging, we noticed that some queries (especially ones regarding taxonomy queries) were executed very slow, resulting in a 'queue' of sql commands to be executed. The SQL Server ...
Harald Hoffelinck's user avatar
2 votes
Accepted

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

There is not one prescribed way to do this. An option would be to include a reference to your page model in your component model, and use the page controller to set the page property on each of the ...
Quirijn's user avatar
  • 6,767
2 votes

Slightly confused over dynamic version

But why would you want to retrieve such a version in the first place? What would be your use case? If an item is checked out, you can still read the item with its "versionless" uri and you will get it ...
Atila Sos's user avatar
  • 6,280
2 votes
Accepted

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

As Rick mentioned DXA ships it's own version of DD4T TBBs for DXA 1.8 from https://github.com/sdl/dxa-content-management/tree/release/1.8 I can see DXA 1.8 Web application uses following DD4T ...
Velmurugan's user avatar
  • 7,950
2 votes

Does SDL Tridion Sites 9 accept DD4T XML model?

Please read more about here DD4T Supports SDL Tridion Sites 9, In your case, you might need to upgrade your DD4T version to the latest one both web app as well CME DD4T templates. Note: It's ...
Velmurugan's user avatar
  • 7,950
2 votes
Accepted

DD4T 2.2 MultimediaField empty when using Model Service

The issue is now reported on GitHub. I found out that there are multiple issues when working with the DXA Model Service together with DD4T. There is an issue related to keywords and there seems also ...
Peter van der Lugt's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible