Timeline for How to Get Likedby column value
Current License: CC BY-SA 3.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 31, 2017 at 21:16 | vote | accept | YogaPanda | ||
| Jan 27, 2017 at 15:34 | comment | added | Gautam Sheth | have used it the same way :) | |
| Jan 27, 2017 at 15:33 | comment | added | Divya Sharma | As LikedBy is a lookup field, so it can't be use as $select=LikedBy. You need to specify ID or Title to fetch the value of Lookup field and need to expand it for fetching its value. Proper way to use lookup field like LikedBy is $select=LikedBy/ID,LikedBy/Title&$expand=LikedBy. | |
| Jan 27, 2017 at 15:28 | comment | added | YogaPanda | It's the same endpoint. This answer is "$select=Title,LikedBy" but my site couldn't find LikedBy at that time. Another answer is "$select=LikesCount,LikedBy/Title&$expand=LikedBy" which enable me to get what I want | |
| Jan 27, 2017 at 15:19 | comment | added | YogaPanda | I enable the rating in the very first step, that's how I get the screenshot. I found another REST api actually works. Just slightly different from this answer | |
| Jan 27, 2017 at 15:14 | comment | added | Gautam Sheth | LikedBy is a multi valued lookup column. So u need to use $expand it in the query. The error looks strange. Did you enable the ratings as i have in the screenshot ? | |
| Jan 27, 2017 at 14:12 | comment | added | YogaPanda | It just says The field or property 'LikedBy' does not exist | |
| Jan 27, 2017 at 14:07 | comment | added | YogaPanda | What is "$expand=LikedBy" means? If we can retrieve via REST, does it mean I can get the data from Search? Because I can't find any managed property, can't get "LikedBy" from search tool either | |
| Jan 27, 2017 at 5:22 | history | answered | Gautam Sheth | CC BY-SA 3.0 |