CDA Broker API: Get ComponentPresentations from a list of component identifiers

I am trying to find out if there is a way to get ComponentPresentations by passing a list of ComponentIDs in one API instead of passing each one in a loop. In my case, all DCPs use the same pattern.

When I checked the API, I could not find any method that could accept a list of tcmids or something in these lines. The use case I'm trying to solve is to get all DCPs in one API call against a loop in 10-15 (in my case) and get each DCP independently, which is inefficient when we first got into the db broker.

I was able to get the same using the OData web service, but we are not ready to use Odata yet. I’m not sure that Odata and the broker's API are slightly different, but they can’t find any documentation explaining the differences in the capabilities of the Odata API at the request points.

Any help would be appreciated.

ENV: Tridion 2011 SP1, Java API.

+5
source share
1 answer

The OData and Broker APIs are very different. If you need information about OData, I recommend checking here and here .

No, you cannot perform this operation through the content delivery API. With a properly configured cache, you will beat the database only once per presentation of the component, so the impact is minimized ...

+6

All Articles