CMIS allowableActions - not documented - what do they mean for SP 2010 CMIS support
-
Wednesday, March 21, 2012 4:47 PM
Using the Rest interface, the allowable actions for the root folder in SP 2010 using the CMIS producer for SP 2010 come back including (for example) actions such as:
<canAddObjectToFolder>false</canAddObjectToFolder>
<canAddObjectToFolderSpecified>true</canAddObjectToFolderSpecified>The CMIS 1.0 documentation specifies canAddObjectToFolder, but I can only find canAddObjectToFolderSpecified buried in sample code of various CMIS clients.
What is the difference?
Most of the allowable actions are false for <allowableAction>, but true for the <allowableAction>Specified.
Neil Thomson
All Replies
-
Friday, March 23, 2012 9:54 AMModerator
-
Monday, April 16, 2012 6:22 PM
Neil,
Looking through the CMIS documentation there is a distinction between cannAddOBjectToFolder via the key element. Not sure if it will help, but it looks like the only difference would be the key used, either canAddToFolder.Object or canAddToFolder.Folder (for specified version.
Not sure if that helps at all, you may need to call us directly on this and see if we can do a little more research, have not found much on this at all.
If you cannot find an answer from the forum directly, please visit the link below to see the various paid support options available that may better meet your needs.
Link:http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone
Patrick Cole - MSFT
-
Monday, April 16, 2012 8:20 PM
Patrick,
Thanks for digging into this. I presume you mean this aspect of the spec. Or is there some Microsoft documentation that I'm unaware of.
Filing Services:
canAddObjectToFolder
Description: Can file the document in a folder (addObjectToFolder)
Base Object: cmis:document, cmis:policy
Operand: Object
Key: canAddToFolder.Object
Permission: Read
canAddObjectToFolder
Description: Can file a document in the specified folder (addObjectToFolder)
Base Object: cmis:document, cmis:policy
Operand: Object
Key: canAddToFolder.Folder
Permission: ReadWhich strongly suggests Microsoft and possibly others differentiate the two "canAddObjectToFolder" by changing the second one to be "canAddObjectToFolderSpecified".
Did not connect those dots, but it makes sense.
A bit odd that a technology that Microsoft is a founder for doesn't have readily accessible documentation on their SharePoint implementation.
Thanks,
Neil
Neil Thomson
- Edited by Neil Thomson Monday, April 16, 2012 9:07 PM

