https://unofficialsf.com/wp-content/uploads/2022/09/largeUCSF-300x133.png 0 0 Alex Edelstein https://unofficialsf.com/wp-content/uploads/2022/09/largeUCSF-300x133.png Alex Edelstein2021-01-24 19:44:082021-04-23 08:26:10Easy PDF Viewing in Flow
Easy PDF Viewing in Flow
Here’s a simple component that takes the id of a Content Document and, if it’s a PDF, renders it in a flow screen:
I’ve taken the great work by Anny He and simply wrapped it into a Flow Screen Component.
In my example (see video), I first query for all the Content Documents in my org and then use Datatable to enable the user to select 1 for viewing.
Additional Resource: Information about how Content Document data structures work.
Version 1.0.1 Unmanaged 1/21/21 Comes WITH DEMO FLOW, but the demo requires datatable, which in turn requires two base packs.