Publishing APIs help

Looking for some pointers / help in API around publishing.

1. We can create the publication / output format, via the API, but how do being the publishing process, I am not seeing an obvious API call for this.

2. Has anyone used the CompletedBaselineByCandidateAndMode? Need some help in how to use the API. Specifically the pasStartLogicalids and paStartResourceLogicalIds, what are these referring to.

3. How do we set conditions via the API, not seeing an obvious API call for this either.

Parents Reply
  • I would suggest polling for FISHPUBSTATUS, where "Draft" is an end status of publishing. Meaning "Draft" means there was a successful rendering/deployment (let's say PDF) created and attached, what "Draft" means that not all quality gates are met (think autocompleted versions, broken hyperlnks, etc)

    More details and crosslinking below...

    ISHRemote's (Get-IshLovValue -LovId DPUBSTATUS).IshRef command shows you the static element name (IshRef) of all possible states of a PublicationOutput workflow on a Tridion Docs 14 system

    VPUBSTATUSTOBEPUBLISHED
    VPUBSTATUSPUBLISHPENDING
    VPUBSTATUSPUBLISHING
    VPUBSTATUSPUBLISHEDDRAFT
    VPUBSTATUSPUBLISHEDRELEASECANDIDATE
    VPUBSTATUSPUBLISHINGFAILED
    VPUBSTATUSRELEASED
    VPUBSTATUSPUBLICATIONMODIFIED
    VPUBSTATUSPUBLISHINGCANCELLED
    VPUBSTATUSDEPLOYINGDRAFT
    VPUBSTATUSDEPLOYINGRELEASECANDIDATE
    VPUBSTATUSUNPUBLISHPENDING
    VPUBSTATUSUNPUBLISHING
    VPUBSTATUSUNPUBLISHFAILED

    Quickly dropped made some private notes public on https://github.com/sdl/ISHRemote/issues/72 on introducing a Wait-IshPublicationOutput cmdlet

Children
No Data