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

Implementing custom function

How to create custom functions and to use them in multiple controls ?

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Implementing custom function

Hi @Dipak 

 

I am afraid there is no direct way to implement this. If you think this should be added as a functionality then please raise an idea on: https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas
 
As a workaround for this, you can create a button and write the piece of code on the "OnSelect" property and set the "Visible" property as false. When you want to trigger this button without even selecting it, you can use expression: Select(Button1). This may not be the perfect way to implement this but until the functionality is added, in my opinion this is worth a try.
 
Hope this Helps!
 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

3 REPLIES 3
Super User
Super User

Re: Implementing custom function

Hi @Dipak 

 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Dipak
Level: Powered On

Re: Implementing custom function

Hey

In the thread which you have given does not meet my issue. Is there any way to write user defined functions and then use them repeatedly.

 

Thanks

Super User
Super User

Re: Implementing custom function

Hi @Dipak 

 

I am afraid there is no direct way to implement this. If you think this should be added as a functionality then please raise an idea on: https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas
 
As a workaround for this, you can create a button and write the piece of code on the "OnSelect" property and set the "Visible" property as false. When you want to trigger this button without even selecting it, you can use expression: Select(Button1). This may not be the perfect way to implement this but until the functionality is added, in my opinion this is worth a try.
 
Hope this Helps!
 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

Helpful resources

Announcements
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

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