3

Is there a way, based on some condition can I connect to different content services? e.g.: I have two different discover services and based some scenario I would need to fetch data from an another discovery/content service. Is that possible?

1
  • 2
    Possible: yes. Just don't use the supported client libraries, you could talk directly to the web services.
    – Nuno Linhares
    Mar 6, 2017 at 12:30

2 Answers 2

3

Yes you can. As Nuno mentions in his comment, you may opt not to use the CIL library in your web application and use a Web Service Reference to directly connect to the OData Content Delivery service. This means that you can rig up your own logic to determine when and where to make the connection.

Tridion's (SDL Web's) OData implementation follows the OData protocol documented by Microsoft (e.g. here: http://www.odata.org/documentation/). So you can leverage it however you need in your implementation.

2
2

No, this is not possible. CIL can connect to only one discovery/content service per instance.

2
  • Thank you vinayk. I was wondering if there is an option to override SDL content library and override the endpoint url
    – Rafeeq
    Mar 6, 2017 at 8:29
  • I don't think it is possible at CIL level, as the content client is designed to work with only one Content service at any point of time.
    – vinayknl
    Mar 6, 2017 at 12:07

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.