In this Pragmatic Works tutorial, Nate Halliwell, Senior Trainer, demonstrates how to create deep links in Canvas applications. Deep linking allows users to navigate directly to a specific screen within a Canvas app and even pre-load a particular item, streamlining workflows such as approvals.
Nate uses a simple Canvas app designed to track PTO (Paid Time Off) requests. In the demo, he submits a sample PTO request for "Nate needs a vacation" and demonstrates how a Power Automate flow can notify the approver by email when a new request is submitted.
www.myapp.com.?) to indicate the start of parameters.&), e.g., ?approval=1&ItemID=19.Nate explains that parameters allow the app to determine which screen to open. For instance:
approval=1 indicates the approver is opening the app.ItemID=19 specifies the PTO request item to load.These parameters help bypass the default home screen and navigate directly to a specific approval screen.
StartScreen property determines which screen appears when the app opens.Param function, you can conditionally open another screen.If Param("approval") is blank → Go to Home Screen
If Param("approval") is not blank → Go to Approval Screen
Once the app navigates to the approval screen, Nate shows how to pre-load the item specified in the URL parameter:
VAR_ItemID) in the OnStart property.Item property of the form to this variable, ensuring the correct record displays automatically.approval and ItemID parameters.Nate concludes by encouraging viewers to apply these techniques to their own Canvas apps and highlights the versatility of deep links in various scenarios. For more tutorials, he invites viewers to like and subscribe to Pragmatic Works’ YouTube channel.
Don't forget to check out the Pragmatic Works' on-demand learning platform for more insightful content and training sessions on Canvas Apps and other Microsoft applications. Be sure to subscribe to the Pragmatic Works YouTube channel to stay up-to-date on the latest tips and tricks.