Skip to main content

I am attempting to execute a smartobject method on a SharePoint library smartobject.  The method in question is the Move Document by ID but I get similar errors using the Move Document method.

 

Using the SmartObject tester I enter the ID of the document, the Destination site URL, the Destination Library, the Dest. Folder, and specify True for Overwrite.  The error I get back is:

 

"The object is used in the context different from the one associated with the object."

 

The file does copy to the destination but either the original or the destination is usally left checked out and the original is never removed.

 

I am unable to find examples or good documentation on how to use these methods.  It took a while to realize that the boolean error message I was getting was because in the "Overwrite Existing Document (YesNo)" was set to Yes when it needs to be True.  

Be the first to reply!

Reply