Can I search for all versions of a content object used across publications?

Hi,

Using SDL Tridion Docs and Publication Manager V13.0.2 is there a feature that allows me to do a search and find all publications containing a given content object?

Ideally I want to see all languages and all versions of a content object.

Thanks in advance,

Ann

Parents
  • Hi Ann,

    Yes you can query the repository for this using the API layer.

    Using the Publication 2.5 Containing function ( https://docs.rws.com/801922/345692/sdl-tridion-docs-13-sp2/publicationoutput-2-5-containing ) you can retrieve the list of all publications which have the object GUID / object Version combination in the associated baseline.

    So following the flow as suggested below will give you all publication (versions) regardless the version of the content object:

    1/ Query for all versions of the content object ( https://docs.rws.com/801922/345426/sdl-tridion-docs-13-sp2/documentobj-2-5-retrieveversionmetadata )

    2/ For each version found in query of step 1

    2.1/ Execute the Publication 2.5 Containing function using the combination of the specific version number and the GUID of the content object

    2.2/ From the returned result set (containing the Publication versions which contain the content object GUID / Content object Version combination) from query in step 2.1, build a collection of publication versions.

    You do not need to look at the language level as the usage is driven through the baseline which is linking the GUID and version as used in one to many publication versions.
    You could off course check which FISHPUBLNGCOMBINATIONS have been published if you want to know which languages are used by the publication outputs.

    I hope this helps.

    Kind Regards,


    Raf

Reply
  • Hi Ann,

    Yes you can query the repository for this using the API layer.

    Using the Publication 2.5 Containing function ( https://docs.rws.com/801922/345692/sdl-tridion-docs-13-sp2/publicationoutput-2-5-containing ) you can retrieve the list of all publications which have the object GUID / object Version combination in the associated baseline.

    So following the flow as suggested below will give you all publication (versions) regardless the version of the content object:

    1/ Query for all versions of the content object ( https://docs.rws.com/801922/345426/sdl-tridion-docs-13-sp2/documentobj-2-5-retrieveversionmetadata )

    2/ For each version found in query of step 1

    2.1/ Execute the Publication 2.5 Containing function using the combination of the specific version number and the GUID of the content object

    2.2/ From the returned result set (containing the Publication versions which contain the content object GUID / Content object Version combination) from query in step 2.1, build a collection of publication versions.

    You do not need to look at the language level as the usage is driven through the baseline which is linking the GUID and version as used in one to many publication versions.
    You could off course check which FISHPUBLNGCOMBINATIONS have been published if you want to know which languages are used by the publication outputs.

    I hope this helps.

    Kind Regards,


    Raf

Children