Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / April 2005

Tip: Looking for answers? Try searching our database.

Determining Read Only Lock

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Brian - 07 Apr 2005 02:05 GMT
Hello!

I have an InfoPath form in a SharePoint form library. When more than one
user opens the same form, the last user to open the form gets the form set to
read-only as per the short term lock that is issued on the file.

This is great because we want to prevent the multiple user edit.

What I need is a way to determine that this is form is read-only because of
the above situation. Is there a way to do determine this via the object
model? If not I will simply write a web service that looks at the file in
SharePoint and tells me if there is a lock on it. But, before I do this, I
want to make sure I did not miss anything in the object model.

TIA!
Brian
Brian Teutsch [MSFT] - 07 Apr 2005 19:35 GMT
I think you're looking for the XDocument.IsReadOnly property.

Brian

> Hello!
>
[quoted text clipped - 14 lines]
> TIA!
> Brian
Brian - 23 Apr 2005 00:03 GMT
Brian,

Sorry for the delay in thanking you but thanks. Bad documentation reading on
my part.

Brian

> I think you're looking for the XDocument.IsReadOnly property.
>
[quoted text clipped - 18 lines]
> > TIA!
> > Brian
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.