Skip to main content
Community site session details

Community site session details

Session Id : g8Png7u4ByDelDf7QpxS/R
Power Apps - Building Power Apps
Answered

How do I save data from an "opinion" field to a Sharepoint item?

Like (0) ShareShare
ReportReport
Posted on 2 Apr 2020 09:52:43 by 173

Hi there,

 

I am pretty new to PowerApps and not really a programmer, but I do have a lot of experience from working with data in a lot of ways. Right now  I am building a Project Management application for our project portfolio.

 

I would like to have an "opinion" field, you know the one with stars representing a numeric value, in this case from 1 to 4, and then I want to store the data in a numeric field in Sharepoint. I have figured out how to set the value from the Sharepoint field as "default", but I don't know how to store the new data if the user changes the number of stars.

 

I suppose it's quite simple, but I would appreciate if someone could help me.

 

Regards

Lennart

  • Verified answer
    v-xida-msft Profile Picture
    on 03 Apr 2020 at 06:26:37
    Re: How do I save data from an "opinion" field to a Sharepoint item?

    Hi @LennartWalldén ,

    Could you please share a screenshot about your app's configuration?
    How do you submit your data back to your SP List? Using SubmitForm function or Patch function?

     

    I assume that you add a Rating control in your app, and want to save this "Rating" value back to your SP List, is that true?

     

    If you want to save the new "Rating" value back to your SP List, I think the Patch function could achieve your needs. Please consider set the OnSelect property of the "Save" button to following:

    Patch(
     'SP List',
     LookUp('SP List', PrimaryKeyColumn = "Specific value"), // find the reocrd you want to update in your SP List
     {
     RatingNumberField: Rating1.Value
     }
    )

    Note: The PrimaryKeyColumn represents the column in SP List, which could identify one record uniquely. Rating1 represents the Rating control.

     

    If you use SubmitForm function to submit your data back to your SP List, you could consider enable the RatingNumberField within your Edit form, then change the Control Type from normal TextInput box into "Edit rating" as below:

    Test.gif

     

    then you could change the rating control value, and click "Submit" button to save changed rating number back to your SP List directly.

     

    Best regards,

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1

Loading complete