cancel
Showing results for 
Search instead for 
Did you mean: 

An option to create new custom functions in PowerApps in libraries

The coding part of PowerApps can contain complex code. It would be great if the code could be simplified by storying the code in libraries that can be maintained from within the PowerApps Studio.

Status: Under Review
Comments
Level 10

I agree with Pieter that this should be a PowerApps changing feature when this becomes possible.  When your add it:

  • then make it possible to export/import this library, so we can export it to other apps.
  • also add password and security properties. A bit like in vba excel.

 

I posted an idea on this matter my self a few months ago, see threat:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/Add-Stand-Alone-Function-to-PowerApps/idi-p/1104...

Level 10
Status changed to: Under Review
 

We are in the middle of developing a large PowerApps app and the amout of "code smell" is really high. We basically have copy-pasted formulas all over the place. If we update the logic in one place we have to remember to do the same in several other places. Considering there is no way to search for formulas in PowerApps - we have a perfect storm situation

WPB
Level 8

Just to link similar posts:

Consider voting for these ideas 🙂

 

https://powerusers.microsoft.com/t5/PowerApps-Ideas/Create-custom-functions-macros/idi-p/6187

Level: Powered On

Agreed!  A sortable library of code, in a customizable pop-out window/pallet, would be far better than the Word doc compilation I am currently using.

Level: Powered On

@DenisMolodtsov  I totally feel your pain.  One thing I've had to resort to when making changes to a cloned function and I cannot recall all the places a clone exists is to export the msapp file and use Notepad++ to hunt through the unzipped msapp with Find/Replace.  I still have to go back into the PA Studio to go to each clone and make the change, but it has helped me find clones I totally forgot about. PITA but it's been better than nothing.