New answers tagged

0

I establish content types based on the business need and bind the required metadata. Once the content types are set, I bind a document template to the content type so a user can open it directly in the library. Using MS Word Quick Parts, I insert controls into the document template so the metadata values are presented directly to the user. Kind of like ...


0

Finally I found the solution. If the file is open in any client machine in Edit mode, then there is a lock created on it. Though most of the Lock related properties of SPFile are of not much help, the LockId property helps. It carries a GUID as a string, which means that the file actually has a lock. So calling the ReleaseLock method on the SPFile by passing ...



Top 50 recent answers are included