20
Views
4
Comments
Solved
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
2021-08-04 12-19-54
Mayank Dharmpurikar
Solution

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

journal_v1.oml
2021-08-04 12-19-54
Mayank Dharmpurikar

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
UserImage.jpg
Pallavi Mutkure

Thanks, Mayank.

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


Thanks,

Pallavi

2021-08-04 12-19-54
Mayank Dharmpurikar
Solution

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

journal_v1.oml
UserImage.jpg
Pallavi Mutkure

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.