web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Unknown or unsupported...
Power Apps
Unanswered

Unknown or unsupported function in Power Fx formula bar

(0) ShareShare
ReportReport
Posted on by 65

Hi all,

I am adding a custom button to the command bar in a model driven app. Certain functions (such as ClearCollect) in the formula bar give me the message:

'ClearCollect' is an unknown or unsupported function.

 

Using 'Patch' on the other hand works fine. As I type, Intellisense offers 'Patch' as a suggestion which I can accept and continue on.

 

According to the online documentation ClearCollect is valid for model driven apps. When I added the command button I chose Power Fx, not Javascript. My component library was built successfully. I have not been able to find any setting that I have missed, although I suppose that is still a possibility.

What am I missing?

 

Categories:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    on at

    Hi @kcward55 ,

     

    I'm afraid ClearCollect is not supported for with commanding in model-driven apps, cause clear and collect are not supported.

    vbofengmsft_0-1704763446645.png

    I think this link will help you a lot:

    https://learn.microsoft.com/en-us/power-apps/maker/model-driven-apps/commanding-use-powerfx#functions-not-supported

     

    Best Regards,

    Bof

     

  • kcward55 Profile Picture
    65 on at

    Thanks for this information. Greatly appreciated.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard