Are there any plans to introduce Functions / Subroutines / Procedures into PowerApps.
I am finding the OnSelect scripts are becoming very large (100s to 1000s lines) and difficult to maintain as the same lines are repeated numerous times.
There's a post in the ideas forum about this. Unfortunately, it's still under review.
Do you ever use the Select function?
To you make your OnSelect code more maintainable, you could split it over multiple hidden buttons and call each button with the Select function.
+1 for this.
I did look a little into creating a Collection of Code Snippets, ala:
Name = "FirstChar",
Which gives me the code but you need to set the variables on your page rather than passing them to the function.Might give someone a start though Thanks,Nicky
Thanks for your feedback.
Currently, custom functions, Subroutines and Procedures are not supported within PowerApps.
If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
Learn how to build the business apps that you need.