1

I am using odata service to query broker database. I want to get the page detail which is created from a given component.

I have a list of components and for each component I want to fetch all the pages published which are using that component.

I can get the link of page through the Component ID using the Broker API method of GetLink available in the ComponentLink class of Tridion.ContentDelivery.Web.Linking.

Can anyone suggest how can I get the links of pages relevant to this Component using the ODATA service?

2
  • 1
    Your question is very vague. Is your page published from the CMS? is your component published dynamically? Finally, have you tried hitting the Odata webservice via the browser and see what entities are available? Commented Sep 15, 2013 at 15:20
  • 1
    @user2781215: have you already been able to retrieve a the relevant Component through OData? If so, you can normally get to the Pages quite easily by adding /Page (or /Pages) to the end of the URL. If you show your current code, it'll be easier for people to show where you need to head next. Commented Sep 15, 2013 at 20:14

1 Answer 1

2

There is another webservice for linking: /linking.svc. Its mentioned in the online docs [login required], heres an example URL (.NET):

http://mywebservice/linking.svc/componentLink?sourcePageURI=tcm:1-50-64&targetComponentURI=tcm:1-55-16&excludeTemplateURI=tcm:0-0-0&linkText=MyLink

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.