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?

  • 2
    Possible: yes. Just don't use the supported client libraries, you could talk directly to the web services. – Nuno Linhares Mar 6 '17 at 12:30
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

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

  • Thank you vinayk. I was wondering if there is an option to override SDL content library and override the endpoint url – Rafeeq Mar 6 '17 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 '17 at 12:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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