Issue with attaching/publishing assets inside DCRs using LiveSite Content Workflow
We are running into an issue with the behaviour of the "Attach Dependencies" task within the out-of-the-box Submit/Publish LiveSite Content Workflow, which is resulting in problems when publishing LiveSite pages, that reference DCRs, which in turn reference one or more assets.
Our LiveSite pages are setup to use SitePublisher components that are based on "DCR Datums". For each component instance we have across our LiveSite pages, these DCR Datums, in turn, would obviously point to a specific DCR managed within a TeamSite branch/workarea. The DCR/DCT definition itself, in turn, has a couple of items which include text, digital assets (such as image files, video asset files, etc.), and documents (PDFs, etc.).
When we use the out-of-the-box Publish LiveSite Content Workflow, and try and publish a specific SitePublisher/LiveSite page, the "Attach Dependencies" task is able to resolve the DCR dependency (from the DCR Datum) and attaches the DCR to the workflow correctly. However, it does NOT attach any of the referenced digital assets and/or documents, that are referenced from within this specific DCR. So basically, it seems the dependency resolution works only up until the DCR, and does not work transitively / hierarchically for further references within the DCR in question. As a net result, when we publish the LiveSite page, the page and the DCRs get published out to the Runtime, but none of the associated digital assets and documents are published - those have to be submitted and published separately.
1. Is this really the expected out-of-the-box behaviour for this workflow ? Or are we doing something wrong in the configuration ?
2. How have other LiveSite developers / customers resolved this ? If tihs is really expected behaviour, almost every customer using a LiveSite publishing model should be running into this problem.
3. Should we look at options to introduce a custom task in the workflow to manually resolve and add the DCR dependencies ? Has someone already done this before, is there a KB article and/or sample code avaialble with guidance around how to do it ?
Would appreciate any help the community can provide.
Regards,
Amit.