cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DaPiranha
Level: Powered On

Display other users currently active on App and restrict Sharepoint items based on that

I have an app which is based around a Sharepoint list. It's primarily a form with a "Create" screen which creates a new row in the Sharepoint list and then "Update" and "Submit" screens which update items within the list.

 

1 - Is there a way to display to a user if there are other users currently in the app and or what row they are currently working on?

 

2 - If a user is currently updating an existing form (row in Sharepoint) is there a way to lock that record while they complete their parts so that I don't risk having two users updating the same row and one wiping out the others additions?

2 REPLIES 2
Super User
Super User

Re: Display other users currently active on App and restrict Sharepoint items based on that

Hi,

 

What you can do is set a flag on your list that will be set to true as soon as a user will edit the item. And set to false as soon as the item as been updated and is not in edition mode anymore. Then you use this flag to prevent other users to edit the item if the flag is set to true. 

 

The only problem is, what if user start editing the item (so set the flag to true, preventing other user to get to the edition of this item) and suddenly quit the app without properly quitting the edit screen. The flag won't be set to false again and this item won't be editable anymore. 

 

I'm not giving any solution here, just expose some possibilities. 

 

Theo

DaPiranha
Level: Powered On

Re: Display other users currently active on App and restrict Sharepoint items based on that

An interesting suggestion, so theres a way to flag the list item in sharepoint is there?

Helpful resources

Announcements
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Users online (9,250)