문제

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.

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top