Created
April 28, 2014 21:53
-
-
Save jpotts/11385135 to your computer and use it in GitHub Desktop.
Create an instance of a custom type in Alfresco that extends sys:base using cmis:item support in CMIS 1.1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clientName = "Some Client" | |
folder = session.getObjectByPath('/test/testfolder1') | |
props = new HashMap<String, Object>() | |
props["cmis:objectTypeId"] = "I:sc:client" | |
props["sc:clientId"] = "56789" | |
props["sc:clientName"] = clientName | |
props["cmis:name"] = clientName | |
clientObj = folder.createItem(props) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment