SharePoint - Lock items - Asked By Bookworm on 18-Jan-12 10:20 AM

Hi,

is it possible to dot this: in a custom list, if one user view the properties of an item, the other users can not view the properties of this item, as long as the first user has not finished?

thnx
D Company replied to Bookworm on 18-Jan-12 11:12 AM
Hello Friend,

As such their, is no out of box feature available in SharePoint,but if you want to implement you have to do some hard coding stuff .

1. Create version of the every list item
2.Implement, threading concept on it, make sure that if a user accessing it, other can not use the resource
3.might be you have to also make sure the level of a user that it should not applied with site admin .


Hope this idea will help you to achieve your goal

Regards
D

kalpana aparnathi replied to Bookworm on 18-Jan-12 12:50 PM
hi,

Steps:
  1. Open your SharePoint site in Office SharePoint Designer 2007.
  2. On the Site menu, click Contributor Settings.
  3. Click a Contributor group, and then click Modify.
  4. In the Contributor Group Properties dialog box, clear the Allow unrestricted use of SharePoint Designer check box.

When you clear this check box, all of the other options in the General category and the remaining categories in the Contributor Group Properties dialog box become available.

  1. Clear the Allow use of Code view check box.
Sri K replied to Bookworm on 18-Jan-12 11:58 PM

Take a look at how

  • a standard document library implements check-out / check-in
  • this effectively locks the SP - item corresponding to a document

You can then

  • develop a custom list
  • making use of the same check-out/check-in approach

If you're application truly does need more control over locking (such as at list level) then perhaps its a code smell that you're pushing SharePoint lists too hard and you should be using a RDBMS (e.g. SQL Server) with full ACID properties?

http://www.sharepoint-answers.com/microsoft/SharePoint-Portal-Server/34076065/lock-individual-items-within-a-list.aspx

Jitendra Faye replied to Bookworm on 19-Jan-12 12:09 AM

The field definition element <Field> has the following properties that can be used to show/hide the field in the UI.

  • ShowField 
  • ShowInDisplayForm 
  • ShowInEditForm 
  • ShowInNewForm 
 Please find the MSDN article http://msdn2.microsoft.com/en-us/library/ms437580.aspx
Bookworm replied to Sri K on 19-Jan-12 03:12 AM
i need just this:
when the user click in view properties of an item, if there is another user viewing this item:!!!!

if you have any idea pls write to me!
thnx
Bookworm replied to kalpana aparnathi on 19-Jan-12 03:14 AM
Hi,

thnx for your reply, but the idea is that if one user goes at view properties, to be noticed if there is another user viewing the same item.
Have you any idea?

thnx