Hot answers tagged

9 votes

Is the Content Interaction Library the right way to go?

The Content Interaction Library (CIL) is the public API to the REST service providing a native JAVA or .NET interface for the developers, so yes - today the recommended way to program against our REST ...
Nuno Linhares's user avatar
  • 29.1k
8 votes
Accepted

Get list of publications from Content Delivery

You can use new PublicationMetaFactory().GetAllMeta() to retrieve a list of all published publications.
Albert Romkes's user avatar
6 votes
Accepted

Is the Content Interaction Library the right way to go?

You ask for code samples: the point of the CIL is that any code samples for the previous version of Content Delivery ought to work just fine. CIL is intended as a drop-in replacement. The most ...
Dominic Cronin's user avatar
6 votes
Accepted

How do I use the CIL to resolve Component Links with child HTML elements?

The issue here appears to be having URL in the Link text. Current implementation of CIL does encode link text but since we have URL, it needs double encoding so that CIS can handle the request. As a ...
vinayknl's user avatar
  • 1,130
6 votes
Accepted

One trust cookie policy plugin integration with DXA 2.2 .NET breaks the DXA website

The problem was that DXA is using an older version of the CIL out the box. Updating the references to the later versions available on nuget.org resolves the problem. The following steps fixed this ...
Velmurugan's user avatar
  • 7,950
5 votes
Accepted

oAuth is disabled but DXA Webapp gives an error "Client id is required"

I got rid of that error from the logs by adding the TokenService back to the cd_client_conf.xml on the webapp side. <TokenService ClientId="clientID" ClientSecret="encrypted:password"/> This ...
Reynold Bhatia's user avatar
5 votes
Accepted

How do we configure CID to work with a HTTPS (TLSv1.2) website?

It looks like you are using an IBM JVM (at com.ibm.jsse2.k.a(k.java:24)). This JVM has some specific setting that allows you to enable or disable use of TLS V1.2. This is explained here https://www....
Harald Hoffelinck's user avatar
5 votes

CIL | Content Service | No connection could be made because the target machine actively refused it

I guess your CIS services run on a different machine than your web application. In that case, it is important that your CIS capabilities are not registered with localhost URLs. The web app will ...
Rick Pannekoek's user avatar
5 votes

Timezone difference causing stale configuration and content in DXA 2.0

You can set -Duser.timezone=UTC in the JVM args when running your web application (on Tomcat or other) and this will fix the problem. Note that this may affect other date based functionality in your ...
Will Price's user avatar
  • 16.4k
4 votes
Accepted

Sharing Tridion content with Third party application

As Nuno commented, you can still get access to the raw data using the (public) OData V2 endpoint (CIS Content Service). Alternatively, you can get access to your DXA View Model data formatted as JSON ...
Rick Pannekoek's user avatar
4 votes

How to set timeout value for Content service?

As per best of my knowledge, there is no configuration available in the DXA framework to configure timeout of any request. You may do it using standard http request time out setting(code may vary for ....
Mukesh Kumar's user avatar
  • 4,074
4 votes
Accepted

Tridion CD client dll versions compatibility

As usual in Service-Oriented Architectures such as CIL/CIS, the client and server versions are rather loosely coupled. That is: there is not a 1:1 relationship between the CIL and CIS versions you ...
Rick Pannekoek's user avatar
4 votes

How to get binary file from Broker DB using CIL?

Binary should be treated as a separate entity similar to pages and component presentations. In your case, you would need your Rest service to serve your binary as a stream. Like Mark highlighted, you ...
Shiva's user avatar
  • 2,158
4 votes
Accepted

CIL | Token Service - Unauthorized Request

The error was the symbol '-' in app.config in keys oauth‐client‐id, and oauth‐client‐secret, it's binary representation was not correct.
MilanaN's user avatar
  • 111
3 votes
Accepted

How to get binary file from Broker DB using CIL?

@Shiva already answered might helpful for using .NET CIL. To get the Binary using Java CIL. Java Example: import com.sdl.web.api.dynamic.BinaryContentRetrieverImpl; import com.sdl.web.api.dynamic....
Velmurugan's user avatar
  • 7,950
3 votes

CD API (CIL) call to get primary mapped URL

If you ensure your Content Service has a cd_link_conf.xml and set OverrideDiscoveryService="false" (it is set true by default), CD Linking should start generating absolute URLs. It will use the ...
Rick Pannekoek's user avatar
3 votes

What are the mandatory SDL Web 8.5 CIL Jars to include in any Java based Project

They are all mandatory. Although there might be some scenarios where not all of them are actually used, it is impossible to predict what those scenarios are, and which jars it might be safe to remove. ...
Quirijn's user avatar
  • 6,767
3 votes

Implementation options to consume SDL 8.5 Content Service in Java webapplication:

Your web application uses a client library (think of it as a "SDK") which talks to the webservices. The Web Application and the Web Services can scale independently of each other. You don't need ...
Nuno Linhares's user avatar
  • 29.1k
3 votes
Accepted

Which CIL contains which classes?

There isn't a list, but there is way (in Eclipse), which can help you determine where class is locating Go to the Navigate menu, Open Type... (or Ctrl-Shift-T), Then type in the class name and see ...
Djordje Nedovic's user avatar
3 votes

<%= %> Expression not evaluated when coming from a Dynamic content

This is normal behavior when retrieving items from a data source. The application server is only able to execute expressions when they are on a file system as aspx pages or controls or custom loaded ...
Nickoli Roussakov's user avatar
3 votes

How to set timeout value for Content service?

You could try adding the following configuration to Web.Config under appSettings: <appSettings> ... other content service related config here ... <add key="service-timeout" value="30"...
Paul Adams's user avatar
2 votes

Upgrade Tridion 2013 SP1 to Web 8.5 - DD4T vs DXA

To learn more about the merge and DXA benefits and How it affects you, you can check out the following blog posts: DXA 2.0 AND DD4T - dd4t.org Merging DD4T and DXA - Bart Koopman DXA 2.0 ...
Velmurugan's user avatar
  • 7,950
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

Rendering Binary Files with DD4T.RestService.WebApi

Have you tried something similar as below; http://myurl/binary/GetBinaryByUri/{publicationId:int}/{id:int} Example: http://myurl/binary/GetBinaryByUri/5/445
Rajesh's user avatar
  • 1,231
2 votes

Cache configuration for Java CIL Web 8.5

AFAIK - CIL - Java Caching Uses EHCache Time based caching, NO invalidation Limited OOTB config Recommendations Up the heap size by MB, not by entries Set max-graph-object-size <?xml version="1....
Velmurugan's user avatar
  • 7,950
2 votes

Ambient Data Filter Performance Issue

Answer to your question, yes, Indeed It's expected and executed when a new session starts, onRequestStart at the beginning of each request, onRequestEnd at the ending of each request if ADF enabled, ...
Velmurugan's user avatar
  • 7,950
2 votes
Accepted

GSON error serialising Claim Store

There's a method in com.tridion.ambientdata.web.AbstractAmbientDataServletFilter class from web-ambient-client-*.jar that takes the users session attributes and adds them to the claim store. One of ...
Jonathan Primmer's user avatar
2 votes

In SDL Web 8.5 CME Are there Any OOTB TBB to Publish Component, Pages, Binaries to Broker DB

Definitely consider using DXA 2.0 (or higher). It provides what you are asking for and, in general it provides a kick-start foundation for such “Dynamic Delivery” implementations. Note that DXA is an ...
Rick Pannekoek's user avatar
2 votes

In SDL Web 8.5 CME Are there Any OOTB TBB to Publish Component, Pages, Binaries to Broker DB

Here are some answers to your questions. Hopefully they help to clarify things: Q1. What is the best approach for publishing to the Broker database A1. Whether items are stored in the Broker database ...
Jonathan Williams's user avatar
2 votes

Tridion CD client dll versions compatibility

Rick is spot on. To add some more clarity on that 11.0.1097 release - this was a hotfix for a specific customer. But in general I would use the latest 11.0.1xxxx version available. They are indeed ...
Bengineer's user avatar
  • 1,312

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