A customer has asked me to display a table that shows everyone who has modified a list and the most recent modification they each made.

It would look like: Sally Modified 3 hours ago

Jack Modified 4 days ago

Amy Modified 12 days ago

I don't know how to pull only the latest modified item out of a list using JS. Can anyone help?? If there's some way to do this OOTB or with a workflow, I'll take that too. I haven't been able to find anything online so far.

1 Answer 1


There's no REST API that you could use from JS to show audit data on a SharePoint page.

Read more on this here

However, you could create your own Web API using Server Side Model and then call it from JS to retrieve Audit Data from SharePoint.

For more information visit this post

  • thanks so much Matiur
    – seaandtea
    Jan 15, 2021 at 20:29
  • You could mark the question as answered if it satisfies your query Jan 15, 2021 at 20:56

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.