Multiple container records on a single parent record
I have a scenario where I want to be able to upload multiple PDFs against a single parent record and then select which one is viewed.
I'm using a portal of the container table with the InsertFile script step to easily allow a user to add PDFs against a parent - that's not so much the issue.
However, I'm struggling to come up with a way to view/(stream) a given PDF as obviously they will not view live from a portal, only from a field placed directly on the layout.
From the attached image, the right hand side shows container ID 11, which is document 1.
How can I have this change at the user's request to show container ID 12 or ID 13 which would in turn populate the viewing field with document 2 or document 3 respectively?
Thanks in advance