Skip to content

Reading the activity log for a folder #592

Open
@cmckee-NG

Description

@cmckee-NG

I am working on a script that reads through a series of nested folders in a SharePoint document library to find recent changes that other users have made. Using the time_last_modified property of the folder I can determine if it has been updated in the given time window. However, this does require the script to dig all the way down through the folder structure, checking each folder, as the modification date does not carry up to the root folder.

I am wondering if there is a better way to find these changes. When looking at the folder details in the browser I can see that there is an activity log in the root folder that covers any changes made, even to nested sub folders. Is it possible to read this activity log in Python? If so, can you provide an example? It looks like the information is there, I am just not sure how to get it in the script.
image

Thank you in advance for any help you can provide.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions