Hot answers tagged

12 votes
Accepted

Can we have one DB for both Preview Site and XPM?

You need two DB Broker DB - It is configured in httpUpload and your Delivery website Session Preview DB - it will be used by Session preview service and this service is consumed by XPM. No separate ...
user avatar
  • 5,857
7 votes
Accepted

Can't find configuration file: [ footprint_cartridge_conf.xml ]

The problem turned out to be the pre-packaged WAR file missing the cd_preview_web.jar. Simply copy this Jar from the install location's lib folder to your app's deployment location.
user avatar
7 votes
Accepted

How to secure the CD Web Service and allow access to the token service?

It seems like I missed this step in the manual: <ExcludedPaths> <Path>/access_token.svc/</Path> </ExcludedPaths> In the ADF config file
user avatar
7 votes
Accepted

Can you get all component presentations where CT has id 40 and Component contains keyword A and keyword B through Tridion OData service

Considering you want the component presentations your main query should be for that and then filter on the presence of specific custom metas like odata.svc/ComponentPresentations?$filter=(TemplateId ...
user avatar
7 votes
Accepted

What is the Tridion.TopologyManager.Client endpoint

The easiest way to find out the endpoint URL is to check the Windows environment variable on the CM server using the following PowerShell command: get-item env:tridion_ttm_serviceurl This should give ...
user avatar
6 votes
Accepted

Get component template by Name through content delivery API

After going through all possible API's, I got a solution to retrieve component template based on component template names. Mainly you need to use ItemTitleCriteria to retrieving the component ...
user avatar
  • 4,324
6 votes

DD4T + OData using Java

I assume you know DD4T for Java is an MVC application (Spring MVC). It uses factories to read Tridion content and metadata and to transform it into DD4T class model. The factories work with different ...
user avatar
6 votes

Can we have one DB for both Preview Site and XPM?

Session Preview is a feature of Experience Manager that allows editors to make, and then view, updates to content across multiple pages without having to continually check-in and republish the content....
user avatar
6 votes
Accepted

Linking.svc URL in SDL Web 8

Linking service is moved to root of the content service. You can access it like http://my.sdlweb8.server:86/linking For example to get Component link http://localhost:8081/linking/componentLink?...
user avatar
  • 1,130
6 votes
Accepted

Publishing Component Template so it's queryable by oData

You could create a (dummy) Page based on a Page Template which collects and renders the required CT metadata of all CTs (in JSON or XML format). Publishing the metadata of all CTs can be achieved by ...
user avatar
5 votes

Published pages not getting reflected in OData service

This suggests that your Cache is enabled in the OData Web Service, but you didn't configure the Cache Channel Service, which is required for notifications to flow from the deployer to the web ...
user avatar
  • 28.9k
5 votes

Exception after installing odata webservice in IIS

Welcome to the Community and thanks for putting up a clear question with all the details needed. At the very first stage I see it as a Java version issue as jdk 1.7 is not officially supported for SDL ...
user avatar
  • 15.9k
5 votes

performance- odata vs content delivery api

--Update based on Nuno's comment below -- OData does not internally use the CD API. It has a different implementation, but like the CD API, is also based on the JPA standard. --end update-- OData ...
user avatar
5 votes

Access Promotions from SmartTarget web service in Java application

The OData web service is not a public API and has in fact been replaced in SDL Web 8. For that reason, I recommend against attempting to use it like this.
user avatar
  • 19.8k
5 votes

Can we use same OData Webservice instance to serve content from different Brokers

In short: no. You can only bind one database to each service. May I ask why you're using 3 different brokers?
user avatar
  • 28.9k
5 votes

Optimal way to expose Tridion content to external systems?

Whether creating a REST API over OData is a good option for you, nobody can answer but you I would say. Simply using a REST service is commonly accepted as one of the easier ways for external systems ...
user avatar
  • 29.6k
4 votes

Content Delivery Webservice Issue - System.ArgumentOutOfRangeException: Length cannot be less than zero

OK, annoyingly i found the issue. If I call the url with http://URL/oData.svc/Pages it fails ...if I call it with http://URL/odata.svc/Pages (basically a lowercase D in odata) it works fine. I'...
user avatar
  • 14.3k
4 votes

Why OData is missing some components with Filter criteria whereas it works fine if also provide the component Id in Query?

Maybe the problem is the number of results of the query. By default the number of results are limited to 25, as it is configured in the cd_webservice_conf.xml <OData> <DefaultTop>25&...
user avatar
4 votes
Accepted

Web service that queries Broker Database outside of SDL Web 8.5?

You need to connect to Content svc via CIL. Here are a couple links: https://shahideqamuddin.blogspot.com/2017/11/getting-started-with-tridion-cil.html https://community.sdl.com/product-groups/sdl-...
user avatar
3 votes

Where are OData/ADF Access Tokens stored?

The data can be shared across machine using following: In the cd_storage_conf.xml, in session wrappers give the same machine name across all the servers that are sharing the access token. Given ...
user avatar
  • 3,728
3 votes
Accepted

Error setting up OData/Content Delivery Web Service

It seems like you are installing on IIS 8.5 version: 8.5.9600.16384 and SDL Tridion 2011 ? It is not supported I believe and the issue could be very well related the combination of .net + Juggernet + ...
user avatar
  • 1,536
3 votes
Accepted

Get Component fields using odata Webservice

Tridion content (what you're stating is in the General tab) is published as a "Component Presentation", not as a field collection and also not as a Component - what you see as a component in OData is ...
user avatar
  • 28.9k
3 votes
Accepted

Cannot convert a primitive value to the expected type 'Edm.Decimal'

This is actually related to the CD API and the fact we use a FLOAT in Java instead of a DOUBLE (see here for details). Using the CD API would give you the same result as the WebService. ...
user avatar
  • 28.9k
3 votes
Accepted

How can I download a binary variant though the Content Delivery web service?

IIRC, in 2011sp1 you couldn't get binaries via the WS, only their URL on the file system. In 2013 a new feature was introduced where you can do this. But the entity is BinaryContent, not Binary.
user avatar
3 votes
Accepted

Forwarding claims to webservice failing

After a week or so away from this problem doing some good old fashioned Java development I dug deeper into the code and finally determined that it was my custom cookie serialized that was at issue. ...
user avatar
  • 489
3 votes

Access Promotions from SmartTarget web service in Java application

I have been searching for a solution to your problem, but I think it is a question that must be sent to SDL, because maybe is a software fault. But maybe the odata4j library is not fully implemented, ...
user avatar
3 votes
Accepted

XPM: Error updating Preview ((406) Not Acceptable)

The "Content Delivery Endpoint URL" should be the URL of your PreviewWebServiceCapability (see cd_strorage_conf.xml of your Discovery Service), not of the Content Service (V2 nor V4).
user avatar
3 votes
Accepted

Can Tridion's OData service be updated?

Given it seems that the question is Can we plugin a new or updated query model for the web content services? the short answer is no. As per the documentation - the ODATA implementation is a ...
user avatar
3 votes

Optimal way to expose Tridion content to external systems?

Update: I see @Bart updated his answer. Here's my update in case someone is looking for info about that specific integration. The Salesforce CMS Connect basic integration expect HTML from whatever ...
user avatar
  • 12.6k
3 votes
Accepted

How can I successfully query the Content Service using its v4 odata endpoint?

So I finally figured it out... It was a combination of several things, but long story short, it had to do with my settings having the wrong encoding (assuming you had the rest of the setup correctly). ...
user avatar

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