I want to show a document without clicking on a button on onload of page. Is that possible?
27 Likes
To open a document onload of a page, follow the below steps:
Create an onload event and map it on the page/ any component/ any element.
The event will consist of the following taskgroup:
- Control copy task:
In this task, copy a fixed value to a path. The fixed value will be: {“fileName”:“random”, “fileUrl”:“file url path”, “fileType”:“application/pdf” } - Control copy task:
Parse the above path - Navigate to Viewer task
This will open a document viewer when the page loads.
29 Likes