Sample media gallery object types 

Use these samples as a template for your own custom object type definitions.


Photo object type

<?xml version="1.0" encoding="UTF-8"?> <cmisra:type xsi:type="cmis:{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisTypeDocumentDefinitionType" xmlns:cmism="http://docs.oasis-open.org/ns/cmis/messaging/200908/" xmlns:lcmis="http://www.ibm.com/xmlns/prod/sn/cmis" xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200908/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200908/"> <cmis:id>ada30772-31fe-44bf-b8b4-dd7e4f072cd6</cmis:id> <cmis:localName>mediaphoto</cmis:localName> <cmis:localNamespace>http://www.ibm.com/xmlns/prod/sn/cmis/socialmedia</cmis:localNamespace> <lcmis:displayNameKey>snmedia_photo_title_key</lcmis:displayNameKey> <cmis:queryName>snmedia:photo</cmis:queryName> <lcmis:descriptionKey>snmedia_photo_summary_key</lcmis:descriptionKey> <cmis:baseId>cmis:document</cmis:baseId> <cmis:parentId>snx:file</cmis:parentId> <cmis:creatable>true</cmis:creatable> <cmis:fileable>false</cmis:fileable> <cmis:queryable>true</cmis:queryable> <cmis:fulltextIndexed>false</cmis:fulltextIndexed> <cmis:includedInSupertypeQuery>true</cmis:includedInSupertypeQuery> <cmis:controllablePolicy>false</cmis:controllablePolicy> <cmis:controllableACL>false</cmis:controllableACL> <cmis:versionable>true</cmis:versionable> <cmis:contentStreamAllowed>required</cmis:contentStreamAllowed> <cmis:propertyStringDefinition> <cmis:id>751f89d5-068f-45c4-8e79-8ceb709feae2</cmis:id> <cmis:localName>mediaphotolocation</cmis:localName> <cmis:localNamespace>http://www.ibm.com/xmlns/prod/sn/cmis/logicaltypes</cmis:localNamespace> <lcmis:displayNameKey>snmedia_photo_location_title_key</lcmis:displayNameKey> <cmis:queryName>snmedia:mediaphotolocation</cmis:queryName> <lcmis:descriptionKey>snmedia_photo_photolocation_summary_key</lcmis:descriptionKey> <cmis:propertyType>string</cmis:propertyType> <cmis:cardinality>single</cmis:cardinality> <cmis:updatability>readwrite</cmis:updatability> <cmis:inherited>false</cmis:inherited> <cmis:required>false</cmis:required> <cmis:queryable>true</cmis:queryable> <cmis:orderable>true</cmis:orderable> <cmis:openChoice>false</cmis:openChoice> <cmis:maxLength>64</cmis:maxLength> </cmis:propertyStringDefinition> </cmisra:type>


Video object type

<?xml version="1.0" encoding="UTF-8"?> <cmisra:type xsi:type="cmis:{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisTypeDocumentDefinitionType" xmlns:cmism="http://docs.oasis-open.org/ns/cmis/messaging/200908/" xmlns:lcmis="http://www.ibm.com/xmlns/prod/sn/cmis" xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200908/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200908/"> <cmis:id>ada30772-31fe-44bf-b8b4-dd7e4f072ad6</cmis:id> <cmis:localName>mediavideo</cmis:localName> <cmis:localNamespace>http://www.ibm.com/xmlns/prod/sn/cmis/socialmedia</cmis:localNamespace> <lcmis:displayNameKey>snmedia_video_title_key</lcmis:displayNameKey> <cmis:queryName>snmedia:video</cmis:queryName> <lcmis:descriptionKey>snmedia_video_summary_key</lcmis:descriptionKey> <cmis:baseId>cmis:document</cmis:baseId> <cmis:parentId>snx:file</cmis:parentId> <cmis:creatable>true</cmis:creatable> <cmis:fileable>false</cmis:fileable> <cmis:queryable>true</cmis:queryable> <cmis:fulltextIndexed>false</cmis:fulltextIndexed> <cmis:includedInSupertypeQuery>true</cmis:includedInSupertypeQuery> <cmis:controllablePolicy>false</cmis:controllablePolicy> <cmis:controllableACL>false</cmis:controllableACL> <cmis:versionable>true</cmis:versionable> <cmis:contentStreamAllowed>required</cmis:contentStreamAllowed> <cmis:propertyStringDefinition> <cmis:id>751f89d5-068f-45c4-8e79-8ceb709feaa2</cmis:id> <cmis:localName>mediavideoduration</cmis:localName> <cmis:localNamespace>http://www.ibm.com/xmlns/prod/sn/cmis/logicaltypes</cmis:localNamespace> <lcmis:displayNameKey>snmedia_video_duration_title_key</lcmis:displayNameKey> <cmis:queryName>snmedia:mediavideoduration</cmis:queryName> <lcmis:descriptionKey>snmedia_video_videoduration_summary_key</lcmis:descriptionKey> <cmis:propertyType>string</cmis:propertyType> <cmis:cardinality>single</cmis:cardinality> <cmis:updatability>readwrite</cmis:updatability> <cmis:inherited>false</cmis:inherited> <cmis:required>true</cmis:required> <cmis:queryable>true</cmis:queryable> <cmis:orderable>true</cmis:orderable> <cmis:openChoice>false</cmis:openChoice> <cmis:maxLength>64</cmis:maxLength> </cmis:propertyStringDefinition> </cmisra:type>


Parent topic

Create custom media gallery object types


September 19, 2011 9:58:44 AM
   

 

Sep 19, 2011 9:58:44 AM 2 Sep 2, 2011 11:59:48 AM 1

});