cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CW
Kudo Kingpin
Kudo Kingpin

Binding Rating Control To SharePoint list

Hello.

 

For the life of me I cant figure out how to 'actually' bind the rating control to a SharePoint list user rating field.

 

I even tried having PowerApps do the auto build for that list and even that didnt bring over the user rating field. (?????)

 

I've set the datacard update function to the value (yes RatingControl.Value) and even the datacard value field to the Rating Control and tested it. All attempts updates the SharePoint list as expected except the user rating field which only displays a zero (no stars) result. Surprise!!! Gotcha!!

 

So am I to understand that this rating control is simply a cute little dud of a control to make little fake surveys look cute and responsive but no real-world binding with real data? The User Rating field can only be leveraged on a SharePoint list from the list itself and the rating control in powerapps is different? No actual, intuitive way to marry the two? 🙄🙄

9 REPLIES 9

@CW 

In your EditForm, open the Edit Fields list.  Then choose the field you want to make a Rating control and change the control type to Edit Rating.

If you have already unlocked and modified this field in your form, then delete the field and add it back into the field list.  Then perform the above.

RandyHayes_0-1610035318409.png

 

Powerapps will automatically add the right control and connect it to the field in your data for both displaying and updating.

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!
CW
Kudo Kingpin
Kudo Kingpin

Thanks Randy. Yes that all makes perfect sense. Tried that a couple of times but nothing. I'll try one more time then if it doesn't work, it gets turned off. Craziness. Thanks for the quick response too!!!! Carl Williams

@CW 

Carl - what do you mean by nothing?  

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Oh. I meant no value was submitted to the user rating field. All other fields were written to fine via the PowerApps app but from the star control, zippo, zilch.

 

I'll try another list but I've already spent wayyyyyy too long trying to make something simple like this work.

Hey Randy. So I tried it your way. Surprising I never read that in the Microsoft literature on this very topic. I'm being facetious, it's not surprising in the least.

 

I've also tried this to no avail: How To Bind PowerApps Rating Control To Sharepoint Column (c-sharpcorner.com)

 

I re-added the field and tried your suggestion. Mine doesn't look anything like yours. There's no seeming relationship to any rating or number based field, just a dumb text field.

Rating1.png

Rating12png.png

 

And for proof of it being an actual rating:

Rating3png.png

 

And here's bringing it in manually

Rating4.png

 

And here's PowerApp's' "interpreation of it's 'Rating' field. A text box. Excellent!!! 😠

Rating5.png

@CW 

Ah ha!!!  The picture is worth a thousand words.  

I had assumed you had a numeric column that was storing the rating.  The control type change that I showed would only apply to a numeric column.

 

So, the Ratings column is not going to work well for you (not impossible).  That column stores a comma separated list of all ratings given. When you add ratings to a list, you get that column (which ends up being the comma separated list of numbers) and the Number of Ratings and Number of Likes (if you choose to use likes instead).

Interestingly, PowerApps sees that column as text as well, but also provides a RatedBy column which can be set to the person giving the rating.

 

What I do not know for sure is if the people in the RatedBy column align with the numbers in the Ratings string.  In other words, if there are 5 people giving ratings does the 3rd number in the comma separated list equate to the third person in the list of RatedBy names?

 

Figuring out that logic would allow you to put a Ratings control in your app and then finding the corresponding rating for the current user in the ratings string and use that to default the value on the rating control in PowerApps.

Then you could update the value in the string to write it back (maintaining the order of names and values in the commas).

 

SO...there it is!  I apologize that it didn't hit me right away that you were talking about the Ratings settings in the list itself.

 

Where to go from here?

 

 

 

 

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Hi Randy. Thanks for the real quick response!!! Wow.

 

No, it's not your misunderstanding it's my assumption that Microsoft would make this, not a little, A LOT more clear! In fact there wouldn't be five people rating. This M365 subscription is solely for me to fool around. I'm retired, no company, just me for personal use. And it's been nothing short of extremely frustrating and I did SharePoint and IMIT for a living.

 

Boy, why would ANYONE expect the user rating to "link up" with the Rating control in powerapps? Hmmmmmm. I can't give enough sarcastic comments about this type of thing with MS. 

 

I've been rebuilding my legacy sites and in a month had to make several (not two, three or four, >7) posts about similar things. I don't even know why I continue using this stuff. It's non-stop idiocy for me. This, pdf viewers that cant load pdfs within your environment etc. etc. etc. It's never ending stupidity.

 

Thanks you so much for trying to help. But in answer to your question "where do we go from here"; no where!

 

If I can't use the rating field in a simple list and make changes through PowerApps without employing rocket science and ensure its done on a Tuesday with a full moon then the technology is utterly useless. 

 

All user rating fields will consequently be removed from all lists and libraries never to see the light of day until MS 

implements a viable option. But we all know normal, typical everyday functionality is lost on Microsoft. They need to ensure connections are built for things like Trello first.

 

Sorry to dump all this on you, I really do appreciate your trying to help!!!! But I'm sure you can sense my continual frustration with their tech.

@CW 

The biggest frustrations I find people have are similar.  The thing is, when you go to PowerApps and use a Datasource (like SharePoint, Excel, etc.) the datasource should be considered for PowerApp use only.  People get into trouble when trying to, for example, use Excel in PowerApps and still try to do things like formulas and formatting in the Excel file.  It never ends well.  The Excel file should be considered a database for PowerApps only.

Same goes for SharePoint.

Now, why do I say that?  Because some things that are in SharePoint are purely about making the user experience better IN SharePoint.  Things like calculated columns, ratings, picture columns, etc.   Same concept with Excel - "I have a pivot table in Excel. Why can't I connect it to PowerApps?" - because that is a User Interface element, not a data element.  

 

Since PowerApps is more focused on getting the data because it is its datasource, user interface niceties are not relevant.  So it's kind of like this...what good is a rating column in a list if no one is ever going to look at that list in the SharePoint interface? What good is a pivot table in Excel if no one is going to see it? So in that case of ratings, the PowerApp designer says - how will I do ratings?  And the first thing that comes to mind is a numeric column.  AND...as you can see in the EditForm, it IS built to account for that by allowing you to turn a numeric column to a Rating control.

 

So, hopefully that gives a little more insight as to why some things are the way they are.  The basic concept is, if it is User Interface nice things, don't bother with them if you are going to be using the list solely as the datasource for PowerApps.

 

If it helps any, when I first started working with PowerApps it was frustrating to no end.  Over time I "got it" and it is pretty much all that I do any more...I don't believe I would ever go back to anything else. 

 

 

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Yes understood Randy. Thanks.

I only use SharePoint for all my data use but there wayyyy too many of these little issues.

 

I've been using it for years but ALWAYS, CONTINUALLY I would run into these issues and get so frustrated I'd leave it for over a year. As soon as I came back this time I've talked a good 9 issues and contacts with support within the month.

 

As soon as we ended our last conversation I went to do some little tasks on my app and lo and behold ANOTHER problem.

 

This time the clear icon "X" doesn't work on a standard comments field. A field straight from Microsoft. It works fine on a simple text box control but not a multiline box. SURPRISE!!! GOTCHA.

 

I did some research and people have been complaining about this since early 2019.

 

The workaround (there always has to be a workaround or a hack to make MS stuff work) is to add an 'X' icon and set on select to Reset(control). Well that's well and good but that doesn't seem to work when referencing a data card or the text box inside. Why would it? See? It never ends.

 

If there was a comparable technology I'd be gone in an instant.

 

Helpful resources

Announcements

Community will be READ ONLY July 16th, 5p PDT -July 22nd

Dear Community Members,   We'd like to let you know of an upcoming change to the community platform: starting July 16th, the platform will transition to a READ ONLY mode until July 22nd.   During this period, members will not be able to Kudo, Comment, or Reply to any posts.   On July 22nd, please be on the lookout for a message sent to the email address registered on your community profile. This email is crucial as it will contain your unique code and link to register for the new platform encompassing all of the communities.   What to Expect in the New Community: A more unified experience where all products, including Power Apps, Power Automate, Copilot Studio, and Power Pages, will be accessible from one community.Community Blogs that you can syndicate and link to for automatic updates. We appreciate your understanding and cooperation during this transition. Stay tuned for the exciting new features and a seamless community experience ahead!

Summer of Solutions | Week 4 Results | Winners will be posted on July 24th

We are excited to announce the Summer of Solutions Challenge!   This challenge is kicking off on Monday, June 17th and will run for (4) weeks.  The challenge is open to all Power Platform (Power Apps, Power Automate, Copilot Studio & Power Pages) community members. We invite you to participate in a quest to provide solutions in the Forums to as many questions as you can. Answers can be provided in all the communities.    Entry Period: This Challenge will consist of four weekly Entry Periods as follows (each an “Entry Period”)   - 12:00 a.m. PT on June 17, 2024 – 11:59 p.m. PT on June 23, 2024 - 12:00 a.m. PT on June 24, 2024 – 11:59 p.m. PT on June 30, 2024 - 12:00 a.m. PT on July 1, 2024 – 11:59 p.m. PT on July 7, 2024 - 12:00 a.m. PT on July 8, 2024 – 11:59 p.m. PT on July 14, 2024   Entries will be eligible for the Entry Period in which they are received and will not carryover to subsequent weekly entry periods.  You must enter into each weekly Entry Period separately.   How to Enter: We invite you to participate in a quest to provide "Accepted Solutions" to as many questions as you can. Answers can be provided in all the communities. Users must provide a solution which can be an “Accepted Solution” in the Forums in all of the communities and there are no limits to the number of “Accepted Solutions” that a member can provide for entries in this challenge, but each entry must be substantially unique and different.    Winner Selection and Prizes: At the end of each week, we will list the top ten (10) Community users which will consist of: 5 Community Members & 5 Super Users and they will advance to the final drawing. We will post each week in the News & Announcements the top 10 Solution providers.  At the end of the challenge, we will add all of the top 10 weekly names and enter them into a random drawing.  Then we will randomly select ten (10) winners (5 Community Members & 5 Super Users) from among all eligible entrants received across all weekly Entry Periods to receive the prize listed below. If a winner declines, we will draw again at random for the next winner.  A user will only be able to win once overall. If they are drawn multiple times, another user will be drawn at random.  Individuals will be contacted before the announcement with the opportunity to claim or deny the prize.  Once all of the winners have been notified, we will post in the News & Announcements of each community with the list of winners.   Each winner will receive one (1) Pass to the Power Platform Conference in Las Vegas, Sep. 18-20, 2024 ($1800 value). NOTE: Prize is for conference attendance only and any other costs such as airfare, lodging, transportation, and food are the sole responsibility of the winner. Tickets are not transferable to any other party or to next year’s event.   ** PLEASE SEE THE ATTACHED RULES for this CHALLENGE**   Week 1 Results: Congratulations to the Week 1 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Community MembersNumber of SolutionsSuper UsersNumber of Solutions @anandm08  23 @WarrenBelz  31 @DBO_DV  10 @Amik  19 AmínAA 6 @mmbr1606  12 @rzuber  4 @happyume  7 @Giraldoj  3@ANB 6 (tie)   @SpongYe  6 (tie)     Week 2 Results: Congratulations to the Week 2 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Community MembersSolutionsSuper UsersSolutions @anandm08  10@WarrenBelz 25 @DBO_DV  6@mmbr1606 14 @AmínAA 4 @Amik  12 @royg  3 @ANB  10 @AllanDeCastro  2 @SunilPashikanti  5 @Michaelfp  2 @FLMike  5 @eduardo_izzo  2   Meekou 2   @rzuber  2   @Velegandla  2     @PowerPlatform-P  2   @Micaiah  2     Week 3 Results: Congratulations to the Week 3 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge.   Week 3:Community MembersSolutionsSuper UsersSolutionsPower Apps anandm0861WarrenBelz86DBO_DV25Amik66Michaelfp13mmbr160647Giraldoj13FLMike31AmínAA13SpongYe27     Week 4 Results: Congratulations to the Week 4 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge.   Week 4:Community MembersSolutionsSuper UsersSolutionsPower Apps DBO-DV21WarranBelz26Giraldoj7mmbr160618Muzammmil_0695067Amik14samfawzi_acml6FLMike12tzuber6ANB8   SunilPashikanti8

Check Out | 2024 Release Wave 2 Plans for Microsoft Dynamics 365 and Microsoft Power Platform

On July 16, 2024, we published the 2024 release wave 2 plans for Microsoft Dynamics 365 and Microsoft Power Platform. These plans are a compilation of the new capabilities planned to be released between October 2024 to March 2025. This release introduces a wealth of new features designed to enhance customer understanding and improve overall user experience, showcasing our dedication to driving digital transformation for our customers and partners.    The upcoming wave is centered around utilizing advanced AI and Microsoft Copilot technologies to enhance user productivity and streamline operations across diverse business applications. These enhancements include intelligent automation, AI-powered insights, and immersive user experiences that are designed to break down barriers between data, insights, and individuals. Watch a summary of the release highlights.    Discover the latest features that empower organizations to operate more efficiently and adaptively. From AI-driven sales insights and customer service enhancements to predictive analytics in supply chain management and autonomous financial processes, the new capabilities enable businesses to proactively address challenges and capitalize on opportunities.    

Updates to Transitions in the Power Platform Communities

We're embarking on a journey to enhance your experience by transitioning to a new community platform. Our team has been diligently working to create a fresh community site, leveraging the very Dynamics 365 and Power Platform tools our community advocates for.  We started this journey with transitioning Copilot Studio forums and blogs in June. The move marks the beginning of a new chapter, and we're eager for you to be a part of it. The rest of the Power Platform product sites will be moving over this summer.   Stay tuned for more updates as we get closer to the launch. We can't wait to welcome you to our new community space, designed with you in mind. Let's connect, learn, and grow together.   Here's to new beginnings and endless possibilities!   If you have any questions, observations or concerns throughout this process please go to https://aka.ms/PPCommSupport.   To stay up to date on the latest details of this migration and other important Community updates subscribe to our News and Announcements forums: Copilot Studio, Power Apps, Power Automate, Power Pages

Users online (991)