I am trying to pass a context variable with a PDF name to a PDF viewer screen to display a PDF (dynamically based on the variable passed). It is not working. Here are some screenshots.
Screenshot 1: initial screen passing context variable via "Navigate" function:
Screenshot 2: Next screen (where "Navigate" goes to), with p_file context variable displaying as text at top of the screen
Screenshot 3: Same screen showing "Document" function for PDF Viewer with static text -- this correctly displays the PDF (text matches the p_file variable from previous screenshot)
Screenshot 4: Same screen but "Document" has been changed from static name of PDF to p_file (which contains the same "string") and the PDF no longer displays.
So in conclusion, I'd love to be able to use a single screen to dynamically display PDFs based on their name -- instead of having to create a million different screens and display PDFs using static string names. Is this possible?
Side note: I really would like to be able to view PDFs that are stored on SharePoint, instead of within the app, but that has already been well documented and has been "Planned" for development for an exceedingly long time already.
To workaround this, please consider to create a collection to hold the name string and the corresponding PDF name (the file, or the URL), then use the lookup function to match the corresponding PDF file.
Community Support Team _ Michael Shao If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.