Uploaded image for project: 'Chemistry'
  1. Chemistry
  2. CMIS-320

Added support for extra properties added by Alfresco aspects

    Details

    • Type: Improvement
    • Status: Patch Available
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: PHPCMIS 0.2
    • Component/s: cmis-phplib
    • Labels:
      None

      Description

      Alfresco adds aspects that can contain properties to the CMIS XML feed.

      A cut down example below:

      <cmis:properties>
      <cmis:propertyString propertyDefinitionId="cmis:name" displayName="Name" queryName="cmis:name">
      <cmis:value>GUID-0050677A-845F-4123-A7EE-CCAC07F634FC.dita</cmis:value>
      </cmis:propertyString>
      ...
      <alf:aspects>
      <alf:appliedAspects>P:cm:titled</alf:appliedAspects>
      <alf:appliedAspects>P:fn:dita</alf:appliedAspects>
      <alf:appliedAspects>P:app:inlineeditable</alf:appliedAspects>
      <alf:properties>
      <cmis:propertyString propertyDefinitionId="cm:description" displayName="Description" queryName="cm:description"/>
      <cmis:propertyString propertyDefinitionId="cm:title" displayName="Title" queryName="cm:title">
      <cmis:value>Using tabs or folders in the second level</cmis:value>
      </cmis:propertyString>
      <cmis:propertyString propertyDefinitionId="fn:myproperty" displayName="my display name" queryName="fn:myproperty">
      <cmis:value>my value</cmis:value>
      </cmis:propertyString>
      </alf:properties>
      </alf:aspects>
      </cmis:properties>

        Attachments

          Activity

            People

            • Assignee:
              richardm Richard McKnight
              Reporter:
              hootbah Paul Edmondson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: