Hi Shane, on 16:38 you are adding a collection to the gallery. This no longer works in the latest version because this function will be retired. By default this feature is now disabled, you can still use it by enabling the retired feature. What would be the alternative here?
Thank you Shane! I have one more great use for Named Formulas. Now that Microsoft is requiring that you explicitly select the columns you want to use in an app, you can use a NF to save a record throughout your app. You set the NF with a Lookup function and the selected columns and the Lookup filter can be set with a global variable. Now you'll always have the record available with the selected columns everywhere in your app.
If I have too many variables or context variables will it afect the performance of the app? for example during onvisible and onhidden I do some stuff with all the variables
It depends. 🤣 Sorry, that is a tough answer but it does. How many variables are we talking? Does the app feel slow when you use it? Do you really need to update all of them all of the time? Could you make some of them Named Formulas instead?
Another excellent video and a good revision lesson for me. Amazing how you can still learn a thing or two about functions you may have used a number of times; Like chaining a number of variables within UpdateContext. Thanks for always taking time out to share. Appreciated.
Can I use named formula to set a sharepoint connection, so that I can test my app in a test sharepoint list first, and then when I'm ready to carry it over to production sharepoint list, I'll just have to change 1 variable?
Really well articulated and provides clear guidance on the differing types of variables and where to use them. The 'With' example will be really useful for me. What would be beneficial is using slightly more complex scenarios/functions in the examples rather than just text - something that I can link to my work. Thanks Shane, awesome work.
Hello Shane, I enjoyed your video. I have an important question: If I use Named Formulas for my SharePoint List ‘Rooms,’ which contains 6000 entries, will I encounter delegation issues? In other words, does Power Apps handle Named Formulas similarly to how it handles SharePoint Lists? Many Thanks in advance Code: Formulas: nfSharePointRooms=Rooms Galley: Filter(nfSharePointRooms;StartsWith(Name;"A"));
Great shane 🎉🎉... I have a small request... Could you please make some videos on responsive apps.(Using containers inside containers etc..). Thanks in advance 🤗
Great work Shane, very clear explanations. I shared this with a junior of mine who was struggling to grasp the different concepts.....he finally gets it 😮.....after I have told him repeatedly for past few weeks. 😂 You always seem to release content covering the right topics, at the right time.😊
Fantastic!!! But the frog wishes to take complete credit for all your hard work in this endeavor. After-all, i spent 3 seconds pushing the turtle's-head out, thinking of this on the bog (British low-class term for 'rest room') - all you had to do was take time out of your productive day providing us your years-long knowledge for absolutely no value in return - how selfish is that !!!! 🤣🤣😎😎😍. You-the-man Shaney, thanks so much!!!! Just realized something important on bridging Power Platform: The 'With' function in Power Apps is very typical of Power BI DAX functions when declaring variables. - maybe a topic?
@@ShanesCows This is actually quite simple! 😄 You can navigate from Screen1 to Screen2 and pass a context variable like this: Screen1: OnSelect: Navigate(Screen2, ScreenTransition.None, {myVariable: "Hello, World!"}) Screen2: Text: myVariable This will pass the value "Hello, World!" from Screen1 to Screen2 using the context variable myVariable.
Shanes presentation style literally matches my brain activity. Perfect.
Twinsies! 😎
@@ShanesCows haha 😝
Hi Shane, on 16:38 you are adding a collection to the gallery. This no longer works in the latest version because this function will be retired. By default this feature is now disabled, you can still use it by enabling the retired feature. What would be the alternative here?
Thank you Shane! I have one more great use for Named Formulas. Now that Microsoft is requiring that you explicitly select the columns you want to use in an app, you can use a NF to save a record throughout your app. You set the NF with a Lookup function and the selected columns and the Lookup filter can be set with a global variable. Now you'll always have the record available with the selected columns everywhere in your app.
If I have too many variables or context variables will it afect the performance of the app? for example during onvisible and onhidden I do some stuff with all the variables
It depends. 🤣 Sorry, that is a tough answer but it does. How many variables are we talking? Does the app feel slow when you use it? Do you really need to update all of them all of the time? Could you make some of them Named Formulas instead?
Another excellent video and a good revision lesson for me. Amazing how you can still learn a thing or two about functions you may have used a number of times; Like chaining a number of variables within UpdateContext. Thanks for always taking time out to share. Appreciated.
Glad you enjoyed it!
Can I use named formula to set a sharepoint connection, so that I can test my app in a test sharepoint list first, and then when I'm ready to carry it over to production sharepoint list, I'll just have to change 1 variable?
No, but you can do that with Solutions and Environment Variables th-cam.com/video/o-yL57DuUDE/w-d-xo.html
I was getting ready to look for this exact topic. I’m trying to get up the learning curve on Power Apps. I appreciate this a lot. Thanks
You're very welcome!
Really well articulated and provides clear guidance on the differing types of variables and where to use them. The 'With' example will be really useful for me.
What would be beneficial is using slightly more complex scenarios/functions in the examples rather than just text - something that I can link to my work.
Thanks Shane, awesome work.
Thanks Lee. Yeah the challenge is when I do more complex scenarios then people get lost by them. Hopefully you can bridge the gap. 🤩
Though advanced variables could be a fun video game
@@ShanesCows That is very true - what you show certainly ticks the box for me. Keep it up, I use your channel a lot for references.
Hello Shane, I enjoyed your video. I have an important question:
If I use Named Formulas for my SharePoint List ‘Rooms,’ which contains 6000 entries, will I encounter delegation issues?
In other words, does Power Apps handle Named Formulas similarly to how it handles SharePoint Lists?
Many Thanks in advance
Code:
Formulas:
nfSharePointRooms=Rooms
Galley:
Filter(nfSharePointRooms;StartsWith(Name;"A"));
NF don’t change delegation rules. So yeah, you are going to have challenges.
Thank you for this fantastic video. The way you explained and gave examples was very easy to understand.
You're very welcome!
Good stuff, Shane. I'm a .Net developer learning the power platform, and this is a solid video going over the variables and scopes.
Awesome, thank you! I hope you enjoy your learning of Power Platform. I wish more pro devs would give it a chance. 🤩
@@ShanesCows Dataverse is the thing that has me hooked.
Hi Shane, thanks for the video! i had never used thw with function before in my apps, but i can really see how useful that will be gping forward.
Glad it was helpful! 🤩
Great shane 🎉🎉... I have a small request... Could you please make some videos on responsive apps.(Using containers inside containers etc..). Thanks in advance 🤗
I really need this, Thank You Mr.Shane 🙏🙏🙏🙏.
Awesome, glad to help.
Nice and simple explanation
Thank you!
Happy to help. Have a great week!
Great work Shane, very clear explanations.
I shared this with a junior of mine who was struggling to grasp the different concepts.....he finally gets it 😮.....after I have told him repeatedly for past few weeks. 😂
You always seem to release content covering the right topics, at the right time.😊
🤩 That is awesome. Thanks, I always enjoy hearing impact stories like this.
Fantastic!!! But the frog wishes to take complete credit for all your hard work in this endeavor. After-all, i spent 3 seconds pushing the turtle's-head out, thinking of this on the bog (British low-class term for 'rest room') - all you had to do was take time out of your productive day providing us your years-long knowledge for absolutely no value in return - how selfish is that !!!! 🤣🤣😎😎😍. You-the-man Shaney, thanks so much!!!! Just realized something important on bridging Power Platform: The 'With' function in Power Apps is very typical of Power BI DAX functions when declaring variables. - maybe a topic?
I should have called out the frog. It was 100% your question that pushed me over the edge on doing this 😎
Always to the point. Priceless 💰💰💰💰💰💰. Thanks
Happy to help. 🤩 Have a great week!
Thank you Shane
Have a good weekend!
Also Navigate( Screen [, Transition [, UpdateContextRecord ] ] )
I have never used that technique and I find it super confusing so I don't teach it. 😁
@@ShanesCows This is actually quite simple! 😄
You can navigate from Screen1 to Screen2 and pass a context variable like this:
Screen1:
OnSelect: Navigate(Screen2, ScreenTransition.None, {myVariable: "Hello, World!"})
Screen2:
Text: myVariable
This will pass the value "Hello, World!" from Screen1 to Screen2 using the context variable myVariable.
In fact a named formula is able to ready a gallery and be updated like that. Gallery must be in the page, just a bad tricks btw ^^
"As" would have been a good addition it's almost like "with"
I agree. Where were you last week when I was planning 😛 Love me some As
If Buddy has the time maybe he can wipe out variables part 2
Great explanation again. Thanks
My pleasure! So much confusion with this topic, I tried to be complete. 😎
Thanks :)
No problem!