Тёмный

The Ultimate Guide to Power Apps Deep Linking 

Shane Young
Подписаться 162 тыс.
Просмотров 26 тыс.
50% 1

#powerapps #PowerPlatform #CanvasApps #dataverse
In this video, you're going to unlock the secrets of Power Apps deep linking, specifically with Dataverse. Ever wondered how to send someone a direct link to a specific record in your Power Apps application? Well, you're in the right place! We'll dive deep into the mechanics of creating a URL that can be sent via email, Teams, or even carrier pigeons if that's your thing.
We'll cover the nitty-gritty details like identifying the primary key in Dataverse and using it to craft your deep link. You'll also learn how to use the OnStart property in Power Apps to set variables and navigate to specific screens based on the deep link. Plus, I'll share some pro tips on how to avoid common pitfalls and even how to integrate this with Power Automate and PowerBI.
So, if you're looking to become a Power Apps deep linking wizard, this video is your ultimate guide. Don't forget to like, share, and subscribe for more awesome Power Apps content!
Up your Power Apps Skills Today!
Link: www.powerapps911.com/up-your-...
0:00 PowerApps Deep Linking
0:33 App overview
1:17 Changing to VarRecord
3:52 Add an Icon to the container
5:03 Sending an email with the link
7:28 Adding a parameter to the URL
13:30 Setting varRecord from the parameter
17:07 Navigate to the correct screen
20:23 Making the ID dynamic
23:54 Other ways to use this concept
If you need some help with something you are working on, contact us!
Link: www.powerapps911.com/contact
PowerApps911
Link: www.powerapps911.com/
Let's connect on social!
Twitter: / shanescows
Facebook: / powerapps911
Instagram: / shaneyoung911
LinkedIn: / cincyshane

Наука

Опубликовано:

 

14 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 112   
@GreyDob
@GreyDob 8 месяцев назад
Hi Shane, thanks for the video. When you use a Sharepoint list, and after changing the variable ID to a Value... the value is zero, "not isblank" is always true in that case. I changed it to "IF ID>0 ,,," and it worked 🙂
@PatrickBellWebDev
@PatrickBellWebDev 5 месяцев назад
Did you have to change anything else? This doesn't currently work for me and I feel like something is missing.
@stephanie1460
@stephanie1460 7 месяцев назад
This is perfect! I've been fighting with deep linking for THREE YEARS and had given up on it ever working...followed this tutorial exactly and was able to deep link through Power automate! Thank you!!!
@ShanesCows
@ShanesCows 7 месяцев назад
AWESOME!!!
@claudiotassone
@claudiotassone 3 месяца назад
How did you manage to get deep link in power automate? I need this link into a power automate that sends an email to specific recipients everytime a record is created or modified by the app
@stephanie1460
@stephanie1460 3 месяца назад
@@claudiotassone set up your flow how you want it. in the body of the email, copy the link of the app with "&" and then "Dynamic ID" (select from the dropdown for sharepoint, or use whatever else for SQL/other databases) at the end. If you have everything else set up like Shane did in the app itself, it should work.
@prabineshbajracharya498
@prabineshbajracharya498 Месяц назад
@@claudiotassone did you find your answer? I have the same question
@claudiotassone
@claudiotassone Месяц назад
@@prabineshbajracharya498 nope
@natebig
@natebig 8 месяцев назад
Thanks for the updated video! I've done deep linking to specific screens before but not specific records. Starting a project this week that we'll need to link to records and I was about to look up your old video on the subject. Great timing!
@ShanesCows
@ShanesCows 8 месяцев назад
Glad it was helpful! Hope your project goes great!
@terencechengde
@terencechengde 2 месяца назад
Hey Shane, your videos are truly top-notch!! I am learning so much from you. Unfortunately I usually find resources on my work laptop where I am not logged in, so I can't like or leave a comment. But I still wanted to open this video on my phone so that I can leave this message. THANK YOU so much for creating such great content! It has helped me A LOT!
@ShanesCows
@ShanesCows 2 месяца назад
I appreciate the effort. 🤩 Have a great day.
@robarcy
@robarcy 5 месяцев назад
watched this once and went through too fast, slowed down and watched it again and now its working... imagine that. nice work tyty
@ShanesCows
@ShanesCows 5 месяцев назад
Glad it helped
@joycef1994
@joycef1994 7 месяцев назад
This is super super helpful, Shane! I was able to apply the concept of this tutorial for a Power Automate flow I am working on. Thank you so much for this!
@ShanesCows
@ShanesCows 7 месяцев назад
Glad it helped!
@spen2431
@spen2431 8 месяцев назад
Brilliant (as always) - Thanks for sharing Shane 💥💥
@ShanesCows
@ShanesCows 8 месяцев назад
You are welcome 🤩
@jeanpierreragequit1726
@jeanpierreragequit1726 8 месяцев назад
You are so didactic, its always a pleasure to follow your videos. Thx you so much.
@ShanesCows
@ShanesCows 8 месяцев назад
Thank you, I appreciate that. 🤩
@pennyp5822
@pennyp5822 6 месяцев назад
Hi Shane. Thank You for sharing. This is really awesome.
@dougydoe
@dougydoe 8 месяцев назад
Thanks for sharing, Shane. This is really cool. I guess I'll come back to this when I really need to implement this to refresh but getting the principle is brilliant.
@ShanesCows
@ShanesCows 8 месяцев назад
Appreciate that Doug!
@gregoryoliveira8358
@gregoryoliveira8358 8 месяцев назад
Wow! This will unblock amazing new features in my apps! Thanks a lot!
@ShanesCows
@ShanesCows 8 месяцев назад
You're welcome! Go build something awesome.
@therisingsun4828
@therisingsun4828 8 месяцев назад
This is a great style and I like this video. It's great to see how you've parsed through the feedback from the past four years and put together a cohesive video that addresses most people's pain points. Nicely done! Can't wait to see more. I have ideas to just store this URL in a column inside my Dataverse table so that it's readily there instead of having to generate it each time. Of course I'll have to test it with Power Automate to make sure it works! Thoughts? :)
@ShanesCows
@ShanesCows 8 месяцев назад
Should work no problem. Thanks for the kind words.
@AlexandrePerret
@AlexandrePerret 8 месяцев назад
Great explanation. When I do deeplinking, I use the startScreen to go on a loading screen only if the Param is given. Then on this screen, I use the onStart to get the lookups I need. I use a timer as well with a value of 1 or 2 seconds (depends if you make a lot of lookups and if your loading screen is beautiful to see or not ;) ). On TimerEnd, I navigate on the screen I need to. Furthermore, I don't use global vars if I don't need to, instead I use the Navigate with settings for local vars as object. The target screen is then responsible for loading the data I need on the onvisible.
@ShanesCows
@ShanesCows 8 месяцев назад
Cool. Thanks for sharing.
@Guano1983
@Guano1983 8 месяцев назад
I am doing basically the same, but instead of a loading screen with a timer I disable "Use non-blocking OnStart rule" in the settings and set variables in OnStart. That way the default PowerApps loading screen will be shown a tiny fraction longer but the screen is prepared when visible.
@ElenaArxerAndreu
@ElenaArxerAndreu Месяц назад
Thank you for sharing Alexandre! Do you know how can we get to that loading screen once the app is open?
@oluwatobipaul6171
@oluwatobipaul6171 8 месяцев назад
This is really helpful. Thank you Shane
@ShanesCows
@ShanesCows 8 месяцев назад
Thanks for the support! 🤩
@nathanlewis5782
@nathanlewis5782 8 месяцев назад
These tutorials are super helpful!! I might need a video of how to get a desktop app for power apps. I've been using only the browser option.
@ShanesCows
@ShanesCows 8 месяцев назад
On the desktop 99% of the world uses them via the browser. If you really want you can look in the Microsoft Store and install the Power Apps app and then you could open in that. Hope that helps.
@bayerbear6770
@bayerbear6770 4 месяца назад
Thanks for the updated video! Funny it's stil using 'old' features. :P
@EllieCarter5225
@EllieCarter5225 Месяц назад
Thank you! I wish you extended it to show the Power Automate and Power BI. I wasn't able to get the Navigate to work. I did follow this video several times. 🙂🙂
@chairattangthong
@chairattangthong 22 дня назад
Thank you for your kindness sharing with us ❤
@ShanesCows
@ShanesCows 22 дня назад
You are so welcome. Have a good weekend
@chairattangthong
@chairattangthong 22 дня назад
@@ShanesCowsthank you and you too sir ❤
@Morlyst
@Morlyst 8 месяцев назад
Hey shane! To get around the issue of navigating, use a timer set to the least possible duration. Its instant and works great.
@natebig
@natebig 8 месяцев назад
So you just put your navigate function in the timer OnTimerEnd? That's a great idea!
@ShanesCows
@ShanesCows 8 месяцев назад
Yes, that can work, just for me has lot of potential to cause race conditions if timings get off.
@Morlyst
@Morlyst 8 месяцев назад
​@@natebigthanks. Excactly! This ensures everything gets done in the right order. After the navigation is complete you want to clear the variable holding the parameter to avoid getting sent back the record each time you open the Main menu
@jjcooney9758
@jjcooney9758 8 месяцев назад
I do not like timeouts, this causes too many headaches and should be reserved for a last resort option. Too often this creates postback/onload issues.
@paolovr1970
@paolovr1970 8 месяцев назад
Thanks Shane 🙏🙏🙏
@ShanesCows
@ShanesCows 8 месяцев назад
Happy to help
@LearnPowerPlatformWithAbhinav
@LearnPowerPlatformWithAbhinav 8 месяцев назад
Hi Shane, Nice video. Can u help me on below points : 1. How to do you create video 2. How do you edit videos 3. Which webcam do you use 4. Which microphone do you use 5. Which laptop do you use
@ShanesCows
@ShanesCows 8 месяцев назад
I use Camtasia for recording and editing everything. I currently use a Logitech Brio but I used to use a Logitech c920. Microphone is a Blue Yeti. I use a desktop computer to get the most power for the buck. Nice video card is probably most important. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-q1fQYgAi4Dw.html I talkd a bit about my setup.
@LearnPowerPlatformWithAbhinav
@LearnPowerPlatformWithAbhinav 8 месяцев назад
@@ShanesCows Thx Shane for your reply
2 месяца назад
Hi Shane, As always your videos are hugely helpful. Any chance you could do a video on Deep-Linking to PowerApps created within Teams. As far as I can see there is no web-link option available in the Powerapps/Teams. Many thanks
@ShanesCows
@ShanesCows 2 месяца назад
I have never done it, not sure if it is possible or not. 🫤
@hereskieu1
@hereskieu1 8 месяцев назад
Hi Shane, can you do a video on how to create a deep link to a specific item for the patched form? Thank you!
@OsamaCharifa-hj1gb
@OsamaCharifa-hj1gb 7 дней назад
Hi Shane, thank you for your video, its really helpful. I have one question, how we can create a deep link to be open in Teams with record parameter, such like as PowerApps deep link that you mentioned in your video?
@ShanesCows
@ShanesCows 6 дней назад
I am not sure. I haven’t tried that one.
@juanfloresoviedo6664
@juanfloresoviedo6664 4 месяца назад
Hi Shane, thank you so much for sharin your knowledge. Your videos are great and easy to understand. Speaking of sharing, is there a way to allow a large group of user of my company suscribe to an app? It takes a long time to manage new users and permission, so I have a Microsof Form that runs with Power automate to let them use a SharePoint with some level of access and iT would be great that they can use the App without adding them. Thanks in advance
@user-xw4mx4fd4g
@user-xw4mx4fd4g 2 месяца назад
Hi, thanks for another really informative video! I have a wee question, if you're using the links in apps and flows as part of a solution and you export/import it as a managed soln to another environment I take it that all the urls would need to be updated in the new environment? Thanks.
@ShanesCows
@ShanesCows 2 месяца назад
Yes, you will have to manually update the URLs. I would make them a variable so you can update one spot to make it easier for you.
@debbilawson9619
@debbilawson9619 8 месяцев назад
I'm one of those who used your prior video to GREAT success, even before you redid it with Dataverse - you are the best! My question: What is the best way to PROGRAMMATICALLY determine (rather than hard coding) your environment's app URL? I have 3 Dataverse env. (Dev., Test, Prod) so I use a solution, of course, to promote updates, but the app URL is different in each of them. Right now, I'm hard-coding the URLs, but that falls apart now that other organizations want to use my app in THEIR Dataverse environments. I'm thinking of using an environment variable - do you have a better suggestion?
@ShanesCows
@ShanesCows 8 месяцев назад
I don't have a better suggestion. Sorry
@roomurray8822
@roomurray8822 4 месяца назад
Thanks very much for this guide. I've tried using it on a Sharepoint list Form that on the click of an Icon Launch an App with the same data. However the ID is always blank when I use the variable. It is fine hardcoded. Any Ideas?
@claudiotassone
@claudiotassone 3 месяца назад
Thank you also for this one @Shane ! Is there a smart solution to get this deep linking by Power Automate too?
@ShanesCows
@ShanesCows 3 месяца назад
If you want Power Automate to send a Deep Link to Power Apps the URL will be the same. You will need to figure out how to get the Primary Key (ID) into the flow and then have it append the URL. Should be straightforward. At the end of the day you just need the fancy URL with your &EmployeeID=1 to be sent in a message.
@MustafaFarooq
@MustafaFarooq 8 месяцев назад
What if we have more than one parameter to pass on? And how to deeplink into a powerapp pinned in teams with the parameter(s) , or if we are in teams already and click a link on an adaptive card or message/channel and dont wanna leave and have to view the record in the browser ?
@nicholasc5086
@nicholasc5086 8 месяцев назад
Great video Shane ! Have used this in my own apps after watching your old video. 🙌🏻 Do you if it’s possible to copy the link to the users clipboard rather than have them send an email?
@ShanesCows
@ShanesCows 8 месяцев назад
Yea, there is a Copy function now you can use. 😎
@happyhollowfarm--tn
@happyhollowfarm--tn 5 месяцев назад
Hi, excellent video, as usual, thank you for providing that. Had a question: in SharePoint 365 once an ap has been published and the user is in the list view on a SharePoint list, and they click on an item in the list view the app loads but at the home screen. Is there a way to get the app to load with the clicked-on record? Thank you, Chuck
@ShanesCows
@ShanesCows 5 месяцев назад
Do you know about custom SharePoint forms? ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-6j7jxKsLqdA.html
@benjaminlahsen6721
@benjaminlahsen6721 4 месяца назад
Hello Shane. What would be the business scenarios where this could be useful? Very cool video
@ShanesCows
@ShanesCows 4 месяца назад
Approvals is the most common. You want to send the person back to the app to review and approve. By giving them a deep link they go directly to the item. :)
@user-bo4qe9ww5n
@user-bo4qe9ww5n 8 месяцев назад
Thank you Shane!! Great video. Can this link be opened by someone outside the organization?
@ShanesCows
@ShanesCows 8 месяцев назад
The link can be clicked by anyone. Whether they have access to the app or not is up to you. Here is a video on external sharing ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-suk4eLS4A-E.html
@viva5187
@viva5187 7 месяцев назад
Thanks for the video! You mentioned something similar at the end using power automate but was hoping I could avoid it. In my app you patch values which create a new sharepoint list item. Is there a way to get that newly created items ID as it's patched/created, rather than obtaining it by looking up already created items in a gallery?
@ShanesCows
@ShanesCows 7 месяцев назад
Set(varID, Patch(.....logic here).ID) Will put the ID in the varID variable for you.
@DukeofDave
@DukeofDave Месяц назад
Hey Shane, would it make sense to use an If statement in the "startscreen" to determine which screen to open? I have an app where I might pass one of 3 or 4 different types of items via the URL, so would like to check which variable is populated and navigate to that screen.
@ShanesCows
@ShanesCows Месяц назад
That will work, i think you end up having to juggle more pieces but it will work.
@keiranbarber6864
@keiranbarber6864 Месяц назад
Thanks Shane great vid. Q: How can I dynamically access the URL of the PowerApp within the PowerApp itself? This would be beneficial so we don't have to hard code the URL and will change dynamically when releasing new versions, save as etc. Thanks Shane.
@ShanesCows
@ShanesCows Месяц назад
Not possible 😢
@keiranbarber6864
@keiranbarber6864 Месяц назад
@@ShanesCows thanks Shane
@ganeshroyal7281
@ganeshroyal7281 3 месяца назад
Hi Shane, your videos are very much helpful and informative. I have a doubt regarding the deep linking concept. I have implemented Deep Linking Concept, every time I publish the app with new changes the weblink gets generated. If I provide weblink in deep linking as hard coded. Is it going to take the new version Web Link? or else what is the solution to get the new published version web link. Thanks In Advance
@ShanesCows
@ShanesCows 3 месяца назад
The weblink doesn't change each time you publish it. 😀 The app URL will always be the same. So no problem.
@GroverParkGeorge
@GroverParkGeorge 8 месяцев назад
Correct me if I'm overthinking this. Isn't a second argument against using the direct reference to Gallery.Selected from a second screen that it forces PowerApps to keep the Screen on which that gallery located in memory, albeit invisible? Isn't passing the variable instead more like the concept of a State variable for a browser?
@ShanesCows
@ShanesCows 8 месяцев назад
Yes! Well put
@MrHhhscott
@MrHhhscott 8 месяцев назад
Could you set the variable in the Formula Property of the App, then use the start screen property to navigate?
@ShanesCows
@ShanesCows 8 месяцев назад
No because we need to change the variable when moving between screens in non deep link scenarios. Formulas variables can be changed in the app
@nayakstechbox1516
@nayakstechbox1516 3 месяца назад
Hi Shane, can we hide the app url ( it's showing in email link)which is hard coded in send email button. Please share some idea
@josecarlosbenitezmeyer645
@josecarlosbenitezmeyer645 8 месяцев назад
Great Tutorial really helpful, is it possible to add a validation in the in the form, I have an card where is stored the % of advance of a construction , I need that to be equal or greater it cannot be less, is it possible ?
@ShanesCows
@ShanesCows 8 месяцев назад
Yes, you will need to add logic to the app that checks your input and I would disable the save button until they meet your criteria. I show these techniques in this video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-WlWT0lWTGU8.html
@josecarlosbenitezmeyer645
@josecarlosbenitezmeyer645 8 месяцев назад
Hi @@ShanesCows i'd watchit already and I cannot make it work, any tips on how to save the preview value on a variable and make that the new input wont be lower?
@quitman3rd
@quitman3rd 8 месяцев назад
Hey Shane Thank you ! What is the best way to send you a request?
@ShanesCows
@ShanesCows 8 месяцев назад
Go to www.powerapps911.com and fill out the contact form at the bottom of the page. Thanks
@ericahell
@ericahell 3 месяца назад
Hi Shane, thanks for the video. I have done the steps as you described in the video but the navigate statement in OnStart property of the app is underlined and the message says "Navigation is not suggested in OnStart. Use the StartScreen property instead for better performance. Should I just ignore that one or what do you say? 😀
@ShanesCows
@ShanesCows 3 месяца назад
Ignore it 🤩 I talked about it in this video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-7MxXmGOkeLQ.html but basically there is no "suggested" way to do deep linking today, so we have to rock with this video.
@colinbell7281
@colinbell7281 2 месяца назад
@@ShanesCows I have hit this same snag and the retired button is not making a difference, so after some playing around and searching I have found the only way I could do this was to in fact remove the Navigate from the OnStart and instead write the following If function on the StartScreen "If(!IsBlank(Param("EMPID")),Screen1,WelcomeScreen)" Screen1 represents the screen I want to navigate to and WelcomeScreen represents the the first screen of the app Hopefully this will be helpful to others
@ShanesCows
@ShanesCows 2 месяца назад
@@colinbell7281 Thanks for sharing Colin and sorry Power Apps is giving you the run around. :(
@simonwoodfield3310
@simonwoodfield3310 2 месяца назад
@@ShanesCows I Shane, I have the same issue, powerapps won't allow navigate even with the retired option being reset, and it won't let me use a global variable in start screen, so I can navigate to the correct screen, but not with the record selected
@bingobangobt
@bingobangobt 7 месяцев назад
What if you still want to use your home\welcome screen if there is no varrecord??
@ShanesCows
@ShanesCows 7 месяцев назад
In my deeplink example if there is no parameter then your app will go to the default screen. Nothing special required to make that happen. 😎
@user-xw4mx4fd4g
@user-xw4mx4fd4g 8 месяцев назад
Hi, quick q. Does this work the same way if you're using a DataTable rather than a Gallery control? Many thanks.
@ShanesCows
@ShanesCows 8 месяцев назад
Not sure but probably. I never use Data Tables so you will just have to try and report back.
@user-xw4mx4fd4g
@user-xw4mx4fd4g 2 месяца назад
@@ShanesCows yes it did, but I then binned that off and went back to using a gallery! 😃
@husarzwadca8610
@husarzwadca8610 7 месяцев назад
In every tutorial I see people adding a new field to a form that's somehow magically the GUID number for their item... How do you do that? I don't have this type of column in my list.
@ShanesCows
@ShanesCows 7 месяцев назад
Are you using Dataverse or SharePoint. In SharePoint you use the ID colum, which is just a number. In Dataverse you add the uniqueidentifier column, which is a GUID.
@husarzwadca8610
@husarzwadca8610 7 месяцев назад
@@ShanesCows You are... absolutely right! ;) Instead of the way you wrote the code, I wrote: Set(varName; Value(Param("ParamName")));; If(Not(IsBlank(varName));Set(varRecord; LookUp('name of sharepoint list'; 'name of column containing ID' = varName));;Navigate('Screen'));; and it works like a charm... Thank you! Both for the video and the fast response.
@nadafathi8221
@nadafathi8221 6 месяцев назад
Hello I have a mail contains power apps link need when user press on this link the email subject save on power apps in a text Plz note that the subject is dynamic 😊 Acutely I tried to use the deep link ,but unfortunately it didn’t work Plz let me know how I can solve this Thanks 😊
@clausdev85
@clausdev85 4 месяца назад
If you create/send the emails with Power Automate, you can adjust the link dynamically. So at the end of the link with a parameter "&SubjectText="
@greg2kdotcom
@greg2kdotcom 8 месяцев назад
21:25 I need Datavorse in my life. Dataverse just doesn't cut it anymore 😉
@ShanesCows
@ShanesCows 8 месяцев назад
Is is very fancy 😹
Далее
My Puzzle Robot is 200x Faster Than a Human
21:21
Просмотров 5 млн
Cat Corn?! 🙀 #cat #cute #catlover
00:54
Просмотров 12 млн
Deeplinks in Canvas Apps
13:52
Просмотров 4,3 тыс.
Power Apps Advanced Forms
21:54
Просмотров 29 тыс.
Asset Management with Barcodes in Power Apps
19:51
Просмотров 22 тыс.
Power Apps Barcode Scanner For Inventory Records
8:06
5 Power Apps Performance Tips
22:33
Просмотров 13 тыс.
PowerApps Deep Linking
12:58
Просмотров 39 тыс.
Power Apps Variables - All 5 Types
30:11
Просмотров 7 тыс.
ОБСЛУЖИЛИ САМЫЙ ГРЯЗНЫЙ ПК
1:00
#engineering #diy #amazing #electronic #fyp
0:59
Просмотров 544 тыс.