Question

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.

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top