Multi-part Assets
Some embedded assets (such as PDFs) cannot be inserted into the document via a simple tag as they are made up of multiple parts. To insert them we need to use the following syntax, replacing AssetTagName with the name of the tag.
{% for part in embedded_asset_parts(AssetTagName) %}{{ part }}{% endfor %}The embedded_asset_parts helper function returns an iterable list of parts (pages, in the case of a PDF) that we can loop over and display in our document.
This will also work for assets that do not have multiple parts as well as ones that do so if you have a table with multiple asset types then this technique will work for all assets in the table.