Asset Page Print Button Functionality via Workflow ?
Hay all,
As part of our Policy governance process, we have customized the Policy asset to capture the entire scope and contents of our corporate policies. So rather than linking a document elsewhere, or attaching a Words or PDF document as a file, we actually have the entire content authored, reviewed, and approved in Collibra.
That said, we will want to export this content to Word or PDF for at least two purposes:
- To provide visibility on approved policy to those that might not have access to Collibra
- To provide a means by which external stakeholders can comment on Policies still in review.
I noticed the Print Button icon as a part of the asset pages. Surprisingly, it does a pretty good job of displaying what we need. Is there a way in which I can – through a workflow or API call – generate the content that is produced by this button?
Or is there a better way of exporting this content?
Tom Friesen
Posted 4 years ago · Edited 1 year ago·Last reply 4 years ago
1 comment
arthurburkhardt
·4 years ago · EditedWell, the asset page preview is easy to get: https://xxx.collibra.com/preview?resourceType=Asset&resourceId=5597d098-7717-4e9a-a9bd-874ed1b9a72e
But then the pdf creation is entirely managed by the browser, there is no collibra functionality for the PDF generation as far as I can tell.
Therefore, you need a system that can get to the preview page and save it as PDF. Python script would do a fine job at that. I don’t see another option at this time.