Display like user list for respective record/feed
Application Type
Reactive

Hi Team,

I have 2 databases (Journal and Likes), where JournalID is the Journal identifier(forensic key) in Likes DB.


Test01 user Like both Post(hospital and nature) so it should display in both posts but all users are 

 shown for Hospital posts only.Please Suggest

Thanks in Advance!

Pallavi

journal_v1.oml

Yes of course we can do this as well, see the attached OML for this.

journal_v1.oml

Hi, 


I have updated your OML based on your requirement, to display the correct data.

I have one suggestion for you If the same user like the same post multiple times then you are creating multiple entries in the Likes table, here you can check if the user already liked the post then don't create another entry for the same user for the same post.

journal_v1.oml

Thanks, Mayank.

It is working fine, is there any way to display only the first 2 user images and + the remaining count.


Thanks,

Pallavi

Yes of course we can do this as well, see the attached OML for this.

journal_v1.oml

Thanks for the help.

It's working.

Thanks,

Pallavi

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.