web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Flagging that a ShareP...
Power Apps
Answered

Flagging that a SharePoint Document is currently open

(0) ShareShare
ReportReport
Posted on by 2,324 Moderator

I am building a PowerApp that allows the user to mofify Metadata for documents in a SharePoint Library. The document could be left open by a previous user and SharePoint will not let you change the MetData if the document is open.

 

I am looking for a way to flag (in PowerApps) that the document is currently open/locked (and preferbly by which user). 

 

Note - I know I could create a PowerAutomate to check if the document is open. However I would prefer to read the open/locked status directly from SharePoint in PowerApps.

 

Anyone have any ideas?

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,195 Most Valuable Professional on at

    Hi @365-Assist,

     

    As far as I am aware there is no property in the SharePoint connector which stores if and who has the document opened.

     

    However, a workaround could be to enable require check out of files in your library:

    https://support.microsoft.com/en-us/office/set-up-a-library-to-require-check-out-of-files-0c73792b-f727-4e19-a1f9-3173899e695b

     

    When you do that you should be able to use the checked out (boolean) and checked out to fields of the SharePoint connector.

     

    checkoutto.png

     

  • 365-Assist Profile Picture
    2,324 Moderator on at

    @Expiscornovus Thanks for that. Good workaround however I was trying to avoid Checkouts as adds complexity to App and additional time to build.

  • Expiscornovus Profile Picture
    33,195 Most Valuable Professional on at

    Hi @365-Assist,

     

    I understand that it will add complexity and this is not your preferred solution. I will have another look, maybe I missed something in one of the default connectors 😁

  • Verified answer
    365-Assist Profile Picture
    2,324 Moderator on at

    I fixed this by change of Design. Instead of using a Document Library I created a Microsoft 365 List and used the Attachment column to store and access documents.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard