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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to call a view bas...
Power Apps
Unanswered

How to call a view based stored procedure on gallery in Power apps

(0) ShareShare
ReportReport
Posted on by 39

I want to call my stored procedure which contains a view class in power apps gallery, I managed to set a button to update the table but unfortnately i get an error when I try to implement the flow which contains the stored procedure in gallery (items),

 

image 1) Power apps error when I try to add the flow powerAppビュー to my gallery.

 

image2) SQL stored procedure [allTable] using view table [created allTable] View

 

image3) power automate flow using stored procedure allTable

 

0304.pngMicrosoft SQL, stored procedure which uses the view table "allTableView"Microsoft SQL, stored procedure which uses the view table "allTableView"03044.png

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

    Hi @tsangd :

    Firstly, you could add a response action to return a table from flow to the app.

    Passing Collections from Power Automate to App 

    Seconldy, flow.run() is a Behavior formula and cannot be used directly as a gallery item, you could try:

    • Add a button and set it's OnSelect property to:
    ClearCollect(TheCollection,FlowName.run())
    • Set the gallery's items property to:
    TheCollection

    Best Regards,

    Bof

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 345 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 177

Last 30 days Overall leaderboard