Power Apps StartScreen, OnStart, and Deep Linking fix

Поділитися
Вставка
  • Опубліковано 9 лют 2025
  • Do you want to have logic for which screen shows up first in your Power Apps app? Then you need this video. We talk about the new App.StartScreen, App.OnStart, and the retired feature you may need to enable to use Deep Linking. Not being about to use Navigate in OnStart is something new to think about.
    If you are looking to set the first screen or welcome screen or intro screen in your Power Apps app then look no further.
    Power Apps Consulting and training at www.PowerApps9...

КОМЕНТАРІ • 159

  • @npyatt5531
    @npyatt5531 3 роки тому +5

    My organization spent $1500 on my training for PowerApps and I have to tell them I learned more from a playlist of free UA-cam videos.

    • @ShanesCows
      @ShanesCows  3 роки тому

      Sorry about that. On the bright side I have training classes with me and they are cheaper than $1500. 😍 training.powerapps911.com I am actually teaching a live class this week. I love teaching!

    • @Mattmatt-rf2rp
      @Mattmatt-rf2rp Рік тому

      same i did a two day course. day 1 beginner day 2 intimidate. Spent two days following and just copying the instructor not actually learning.

  • @HoneyBadgerJAB
    @HoneyBadgerJAB 2 роки тому

    Hi Shane! Thanks for your videos Sir. Just want to say I appreciated this on Deep Linking and when I saw that screen of the images of Chewy my heart broke a bit for you brother. I know per your other video that he has passed and just wanted to express my condolences. It's evident to all who watch you how important he was to you and I hope you are as well as can be here a few weeks later. Not sure how much random youtube followers comments mean but you were in my thoughts then when I saw it and now again seeing this. Keep doing what you're doing.
    Jordan

  • @catmage
    @catmage 3 роки тому +5

    Thanks, Shane! Great video as always. Side note, kudos for one of the clearest explanations of imperative vs declarative programming I've heard

    • @ShanesCows
      @ShanesCows  3 роки тому

      Thanks Robert. I was nervous trying to explain that part. I am glad it didn't turn out to be hot garbage. 😍

  • @ozzyanddad
    @ozzyanddad 4 місяці тому +1

    this was awesome and so much easier than what I saw on other videos :)

  • @christophmeirich5928
    @christophmeirich5928 2 роки тому +2

    Well done!!!! Thx so much!!! It works pretty good and is so helpfull!!! Greetings from Germany ... Christoph

  • @rachelxuhtx
    @rachelxuhtx Рік тому +1

    Thanks Shane! I can make the deep link work; however, I've got issue with the launch screen, it won't load the main screen when ID (the parameter) is empty. What did I miss? Thanks!

    • @627361p
      @627361p Рік тому

      I probably solved the problem (I hope).
      In OnStart property please change the IF condition.
      On video we have varBAID0 but it doesn't work in my app and I changed to !IsBlank(varBAID) and It works for me.

  • @akshaynm
    @akshaynm 3 роки тому +2

    Nice tutorial Shane, as always.. 🙂
    Many Thanks!!!

    • @ShanesCows
      @ShanesCows  3 роки тому

      Happy to help. Have a great day. 🐶

  • @prisonsearch5732
    @prisonsearch5732 3 роки тому +2

    Hi Shane, found some interesting stuff to deeplink to an (employee-)ID that is working without enabling navigate function in retired features in settings. Using startscreen to navigate to the screen as shown in your vid, and then, on detail page, adding some code to item: if param id = X then show sharepoint-list-item with id X. else show the selected item in gallery.

  • @farrahelda6551
    @farrahelda6551 3 роки тому +1

    Thank you, Shane ! help to solve the issue fast. Keep it up, love to watch your video :)

  • @razkenable
    @razkenable 7 місяців тому

    Thanks Shane. Your videos are very beneficial and informative. I have a question! How do you collect fields before navigating to the screen in Powerapps, when using SharePoint as a source?

  • @ArmandoMualumeneAG
    @ArmandoMualumeneAG 2 роки тому +1

    Hey Shane. Thanks for the videos. They are very clear and easy to follow. For whatever reason my deeplinking is NOT working. I have followed all the steps you provided. I have enabled the Navigate function in App.Onstart, but still it won't work. The page that I am trying to show is a printpage that is generated every time a Non-conformance report is issued. Print Page with Form Viewers. I am stuck and do not know what do here?

  • @lhsdline
    @lhsdline Рік тому +1

    Shane, great video. Let me know if I'm on the right track with this idea, watched a couple of your videos...I could hypothetically create a Deeplink URL to a specific "User Profile" where they could click "ClockIn" or "ClockOut". In addition to this URL, I could write it to a NFC tag where upon scan would open directly into this User specific App screen based on the assigned URL UserName ID?

    • @ShanesCows
      @ShanesCows  Рік тому +1

      Sounds like it would work to me.

  • @finnpower92
    @finnpower92 Рік тому +1

    Thanks again, I found what I was looking for.

    • @ShanesCows
      @ShanesCows  Рік тому

      Happy to help. Have a great day. 🐶

  • @conaxlearn8566
    @conaxlearn8566 2 роки тому +1

    15:27 I'm looking for an example of how to shift from navigating in OnStart to using the StartScreen without turning on the legacy feature but still able to fetch the employee record while going to the employee detail screen. 😅
    I'm testing with checking Param in both OnStart and StartScreen. In OnStart, if Param has an employee ID, then Set(varEmpRecord, Lookup(......)), and in StartScreen, if Param has an employee ID, then EmployeeDetailScreen.
    It seems to work, but i'm not sure if I'm missing any critical points.

    • @ShanesCows
      @ShanesCows  2 роки тому

      I am still recommending to turn on the feature that allows Navigate in OnStart. StartScreen just doesn't work in this scenario reliablely yet. :(

    • @conaxlearn8566
      @conaxlearn8566 2 роки тому

      @@ShanesCows Ok. Thank you so much Shane, for your tutorials. 😃

  • @cullencraig
    @cullencraig 2 роки тому

    Legend pal. This has been a great help to me! Thanks.

  • @ljievsesd
    @ljievsesd 3 роки тому

    Thank you Shane!! This helped finalize a couple of apps I was working. 🤗

  • @PamelaPatch-if8sm
    @PamelaPatch-if8sm 10 місяців тому +1

    Thanks Shane! I have followed many of your you tube videos. I think I'm missing a step because I cannot get my deeplink that opens the specific record to also open the gallery of the repeating table for that record. Can you offer any input?

    • @ShanesCows
      @ShanesCows  10 місяців тому

      Set the Gallery Default property to varRecord. 😀

  • @viktornystrom2867
    @viktornystrom2867 3 роки тому +1

    Hi Shane! First off, I really appreciate your videos. Something I've thought about though, could you maybe put timestamps in your videos? That would help when navigating them and looking for a specific solution. Thanks!

    • @ShanesCows
      @ShanesCows  3 роки тому

      I am trying to do more of them. My last 2 videos have them. The problem is it takes a lot of work for me. 😎

  • @MP-py7pt
    @MP-py7pt Рік тому +1

    Hi Shane, thanks for this. Have you ever known DeepLinking to take ages to load a record, but works totally fine when not deeplinked (i.e. just run the PowerApp as normal and select a record through the Gallery)? Mine has suddenty started to behave this way and unsure why!

    • @ShanesCows
      @ShanesCows  Рік тому

      I have not ran into that. Sorry

    • @MP-py7pt
      @MP-py7pt Рік тому

      @@ShanesCows Thanks Shane, it was a Microsoft bug in EMEA region. Got fixed after about 5-6 days.

  • @blancaguzman-i9f
    @blancaguzman-i9f Рік тому

    one question, I just added a powerapps inside a powerbi, and I have conditioned the startscreen depending on the value of the parameter that I get from powerbi to powerapps, in the app it works, but when I open the powerbi it doesn't, why can it be? thank you!

  • @TracyWork
    @TracyWork Рік тому

    Great video as usual! I am trying to do deep linking from a SharePoint list and pass a variable for the selected item. I try to assign a variable like you do in this video but the variable does not get set unless I put that assignment in the loading of the form. Does the App OnStart get skipped when you are deep linking from a SharePoint list?

  • @rozhinimani9249
    @rozhinimani9249 3 роки тому +2

    Great video!! I’ve been trying to figure out why my app is suddenly broken. I used the deep linking method on one of my older apps (the way you showed us to retrieve a specific record) and now the deep link is broken, even tho the enable navigate function in App.Onstart is turned on in settings … how do I fix this so that the param takes the user to a specific screen and shows a specific record?

    • @ShanesCows
      @ShanesCows  3 роки тому

      If you have the setting enabled under retired it should work same as always. Double check that or even turn it off and back on.

  • @kamozzi1
    @kamozzi1 3 роки тому +2

    HI Shane, great video. i have a quick question, one of our PowerApp developer has left and was an admin on one of the apps, how can i get access to the app to make the changes to the app?

    • @ShanesCows
      @ShanesCows  3 роки тому +1

      ua-cam.com/video/YA0IdOZnM78/v-deo.html

  • @lawrenceparker5045
    @lawrenceparker5045 Рік тому +1

    Hi Shane! If you have a filter on a PowerApps screen with a gallery, is there a way to deep link a value into one of the search fields so when user clicks on the link with the parameter, the gallery will display based on the param value?

    • @ShanesCows
      @ShanesCows  Рік тому

      Yes, but it would be a tad tricky. You would need to set the input to use the variable as the default. In my head, should be possible.

  • @q-breezy4826
    @q-breezy4826 3 роки тому

    I usually create a user variable that stores several pieces of information like what permissions someone has for a given app (I have a data source with a permission name and a person field and then I look up the current user to see if they have any particular permissions, like are they a director, or the payroll manager, or HR business partner, etc...). This often drives whether or not they are allowed to see data (did they create it, are they the manager of who created it, do they have a roll that allows them to see it) and what they can do to the record (view it only or edit). With this new feature, especially for deep linking, I have to declare a start screen first before I know what record they want to see, if they are allowed to see it in the first place, and if they can edit it or only view it. I'm pretty sure I need to enable the retired feature for this (I can come close but not quite all the way without the old feature), but do you see a fix for any of this soon? Or do you know of any ways to handle this without the retired feature enabled? (a form's default mode which is leveraging global variables that haven't been set when the App.OnStart property is run is giving me particular headache. Would ditching the form help with this? Why have a form feature if there are so many benefits to not having a form....?)

  • @vikastripathi545
    @vikastripathi545 2 роки тому +1

    Hi Shane, I have lines on code on app.onstart. I have Navigation function at bottom of app.onstart. Now, When I moved navigation to app.startscreen then it navigates to the screen but some of the field values could not be set. Because app.onstart and app.startscreen start to run at the same time and do not wait for app.onstart code to complete execution. Could you please help on this?

    • @ShanesCows
      @ShanesCows  2 роки тому +1

      Don't use StartScreen is my answer. Turn on the feature to enable navigation in OnStart and ignore StartScreen until they work out the kinks.

  • @ricardounzueta9570
    @ricardounzueta9570 2 роки тому +1

    Nice video Shane. I have a scenario in which my app is a model driving app with custom pages. Is possible to implement Deep linking to a custom Page in this scenario?

    • @ShanesCows
      @ShanesCows  2 роки тому

      I don't know... That is a great question and I am guessing No but that is only a guess. :(

    • @ricardounzueta9570
      @ricardounzueta9570 2 роки тому

      @@ShanesCows Thanks Shane!!!, Will continúe investigating this topic, I Guess the same like you but I Will try to así MS to see if there is a way. Will notify you if I find out something.

    • @ricardounzueta9570
      @ricardounzueta9570 2 роки тому

      Hi Shane!! your guess was correct, there is no way to do it with this approach confirmed by MS. I have added it in the PowerApps ideas web.

  • @paulsadd4219
    @paulsadd4219 2 роки тому +1

    Just found this update Shane...thanks....is there a plan to update it further? I notice now that MS have removed the 'Enable Navigate' option in settings so you can't turn it back on anymore. Have you already done a session on Deep Linking at the Start Screen?

    • @paulsadd4219
      @paulsadd4219 2 роки тому

      Ignore me I'm a moron....didn't dig deep enough. Oooops!

    • @ShanesCows
      @ShanesCows  2 роки тому

      Glad you found it Paul. No way to do it but what we have here. 😑 They do plan to deal with this at some point.

    • @paulsadd4219
      @paulsadd4219 2 роки тому

      @@ShanesCows As long as they don't turn off the 'fix' before they give us an alternative🙏

  • @nicoletimmons2344
    @nicoletimmons2344 3 роки тому +1

    Someone may have already mentioned this but another option for using the old deep linking method with one minor tweak that seems to be working for my app which I'm preparing to launch soon: 1) turn off the retired "Enabled Navigate function in App.OnStart" setting 2) the remove the Navigate step from OnStart formula 3) add an If statement to your StartScreen property: If(Value(Param("RequestID")) > 0, scrForm, scrWelcome) NOTE: Update this to the names of your screens and your parameter of course.)

    • @DDSTechnion
      @DDSTechnion Рік тому

      Just the missing piece I was looking for. Thanks.

  • @resrudeboy
    @resrudeboy 3 роки тому

    great video Shane, can you tell me where you changed the "getting data screen" at 14:34?

  • @JohnSmith-hi6du
    @JohnSmith-hi6du 2 роки тому +1

    G'day Shane, I'm a little late to this party although would that setting also affect triggering onVisible of the start screeen? Just had some weird issues with an old app and stumbled on this video.

    • @ShanesCows
      @ShanesCows  2 роки тому

      No, OnVisible is unchanged. If you are having problems with OnVisible I would recommend adding some labels to the screen or using the Notify function so you can see what is happening.

    • @JohnSmith-hi6du
      @JohnSmith-hi6du 2 роки тому

      ​@@ShanesCows Thanks for the advice! I've tried adding the labels (and later some notify/error calls) and I've found that for one app it calls both onvisible and the app.onstart only when using the basic notify or setting a variable used for a label etc. However if the app.onstart more complex code (its a ~4 year old app), it does not call the onvisible of the landing screen. I've tried every combination of the settings you had mentioned (and others) and no joy. What is stranger again, other apps seem to behave differently with the same settings e.g. both are called. Looks like its going to be another long support call with Microsoft :(

  • @MrEk5150
    @MrEk5150 3 роки тому +3

    Thanks for the video Shane. Question about StartScreen: does this mean that if I'm running rules OnStart to navigate to a screen based on a variable that this will no longer work?

    • @ShanesCows
      @ShanesCows  3 роки тому +1

      Correct, in new apps, with the Retired setting turned off, you will have to rethink how you do it.

  • @traveldirt
    @traveldirt 3 роки тому +1

    Thanks for the video. If we use the new property to navigate to a screen does all the App.OnStart code still run? I do a lookup to a record in DV based on a Param Id set in the URL. Then set a global variable called varRecord with the record details. However, since this change this sometimes works, sometimes not. I either get a screen with a bunch of empty controls or the data gets loaded. Do u know if there are still bugs with this new property and it affecting what gets loaded with App.OnStart?

    • @ShanesCows
      @ShanesCows  3 роки тому

      With that much logic I would stick with OnStart for now. I talk about it in the end of the video that some things still only work the old way.

  • @paulinedahne
    @paulinedahne 3 роки тому +1

    I have a deep linking app that is in production but it broke today in that the PowerApps URL is taking the user to the wrong default screen. If I set the App.StartScreen to the correct default screen will that break the complex logic that is in configured in App.OnStart? I have checked and the Retired feature Enable Navigation function in App.OnStart. Don't really want to test on this business critical app? Thanks Shane!

    • @ShanesCows
      @ShanesCows  3 роки тому

      Don't put any logic in StartScreen would be my recommendation. Keep the feature turned on and it do it like you always have :)

    • @paulinedahne
      @paulinedahne 3 роки тому +1

      @@ShanesCows I have found the issue why my app was going to the wrong screen. Originally I was testing if my variable that is set by the param was not equal to 0. It appears that it is not equal 0 if the link is used with no param set. I have changed my code to
      Set(
      VarReqID,
      Value(Param("RequestID"))
      );
      If(
      !IsBlank(Value(VarReqID)),
      Set(
      varRecord,
      LookUp(
      'SharePointList',
      ID = VarReqID
      )
      ) && Navigate(ApprovalScreen)
      and it now navigates to the correct start screen if simply using the link to start the app with no param
      Not sure why this behaviour has changed as this app has been working successfully for many months. Thanks for all your help - couldn't do my job without you

  • @kearley8792
    @kearley8792 3 роки тому

    Shane. I've followed your example covered in this video. There's a strange thing. The correct screen is shown when I'm in the studio running the app. But when I go directly to the app via the url given in studion, it will only pop up the first screen in the tree.
    Any ideas?

  • @moneyodsg
    @moneyodsg 3 роки тому +1

    Great video, quite interesting. Unrelated to this video though, I want to view live ip camera feeds within powerapps, Microsoft stream only support content on its own platform and the video option does not seem to work when using the rtsp url for my hikvision camera. I'd like to hear any suggestions you might have on this.

    • @ShanesCows
      @ShanesCows  3 роки тому +1

      I don't think I have any good suggestions. :(

    • @moneyodsg
      @moneyodsg 3 роки тому

      @@ShanesCows Thanks, that might be just what I needed to hear. Keep up the great content Shane. Take care

  • @19Runner88
    @19Runner88 Рік тому +1

    Everyone keeps saying the first screen in the tree is the default. They say all you need to do is save and publish. But Its just not working for me. It keeps opening the original 1st screen even though its at the bottom.
    Thank you for the StartScreen step!

    • @ShanesCows
      @ShanesCows  Рік тому +1

      Awesome! Glad it worked out for you Gabe!

  • @denniswarren5871
    @denniswarren5871 3 місяці тому +1

    I have found that in deep linking, if you use the App.StartScreen for example to switch to a specific screen based on a passed parameter that the screens' OnVisible event does not fire. I have to NOT use the App.StartScreen when doing deep linking and instead navigate from the App.OnStart.

    • @ShanesCows
      @ShanesCows  3 місяці тому

      Yeah, I still use OnStart for all deep linking scenarios. It is the only way I trust. 🙂

  • @keimomomon
    @keimomomon Рік тому +1

    Thank you, Chewy and Shane! 😉

    • @ShanesCows
      @ShanesCows  Рік тому

      Happy to help. Have a great day. 🐶

  • @putriayunurbayti1393
    @putriayunurbayti1393 3 роки тому +1

    Always great video !

  • @jyothsnaguduguntla828
    @jyothsnaguduguntla828 3 роки тому +4

    Thanks Shane! So with the new App.StartScreen setting, How do we pass context variables to the navigating screen?

    • @ShanesCows
      @ShanesCows  3 роки тому +3

      You cannot. :( If you need to variable stuff you are back to use OnStart today. Hopefully that will change.

    • @jyothsnaguduguntla828
      @jyothsnaguduguntla828 3 роки тому

      @@ShanesCows Thanks for the reply.

  • @BryanSeigneur0
    @BryanSeigneur0 3 роки тому +1

    Should I be able to reference App.StartScreen? Say I had a home button on every screen, and I wanted to duplicate the app quickly. Can the home buttons be set to OnSelect =Navigate(App.StartScreen, none) instead of specifying a screen? [This doesn't appear to be working for me.]

    • @ShanesCows
      @ShanesCows  3 роки тому

      Nope but creative idea. 😎

  • @kamozzi1
    @kamozzi1 3 роки тому +1

    So Shane, if we have an old app but need to make some changes to the app, with the retired option turned on. The app will still work?? As I’ve an app where I have used set global variables with param for deep linking. Please advise?

    • @ShanesCows
      @ShanesCows  3 роки тому +1

      Correct. With the setting on nothing has changed.

  • @KenWarthen
    @KenWarthen 3 роки тому

    Shane, Can the Param function be nested like below?
    If(Param("ScreenLink")="Onboarding",DetailOnboardingScreen,
    If(Param("ScreenLink")="Offboarding",DetailOffboardingScreen,
    If(Param("ScreenLink")="FTEOffboarding",DetailFTEOffboardingScreen,
    If(Param("ScreenLink")="FTEOnboarding",DetailFTEOnboardingScreen,
    If(Param("ScreenLink")="NewRole",DetailNewRoleScreen)))))
    If I'm setting the record ID in OnStart. Will OnStart finish before StartScreen runs?

  • @robertpapancsev8891
    @robertpapancsev8891 3 роки тому

    The fix is not working for me! It only works the first time you use and open the app, after that if the approval gets a new email with link, it will navigate to the same page as the first link did. We didnt had this issue before this change. I m looking for a workaround that will do the same job with deep linking.

  • @Andyandrwew144
    @Andyandrwew144 3 роки тому

    Hey Shane! How I used to dynamically choose a screen on start is through a timer.
    App OnStart I set a variable to true to start the time
    Timer OnStart I set the variable to false.
    Timer OnEnd I set all the variables I need and navigate the user dynamically (works with URI)

    • @Andyandrwew144
      @Andyandrwew144 3 роки тому

      Also, I would create a collection like this ClearCollect([@Screens], {Screen: Screen1, ID: “Custom ID”}); and navigate Timer OnEnd using this Navigate(LookUp([@Screens], ID=“Custom ID”)).Screen

  • @rejoabraham7743
    @rejoabraham7743 3 роки тому +1

    Thanks Shane
    This is really good.

    • @ShanesCows
      @ShanesCows  3 роки тому

      Thanks. 🤩 I appreciate the kind words.

  • @blaschkesita
    @blaschkesita 3 роки тому +1

    As always my hero. Thanks!!

    • @ShanesCows
      @ShanesCows  3 роки тому

      Happy to help. Have a great day. 🐶

  • @b.o.b7197
    @b.o.b7197 3 роки тому +1

    Hey Shane, great video.
    I have an app that is used in an area without cell service and uses the LoadData function to determine the access level and start screen of a particular user. Being imperative logic, will it ever be possible with the StartScreen or will my apps always have to use the OnStart property?
    Thanks for your help!

    • @ShanesCows
      @ShanesCows  3 роки тому +1

      Microsoft is working towards solving this. 😎

  • @adamxxx8546
    @adamxxx8546 11 днів тому +1

    It's quite problematic property. I check in StartScreen if user (user's email) exists in sharepoint list. Sometimes startscreen can't find user (and it's not a problem of delegation, I would say it's a lag) and immediately shows wrong screen. Or.. it loads proper screen, but some rules/collections in OnStart can't load before StartScreen and this "proper" screen is broken.

    • @ShanesCows
      @ShanesCows  11 днів тому

      I don't use StartScreen at all. I turn on the feature for Navigate from OnStart and do it the old way to avoid exactly that confusion. :)

    • @adamxxx8546
      @adamxxx8546 11 днів тому

      @@ShanesCows Hah! Well, I think I will follow you :)

  • @KWSSERVICES
    @KWSSERVICES 3 роки тому

    Hi Shane,
    Just wondered if you had done any kind of investigation work around using the SharePoint Integration feature and this new StartScreen capability? When you use the SharePoint Integration, you get options around making things happen specifically in the New, View and Edit etc and I've often wondered about the overall order & priority and how that operates alongside the OnStart event. If the StartScreen is now available as well it seems there might be three places to alter 'starting' actions so which comes first and how does all of that work?
    Any thoughts or experience in this regards would be very good to hear. Thanks a lot. Alan C.

  • @steegbj
    @steegbj 3 роки тому

    Hi Shane, thanks for a great explanation of this new functionality. What I'm trying to accomplish is related to the deeplinking part. When the Parameter 'ProjectID' is not empty, I want to navigate to the project details screen. That is the easy part. When the users land on the details screen, I want to select a project record from a collection in PowerApps to show the project information. So I want to set the variable varRecord to a record from a PowerApps collection. Can I use Lookup to accomplish that?

  • @juanp.ortizm.3018
    @juanp.ortizm.3018 3 роки тому +1

    Hi, great video. I want to thank you for your dedication, I have a question, if I want, in a combobox show all the users of my office 365 and save it in a user type field of a sharepoint list, how can I achieve it, using patch?
    Thank you very much

    • @ShanesCows
      @ShanesCows  3 роки тому

      This video ua-cam.com/video/gsk14D-CYRE/v-deo.html

  • @oskarkuus
    @oskarkuus 3 роки тому +1

    So if you use deep linking in the on start function with navigate command. Then move to new startscreen and replace navigate to screenname.
    Or just put code in button and on the onstart use select button. Maybe timer...

    • @ShanesCows
      @ShanesCows  3 роки тому +1

      This video explains how it all works. ua-cam.com/video/A5Pi5P2YKds/v-deo.html

  • @MP-py7pt
    @MP-py7pt Рік тому

    Is there any delegable way to deeplink to a record? I have deeplink set-up that work for the first 2000 records but after that the link doesn't work due to the 'LookUp' part of the formula.

    • @MP-py7pt
      @MP-py7pt Рік тому

      I fixed it, it was the Value bit of my formula that wasn't delegable. Changed it from If(!IsBlank(Value(Param("ID"))),Set(varRecord, LookUp(Controller,Value(ID) = Value(Param("ID")))) to With(
      {wParam: Value(Param("ID"))},
      If(
      !IsBlank(wParam),
      Set(
      varRecord,
      LookUp(Controller, ID = wParam)
      )
      )
      )

  • @NilankaPerera
    @NilankaPerera 2 роки тому

    Why deeplinks doesn't work when opening links within iPhone or iPad?

  • @veromice648
    @veromice648 11 місяців тому +1

    hi!! can u make a video to warning the users if there is another user who has the same screen open? like, if you hve an approval gallery and there are two approvers, I need a warning for me to know that someone else may be working on that!! thank youuuuuuuuuuuuuu

    • @ShanesCows
      @ShanesCows  11 місяців тому

      Try applying this concept - Power Apps Maintenace Screen StartScreen and Deep Linking based on app version
      ua-cam.com/video/Z-5OMRy7G_M/v-deo.html
      You will need to write to a datasource when someone opens the screen and closes it.

  • @fadiahdab
    @fadiahdab 3 роки тому +1

    Thank you Shane, Actually, I tried to replicate what I am doing in-app on start property like declaring a variable
    then set a value in that variable using lookup and as a result of the variable value I use navigate switch to a specific screen
    but unfortunately ، I can't declare any variable there
    any idea pls

    • @ShanesCows
      @ShanesCows  3 роки тому +1

      Correct, StartScreen doesn't allow for imperative logic (like setting a variable) that is why in later part of the video I talk about you will still have to do things the old way for now.

    • @fadiahdab
      @fadiahdab 3 роки тому

      @@ShanesCows Thank you

  • @sajidkazi5850
    @sajidkazi5850 3 роки тому +1

    Hey Shane! That's a very informative video. Any Idea how to remove deeplink parameters from url. Because once a user goes to a deeplinked url and then tries to view other item, it always loads the same item since deeplink parameter is present in the url

    • @cvkealey
      @cvkealey 3 роки тому +4

      I've run into this and what I usually do is basically reload the app by using a Launch() formula. For example, let's say the deep link takes the user to a screen showing a specific item from a gallery. On that screen, there's a button or icon that navigates to the home screen (or somewhere else). In the OnSelect for that button/icon, add an if to account for the parameter and, if present (or, "Not(IsBlank())"), then Launch("") rather than Navigate(). It's a bit of a hack, but it works.

    • @ShanesCows
      @ShanesCows  3 роки тому

      Chad's idea works. I also usually only put my deep link check in App.OnStart so it doesn't trigger again while they are running the app.

    • @cvkealey
      @cvkealey 3 роки тому

      @@ShanesCows That's what I do, too, but we have a lot of folks who just love hitting F5/clicking the reload button. When they do that, it just drives them back to that form/screen that they're "done" with and they get confused. Consequently, I almost never use deep linking for user-facing apps (due to the potential for confusion).

  • @Fernando_Calero
    @Fernando_Calero 3 роки тому +2

    Shouldn't it have landed in the Admin page @7"08"?

    • @ShanesCows
      @ShanesCows  3 роки тому +1

      I think it was because I didn’t refresh the browser or something like that. Boo me.

  • @cmacdhon
    @cmacdhon 2 роки тому +2

    I swear, Powerapps will be the death of me. Enable navigate OnStart is enabled, but I still get a 'Navigate is not allowed error.' I think I am going to look for a job working with animals.

    • @ShanesCows
      @ShanesCows  2 роки тому

      After you enabled the feature did you save and close the app. Then refresh the browser. Then go back in? That is what I would try if it wasn't being nice. :| Chewy could use a dog walker if it doesn't work out. 🤪

  • @saikiran4820
    @saikiran4820 3 роки тому +1

    hi shane you have done power apps offline mode part 1 right can i know where is part 2

    • @ShanesCows
      @ShanesCows  3 роки тому

      I haven't made it. It got rolled into my advanced training class but hasn't made it to UA-cam so far.

    • @saikiran4820
      @saikiran4820 3 роки тому

      @@ShanesCows can i get your advance trainig class courses link its needed for me please

  • @ayhanhacioglu
    @ayhanhacioglu 3 роки тому

    Hi Shane,
    I love watching your powerapp videos.
    Thank you for your great work and sharing.
    I would like to ask you one question for using wmic with powerapps.
    In your opinion, can we use wmic together with powerapps for collecting software inventory from the computer?
    What do you think about this? Is it possible?
    Thanks in advance
    Ayhan

  • @KWSSERVICES
    @KWSSERVICES 3 роки тому +2

    Hi Shane, thanks for the really useful explanation of this feature amd I understand the need for speeding up the loading of an app when a user needs a new screen or to look at an existing record, but not being able to use a variable/condition to decide which screen to open really is rather limiting.
    Further to Eric Kirkpatrick's point below, oftentimes you want to display a record in a particular screen (such an Approval screen or a protected 'Published' screen or similar) which depends on a 'Status' value from within the record itself. And it's not always possible to get that set as a 'Param' within the URL which can be used in the StartScreen event. So how can this thinking work in this kind of circumstance? I'd hate for this to be one of those situations where one problem is fixed at a significant cost to a whole bunch of other previosuly standard (working) ways of doing things. Any thoughts about the 'conditional/variable' situation would be really helpful.

    • @ShanesCows
      @ShanesCows  3 роки тому +1

      The later part of the video I talk about this a bit. For now you will have to do things the old way. Microsoft knows this is a challenge and will solve it before taking away the old way. 😀

  • @lwhite3225
    @lwhite3225 3 роки тому +1

    Great stuff as always! Question: can you use two parameters in the same app? I have an app that works with two SharePoint lists (Payment Request and New Vendor Request) to create requests. As of now, the email generated when a user submits a new Payment Request contains a link directly to the item in the Payment Request SP list on the edit/review screen. I haven't yet tackled how to do the same thing with a parameter for the New Vendor Request. Using the new StartScreen, can I put logic that would check for either parameter and navigate to the correct item in the correct list on the correct screen? Whew! This is giving me a headache.

    • @ShanesCows
      @ShanesCows  3 роки тому

      Yes. Just add a second &MySecondParamater="Chewy" to the URL. Then query for it OnStart and do your business.

    • @yehunlavolontededieu322
      @yehunlavolontededieu322 3 роки тому

      Thanks a lot Shane you saved my holiday ,I been scratching my head the entire week to have different role based deep links for diff key players in the approval process but unfortunately there are not much deep linking contents out there for some reason and i had no idea i could create more than 1 parameters in the same app . 😀thanks to this comment to clarify it , it wasn't clear @14:54 if you said "you can't /can create more than one parameter "

    • @yehunlavolontededieu322
      @yehunlavolontededieu322 3 роки тому

      You and Chewy may have a blast holiday of course your entire family to. thank you the support in the community

  • @gristy58
    @gristy58 3 роки тому +1

    will the existing app just break and need fixing, or not until the next time i edit it?

    • @gristy58
      @gristy58 3 роки тому

      sorry just watched rest of the video thanks for the great content

    • @ShanesCows
      @ShanesCows  3 роки тому

      Will not break. Glad you caught it further in also. 😀 Have a good day!

  • @ipinky7
    @ipinky7 2 роки тому

    maybe you know this trick: I tend to develop stuff with "debugging" info/output in the code, but I want to hide it if run normally, if you in StartApp If(!IsBlank(Param("debug")),Set(varDebug,true),Set(varDebug,false)), then you can put a label on any screen and have it output stuff you need, no need to add a new label everytime, just change it's debug contents...

  • @orquisa
    @orquisa 2 роки тому +1

    you are a genius

  • @hyuriaraujo
    @hyuriaraujo Рік тому

    Obrigado Shane

  • @iamintractable1805
    @iamintractable1805 2 роки тому

    I'll submit that the performance issue Microsoft complains about is one that impacts their servers and not necessarily the user experience. However, it is important to point out that many applications use the ON START because they can do their lookups and calculations and store the results in variables so the data can be used in other places. What the StartScreen does, is force you to grab the data from a source twice in many cases. Once just for start screen and since this method cannot access variables, again as global or context variables if the values are needed elsewhere in the APP. So, explain to me how this is a performance boost if I am doing two data calls. I suppose the goal is to free up the system to load the screen and also do the ON START in parallel, but often the first screen needs values from variables so it may not display accurately when initially displayed.

  • @meryemgazanayi5665
    @meryemgazanayi5665 Рік тому +1

    u saved me

  • @JemicoTX
    @JemicoTX 3 роки тому +1

    I have made two attempts to comment on this video with how I have experienced this change, but my comment has been deleted twice. Sorry if I do not understand what is objectionable in my comment.

    • @ShanesCows
      @ShanesCows  3 роки тому

      Wasn’t me Jeff. Not sure why your comments would disappear 😑 I have been teaching all day so haven’t been on. Sorry. I don’t delete even mean comments.

    • @ShanesCows
      @ShanesCows  3 роки тому +1

      Hey I double checked and your comments also didn't end up in spam. I don't know what happened to them.

  • @hujintao6862
    @hujintao6862 3 роки тому +1

    Have you been skiing Shane!? 😂

  • @robvanbreemen6660
    @robvanbreemen6660 2 роки тому +1

    Legend

  • @christianberger6390
    @christianberger6390 2 місяці тому +1

    Passionnant

  • @headflask
    @headflask 3 роки тому +1

    nice!

  • @ipinky7
    @ipinky7 2 роки тому

    similarly you can Set(appVersion,"Vx.y.z") in onStart and have use that value in every screen for your version info