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

Implementing custom function

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

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User
Dual 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
Dual Super User
Dual 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!

Highlighted
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

Dual Super User
Dual 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
thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

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