GeneratePreview ( ContainerField )
Generate an interactive preview for container field without requiring user interaction
Be the first to rate this function Log in to vote
Justin Smith - Show more from this author
https://www.airchecklab.com |
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
When inserting a file into a container field via script step, we do not get a preview, and the resulting container is not interactive.
This method generates a preview and gets us an interactive container field.
Comments
Emmeuno Feb 18, 2022 |
||
Where paste custom function, in web viewer? Please show example. | ||
Justin Smith Feb 18, 2022 |
||
When inserting a PDF into a container field via script step, without user interaction, FM would only give an icon instead of making the container interactive. $PDF is a path to the PDF on disk that I need: Insert File [ Target: TABLE::Container_Field ; “$PDF†] Commit Records/Requests [ With dialog: Off ] Set Field [ TABLE::Container_Field ; GeneratePreview ( TABLE::Container_Field ) ] |
||
Justin Smith Feb 18, 2022 |
||
@Emmeuno, to use the custom function, paste it into your File » Manage » Custom Functions dialog | ||
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.