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 / ''lock'' document in s...
Power Apps
Unanswered

''lock'' document in sharepoint

(0) ShareShare
ReportReport
Posted on by 432

Hello everyone.

 

I've created a PowerApp to enable users to browse through a sharepoint library (displayed in a Gallery) and have them manage the metadata fields of pdf documents in the library. There is a PDF Viewer element on the page which displays the selected pdf document.

However my PowerApp is (hopefully) going to be used my several users at the same time, and I don't want to have users 'managing' the same document at the same time. Preferably I'd make it as when a user selects a document that within a reasonable amount of time the document is checked-out/locked/etc. so other users won't be able to select it in the gallery or maybe not even apear in the gallery anymore.

 

I'm wondering what methods I could approach to achieve my goal, if any methods are available.

Hoping to hear your thoughts.

 

docmanaging.png

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    153,026 Most Valuable Professional on at

    Hi @gjeh ,

    I will try to give you a concept here.

    You could have a field in the library metadata "locked" with the user's name and time/date text or similar and Patch to this to the list when the document is opened. You could reset it when the document is closed or even activate a timer of the user's computer and reset it after a selected time. If another user tries to open a "locked" document, you would give them a message "Locked by xxxx on xxxx". You might also consider some override options

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

     

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard