Ive been searching for awhile for this. Is anyone here successfully create a filter in Modern Sharepoint

To show Pages that Logged-in User Liked?

enter image description here

the modern sharepoint can query using KQL or CAML but im not really familiar with it.


  • try out the REST api this would involve simple js cewp webpart? refer here
    – ssspfx
    Feb 26, 2020 at 18:29
  • @SudheerChittuluri, OP is using a Modern SPO page, there is no CEWP. Looks like Custom SPFx is the only way to get this information on a page.
    – willman
    Feb 26, 2020 at 19:40
  • @willman You are correct, I was looking at this post It seems like atleast a page needs to have likes for the query to filter the correct pages. I am currently testing it out to see if we can get it. Will post an update here.
    – ssspfx
    Feb 26, 2020 at 19:54
  • @ssspfx Yes im using modern SPO. Im seeing a property card "LikeCount" is there a way to filter all the pages the user(loggedon) likes? Feb 26, 2020 at 22:39


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.