function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
David Bingham 22David Bingham 22 

Recreating Activity Feed (with the ability to sort!) in a Lightning component. thoughts?

According to this^ thread it isnt possible to sort activity feed... pretty much at all.

This seems insane to me, but before I try to hunt down a solution I wanted to see if anyone here has experience (or a solution!) to share.

Abhishek Sagar 1Abhishek Sagar 1
Yes you can do it:
1. Create your lightning component
2. Create Apex Controller
3. Inside controller create aura enabled lightning method to fetch activities
4. impletment sorting in your component(use lodash or some other plugin)
David Bingham 22David Bingham 22
okay, thanks. do you know if anyone else has done it before? some re-usable code would be fantastic
Abhishek Sagar 1Abhishek Sagar 1
I have one component where I am doing pretty much similar thing. can you send me an email @ so that I can share the code.