Today’s learning on Patch is important as it relates to Lookup and Choice fields which are more similar than you might think. They are highly relevant to Patching to Sharepoint lists as they help us to maintain the ties to related lists.
If you’ve signed up for the course you can head directly to the first video here.
I avoided using Power Apps Patch for a very very long time. I didn’t understand it. It stressed me out, so I left it alone. When I prepared my course on Power Apps from Zero to Hero, it was obvious to me that I was missing the Patch function in a BIG way, so I wrote a whole module on it and it’s coming very soon, and how soon is up to you.
I REALLY like the Power Apps Launch Function – you can use it to open a web page, sent an email, even make a phone call. Here’s a short video on how to use it and you can use the syntax below to make it work for you.
If and Switch are two closely related formulas. As they are fundamental to creating conditional behaviour, they are also fundamental to being successful with Power Apps. Basically, you need to learn them!
Roughly speaking you’ll use if in the following circumstances:-
There are 2 outcomes
The if condition is based on a number of factors such as if(ThisItem.Title = “Hello” && ThisItem.Value>10,Red,Blue)
Switch is helpful if you are just looking at 1 field but would like to do different things based on the value in the field.
In the example if the formula was placed on a button inside a gallery we could use the button to navigate to different screens. “Hello” takes us to the Hello Screen, and “World” navigates us to the World screen