Hello All,
We have requirement where end user will be consuming the PDF’s which are available in Bloomreach CMS assets via below mentioned URL.
Url: www.domainname.com/binaries/content/assets/channel-folder/sub-folder/sub-child-folder/sample.pdf
To the above PDF is there any possibility of adding metadata to the PDF ?
Note: We are trying to avoid creating metadata document type and link pdf to the metadata document.
Could you please let me know if there are any other possibilities.
Thanks!!
@machak @jeroen.hoffman
Could you please help.
machak
August 11, 2022, 1:13pm
3
I believe you should be able to add extra properties to assets itself by extending default assets document type,still, you are serving a binary file (unless you want to embed meta data into PDF directly…for that you can use Implement a Custom File Upload Preprocessor - Bloomreach Experience Manager (PaaS/Self-Hosted) - The Fast and Flexible Headless CMS )
In addition to what @machak said, you can add properties to the asset in the cms. It works the same as an image or a document. It does require some understanding of how the namespaces and editor templates work. This is not really documented anywhere so figuring that out will be a challenge…