Working on a questionnaire app that I only want to users to be able to submit responses through once a day. Switching out the lookup from a maintenance list to attempting to find an existing record in my data source based on current user & date matches this logic perfectly. Having a hard time wrapping my head around all this declarative stuff and what I can actually accomplish within the limits of StartScreen so found this extremely helpful. Thanks!!
I did something like this a couple years back but found (at that point in time) that the lookup to my "service log" list just took too long to run. That list had columns for "service start" and "service complete" date/time fields so I could basically schedule maintenance windows. If folks were on a fast connection (desktop/laptop on wifi or ethernet), it worked great. On slower connections, it took so long to load that it often timed out or users gave up. I learned that it was just easier to either (A) make the updates at a time that I KNEW nobody would be using the app or (B) manually toggle a "maintenance mode" variable in the app, save/publish it, then toggle back when done.
If you're doing Deep Linking actually there's another simpler way you can make this work with code just in StartScreen and no requirement to turn on Navigation legacy commands in the OnStart. I was using the Switch(Param("screenname") solution already in my StartScreen. So for me the solution is to type something like this: If(LookUp('Maintenance', ID = 1).'App Build' = "1B", MaintenanceScreen, (Switch(Param("screenname"),"thisscreen",ThisScreen, "thatscreen",ThatScreen,HomeScreen)))
Yea but I need the variable set with the record. You could move that code to OnVisible for the screen but that gets goofy. I still think as of today the easiest route is OnStart for all of it. But if you are happy with what you have and it works then 😎
Thanks for sharing. I will say because it sounds like you imply otherwise at about 7min 55 seconds, that Power Apps can accurately display raw HTML generated from an Enhanced Rich Multiline text field from SharePoint. So therefore one would not have to write HTML to achieve the stylized effect.
Hello Shane, many thanks for explaining a nice concept. This requires a lot of time, hence will use next time surely.. Just one request for you: from the time since MS introduced StartScreen property, all the application having deep linking not working if we make any change. Request I'd you make a video of StartScreen with Deep Linking, that will be a great help. Many thanks again..!!
Like this? ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-7MxXmGOkeLQ.html My advice? Leave OnStart Navigation enabled until Microsoft finishes fixing StartScreen.
Shane, I'm brand new to Power Apps and was lucky enough to find you a few days ago. Slowing working through your vidoes with the aim or rebuilding a workplace application that was built in the totally wrong environment - at great $$$. :( The takeaway for me from this video (did I mention I'm new???) is the User(). ... Figured this functionality must be there somewhere! :) I want to filter data based on the user - is this a sensible way to customise data display based on who is using the app? Datasource will likely be sharepoint lists.
Congratulations for the channel, I have learned a lot from your teachings! I'm having difficulty putting an image on sharepoint with power automate, in the sharepoint column in image format, without using the attachments column. Can you make a video explaining how we can make this upload.
Shane this is a great video as always BUT awesome people like you find work arounds.. I'm not sure as i do actively send ideas in ... i think asked for this to be a standard feature.. along with 'login as user' when developing just so 'we' can test the function as user and not 'Admin' .... wow just realised (English spelling :P) how much I'm using quotes!. i am so grateful for people like you and Reza Dorrani ( also helped me in the early days) who share their knowledge even though its your business!).. i actually got in to Powerapps/Flow because of watching your RU-vid channel :) then my IT department had me shut down because i was filling the gaps they had left with 'old' systems. (shadow IT) i think i got called lol Please take a big thank you from a 'little' guy in UK for being inspirational and sharing but also teaching people in real honest terms in showing a mistake is also a good thing :) PS just for good measure more 'quotes' :P
@@ShanesCows lol always a good day :) genuinely ..thank you for what you do.. your a very inspirational person who has enticed so many people to learn soo much! great guy :) ps hitting the US (again) 2023 and in your 'neck of the woods' might buy you a beer
Hi Shane. Is there a way we can map Power App SharePoint list from a staging to a development list keeping the rules validation as it as and saving time/effort
I agree. I managed not to get sunburned once this summer. 🤩 My face really just likes to get red and the camera always makes it look way worse than it is. 😎