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 / Collection is not stor...
Power Apps
Answered

Collection is not storing records from a stored procedure run

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a stored procedure that i'm running and trying to put data into a  Collection.

 

This is not working from A "BUTTON":

ClearCollect(colLargeBidAlignment,
LB_ALLCODE_SEARCH.Run(
txt_CustomerNumber_pr1.Text
)
)

The stored procedure is generating data:

Just not putting it into a collection.  ?

 

DAVIDPOWELL_0-1663622114922.png

Thanks

Dave

Categories:
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    Please try:

     

    ClearCollect(

       colLargeBidAlignment,

        LB_ALLCODE_SEARCH.Run(txt_CustomerNumber_pr1.Text).PropertyName
    )

     

     

    Best Regards,

    Bof

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @v-bofeng-msft , sorry did not help..

     

  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    When you add a '.'after LB_ALLCODE_SEARCH.Run(txt_CustomerNumber_pr1.Text) there should be a drop-down menu of properties pop up for you to choose.

     

    Best Regards,

    Bof

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @v-bofeng-msft , yes, but it still does not populate the collection

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    ok, I had to set the trigger to powerapps v2.

     

    Then followed the first portion of this video.

     

    Power Apps(V2) Trigger In Power Automate - Power Platform Community (microsoft.com)

     

    Dave

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 432 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 347

#3
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

Last 30 days Overall leaderboard