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 / Sending data to ShareP...
Power Apps
Answered

Sending data to SharePoint list

(0) ShareShare
ReportReport
Posted on by 43

Hello,

Bare with me as I am a noob.... I have been tasked with creating a desktop app to approve purchases. All the data is coming from a SharePoint site to the app. So far here is the design, which is functional for the most part.

On left portion of app I have a gallery that displays minimal information for the approver to see which when they select it the information gets displayed on the right section which is a display form.

Under the display form I have a text input section to add comments that will be sent to the SharePoint list once a button gets pushed.

Under the text input I have an Approve and Reject button.

What I am having complications with is when the user selects a button that it will reflect the choice on to the SharePoint list as well as add the note to the selected entry, there are around 100 lets say on the list.

 

I have attached a screen shot of the app so you can get an idea of what I am working on. I have drawn a red box around the area for the display form and a blue box around the gallery.

 

Any assistance will be greatly appreciated.

 

 

Categories:
I have the same question (0)
  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @EvanTheGreek You seem to have some Error in the Approve & Reject Buttons, what are they?

  • EvanTheGreek Profile Picture
    43 on at

    I actually have not entered any formula into it. I have tried a couple times but it always errors out. What I did for the buttons was create a flow which asks for the following formula. I am not sure of what the updateitem_id is. When they press a button it is supposed to update the status on the SharePoint list as well as add the comment, another feature is it sends out an email to the accruer as well as the approver for their records.

    EvanTheGreek_0-1623275509941.png

     

    Here is the flow I am attempting to create and use.

    EvanTheGreek_1-1623275709326.png

    EvanTheGreek_2-1623275832866.png

     

     

     

  • Verified answer
    CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @EvanTheGreek updateItem_Id is the ID of the Item that you are trying to update in the 'AP Accural Certificaiton List'. You should have this in you App. Probably this is part of the Items property of the Left Gallery (I can't be sure as I don't know what's in these formulas). If so, you can pass, Gallery.Selected.ID into the Flow.

  • EvanTheGreek Profile Picture
    43 on at

    Hello CNT,

    Thank you for your response, am I going at this correctly is what I am wondering now. I can provide any information needed just ask and I will post. I am not sure of how to add Gallery.Selected.ID into the flow. 

  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @EvanTheGreek What is the Items property of the Gallery on the Left and the Datasource for the Form in the Top?

  • EvanTheGreek Profile Picture
    43 on at

    Items property for the gallery.

    Search('AP Accrual Certification List', tbSearchInput.Text, "Accruer", "Title")

     

    Datasource for form

    'Accrual info'.Selected (Accrual Info is the gallery name)

  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @EvanTheGreek That's great. Then you can pas the ID as,

    galleryName.Selected.ID

  • EvanTheGreek Profile Picture
    43 on at

    Where would I enter that? I really appreciate the help, sorry I am very beginner at this.

  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @EvanTheGreek That would be the 1st parameter of the Flow. Please check more parameter details with the creator of the Flow as we may not be able to all the info just by looking at it. Thanks.

  • EvanTheGreek Profile Picture
    43 on at

    I also created the flow. This is my first flow and first app I have worked on.

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 366 Most Valuable Professional

#2
11manish Profile Picture

11manish 184

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 99 Super User 2026 Season 1

Last 30 days Overall leaderboard