cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Dipak
Level: Powered On

Re: Custom method/function for avoiding repeated code in powerapp

hey

Is it possible if I want to use 1 custom function in all 5 locations on your screen instead of the repeated code?

Thanks

priyankbhat
Level: Powered On

Re: Custom method/function for avoiding repeated code in powerapp

Hi @Dipak ,

 

Easy way to do is

1. Add label to your powerapp screen and change visibility to false

2. write your script into OnSelect property of Label

3. You can call this script on other control(s) by calling 

Select(Label1)

Hope this helps.

 

Priyank Bhat

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 214 members 4,261 guests
Please welcome our newest community members: