Questions tagged [odata]

Content Delivery Web Service which follow the Open Data Protocol (OData)

Filter by
Sorted by
Tagged with
15
votes
1answer
187 views

Tridion 2011 SP1 HR1 - OData access_token

The online docs mention(requires login) that the access_token JSON returned by a call to the access_token.svc returns something like: {"access_token":"HufXeuUt%2FYYElA8SYjJOkUkrXxV9dyXRirmKhjW%2Fb%...
12
votes
2answers
265 views

Extend Content Delivery Web Service (OData) - how far can it be taken?

I've been playing with OData recently, and found a few (small) limitations on the out-of-the-box web service. I wonder if some of these limitations can be catered for by extending what is there ...
11
votes
1answer
1k views

Getting OData results sorted by Custom Component Metadata

The use case is the following: retrieve the 5 latest posts. I am trying to get OData results sorted by a Custom Component Metadata date field, but the statement below breaks. var pres = service....
10
votes
3answers
332 views

Multiple Publications - One broker database

I've always gone with the rule of 1 Broker per website, the main reasons being for most efficient CCS, cleaner deploying set up, separation of concerns if one 'goes down' etc We have a new ...
10
votes
2answers
563 views

OData cuts off number of returned results

My OData query is returning a limited number of results. It seems to stop at 25. Why is this, and how can I make it return the full resultset?
9
votes
1answer
240 views

ClassCastException trying to run update preview

I am getting a java.lang.ClassCastException after clicking on the Update Preview button. The setup is using a standard Tridion 2013 Content Delivery stack (not the magic stuff some of you saw at #...
9
votes
1answer
353 views

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

I would like to use OData service to get component presentations based on conditions, but I am running into some problems. I am aware that Tridion OData service is "limited" OData, so I was wondering ...
8
votes
1answer
131 views

ODATA component content

Could I access to the content fields if I publish a component? In the table CustomMetas I can see all the fields I add in the MetaData component. I can not get the fields I add in the content tag? ...
7
votes
2answers
214 views

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

We have 2 CDA websites (publication targets), Preview and Live. While setting up the environment, the databases were created for both of these sites through Create Content Delivery DB scripts. Do we ...
7
votes
1answer
128 views

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

I am using SDL Tridion 2013 SP1, and attempting to run the CD Webservice on Windows 2012 Server as a .NET Application. I have successfully installed the CD Web Service, and have successfully queried ...
7
votes
1answer
350 views

performance- odata vs content delivery api

Is there any difference in the underlying approach of retrieving content from broker by using odata service vs using content delivery api? Does Odata service internally use content delivery api to ...
6
votes
4answers
203 views

Exception after installing odata webservice in IIS

After installing the Tridion Odata webservice opened the odata.svc and was greeted by this exception: Exception Details: Java.Lang.Throwable: Could not initialize class com.tridion.webservices.odata....
6
votes
1answer
346 views

ODATA with keywords

I'm new in Tridion 2013 and I would like to use ODATA. If I have a keywords with a Metadata Schema where we add some information related with the keyword. Can I insert in ODATA the information? (not ...
6
votes
1answer
243 views

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

I am trying to install the XPM Session Preview Web Service on a Java app container (Tomcat 6.0). To make the job easier I am using the pre-packaged WAR file which comes with the product install files:...
6
votes
1answer
136 views

Forwarding claims to webservice failing

I am working on passing claims to the cd webservice with the encoded JSON cookie, but after much experimentation am still getting an error. The error leads me to believe my configuration is wrong ...
6
votes
1answer
127 views

Retrieving binary titles from the Broker DB

I am currently writing an indexer to put SDL Tridion Content into a search engine. The content includes Component Presentations, Pages and Binary Variants. I need to retrieve a Title for each of these....
5
votes
2answers
4k views

Using ODATA with JAVA

I would like to acces the broker via OData in our java application. I have the java web service running properly. However I'm getting stuck because I don't know how to add the service reference in our ...
5
votes
2answers
525 views

Access Categories and Keywords Hierarchy using OData

How can I get the Categories and Keyword hierarchy using OData? When I tried to retrieve Keywords using [OData Service Object].Keywords, I get all of the Keywords. However, the parent is null and ...
5
votes
1answer
1k views

Coding around OData query result size limits?

I have code like this this.GetContentDeliveryService().Templates.Where(template => template.ItemId == presentationItem.Template.ItemNumber).FirstOrDefault(); which fails to find the desired ...
5
votes
1answer
133 views

Getting Feed Format not supported when trying to access OData webservice

After configuring Dot net Odata webservice, when I am trying to execute it, it is giving "Feed Format not Supported" http://localhost:8091/odata.svc//Pages(ItemId=1212306,PublicationId=232) However ...
5
votes
1answer
100 views

Setting claims in Ambient Data Framework prior to request a component presentation through oData

Is it possible (and how), when requesting content through oData, to set claims before requesting content? The idea here is to add for example a contact detail claim, like Client ID and then from a ...
5
votes
1answer
268 views

How to get a Page's ComponentPresentations via OData?

This code: ContentDeliveryService cds = new ContentDeliveryService(...); Page itemPage = cds.Pages.Where(page => page.ItemId == itemId).Single(); Returns a page with zero ...
5
votes
1answer
210 views

Update Preview is not working with XPM and DXA

We setup Experience manager using the following guide with Tridion 2013 SP1 HR1 and DXA 1.2 (.NET) in the CD side. Most of it is working fine. Inline editing is working fine for pages and components. ...
4
votes
2answers
203 views

Access Promotions from SmartTarget web service in Java application

I want to extract all the promotions from the odata service using Java application. I am using the API jar as Odata4j-core and used CoreOdataJerseyConsumer to consume the service. I can access the ...
4
votes
1answer
95 views

What is the Tridion.TopologyManager.Client endpoint

I am trying to setup an application that will allow management of Topology through a Web API to allow the automated creation and mapping of publications. I can manually use the topology commands ...
4
votes
3answers
414 views

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

I am trying to query the v4 endpoint of the odata content service with no luck. The reason I want to use that endpoint is because odata's v4 has more "filtering" options and more advanced querying ...
4
votes
1answer
108 views

Issue with HR2 installation

We have installed Tridion 2011 SP1 HR2. We are facing some issues with Odata after the installation. OData is not coming up as expected and is throwing the below error. could not initialize class com....
4
votes
1answer
219 views

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

I've installing a fresh CMS using 2013 Sp1 Hr1. CM is all up and running and i'm just putting together the content delivery webservice. This is a separate website on my CD box and it's not linked to ...
4
votes
1answer
286 views

How to modify attribute types for the content delivery web service?

I am very new to Tridion and am starting to play around with consuming the content delivery web service in Java. The problem I am seeing is the similar to this post, https://stackoverflow.com/...
4
votes
1answer
198 views

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

On a Web8 XPM set up using DXA 1.2 I am getting the following error from Update Preview: Unable to update the changes using OData Service. The remote server returned an error: (406) Not ...
4
votes
1answer
110 views

Where are OData/ADF Access Tokens stored?

We have two serves running an OData CD Web Service behind a load balancer (each pointing at the same clustered Broker DB). Our web apps are configured to get an Access Token before making requests to ...
4
votes
1answer
244 views

oData request with query paramater as URL

Is there a way to retrieve the published content from broker DB by passing the page url as one of the query string parameter? Lets say i have a published page with path "http://host:port/AAA/index....
4
votes
1answer
129 views

How can we consume the Binary Content using Tridion CD OData web service?

I have found the SO Link which discusses about downloading the binary variant using OData service by using the HTTP URL as below, http://localhost:82/odata.svc/BinaryContents(BinaryId=159,...
4
votes
1answer
2k views

“(405) Method Not Allowed” when accessing oData.svc

I installed oData webservice in IIS on a Windows 2008 32 bit server using these instructions. http://www.building-blocks.com/thinking/installing-the-sdl-tridion-2011-sp1-net-content-delivery-service/ ...
4
votes
0answers
142 views

How to get all Component Presentations with all Custom Meta in single ODATA query?

I am trying to get all the Component Presentations and corresponding Custom Metas by applying a filter on a specific meta. I have formed the query and I am getting the required information I need by ...
4
votes
0answers
71 views

UGC - Delete rating

When I try and delete a rating with the following (token shortened for brevity): curl -X DELETE -H "Authorization OAuth client_idxxxx" http://ugc/odata.svc/Ratings(Id=634) I get the following error: ...
4
votes
0answers
114 views

How can I get Related Keyword in ODATA?

I have the following Keyword: The keyword has "Monuments" as a Related Keyword and, "Barcelona" as a Parent Keyword. I can not see the relation in ODATA How Can I get it? Thank you,
3
votes
3answers
371 views

How to create custom table in SDL tridion 2011?

I am not sure whether to ask this question here. I have a requirement where I have to validate a product code entered by a user on a page. Client will provide product data in CSV format and that will ...
3
votes
2answers
151 views

Optimal way to expose Tridion content to external systems?

We are currently using SDL 2013SP1 with Spring MVC at the front end and want to expose the HTML fragments to other external systems. Is creating REST API over ODATA a good option where external ...
3
votes
2answers
90 views

Publishing Component Template so it's queryable by oData

We have a requirement where we need to publish component templates to broker database (they are dynamic templates) the fastest and easiest way possible. We need this because we need to get list of all ...
3
votes
2answers
240 views

DD4T + OData using Java

We are planning to use DD4T using java for some POC. Just wanted to know how DD4T consumes odata service? Do we need any wrapper while using DD4T with java.
3
votes
1answer
200 views

Linking.svc URL in SDL Web 8

I am in the process of adapting my web app which uses the OData endpoints of Tridion 2013 to use the new endpoints offered by SDL Web 8. My old app used these two URLs to access the Tridion 2013 ...
3
votes
3answers
211 views

odata service query Page Content

I am trying to query a published page content by invoking the below odata service url. http://host:port/odata.svc/PageContents(PageId=172261,PublicationId=311) in the response i see only the links ...
3
votes
1answer
324 views

Get component template by Name through content delivery API

On the content delivery side I have filtered my components using metadata query, and now I have a list of components that need to be displayed. To get from component to component presentation next ...
3
votes
1answer
143 views

Is there any possibility to fetch CME folder path for dynamic components from broker database using Ambient framework or OData?

I need to retrieve the CME path of dynamic components in Rendition Engine. Is it possible using oData or Ambient framework API. OOO just provides me the path of pages and not dynamic components.
3
votes
2answers
169 views

Can Tridion's OData service be updated?

Looking at OData documents I want to be able to use the query option $select=... like this http://services.odata.org/OData/OData.svc/Products?$select=Name,Category. However, $select is only for OData ...
3
votes
2answers
110 views

Published pages not getting reflected in OData service

I am using the Tridion OData service to consume some data from a content-delivery database. When I fetch a list of pages using odata.svc/pages, it is returning results in the browser. But when I ...
3
votes
2answers
157 views

UGC: NoSuchFieldError: HEADER_USER_ID

I have configured UGC for a JSP website and I am getting the following error in the generated DCP. It seems to be looking for HEADER_USER_ID. org.apache.jasper.JasperException: An exception ...
3
votes
2answers
94 views

Can Content Delivery Web service work with content published to a file system, rather than a database?

I have few questions related to Content Delivery Web service: Will Content Delivery web service work if the content is published to a file system, and not to a broker database? If it does, how ...
3
votes
1answer
133 views

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

The use case is the need for the (plain text) contents of a binary variant in the Tridion Content Delivery web service. The Binary Variant URL is http://localhost:82/odata.svc/BinaryVariants(BinaryId=...