<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic CMIS + PHP + Aspect in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/cmis-php-aspect/m-p/271202#M224332</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;HI &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Im working in a migration to Alfresco; using CMIS and PHP. Uploading is easy and quick, when i upload to a folder (space) ive set up a rule so it gets an aspect. The problem comes when i have to set properties of that aspect using CMIS and PHP (im using PHP because i have no idea nor experience in java).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Googleing i discovered &amp;lt;&amp;lt;alfresco-opencmis-extension-0.3.zip&amp;gt;&amp;gt; that is ment for this kind or situations, but i couldnt find any info about it for PHP. Im allso not 100% sure of what to do to "install" the JAR file for it to work in Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help with this issue will be appreciated. Even more a few lines of PHP code that deals with aspects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;**brief** i fetch info from a cms (files and properties) and i upload them to Alfresco. Alfresco has a rule that sets an aspect automatically. Untill now all works fine, but i havent found a way to set the properties of that aspect in every file that is uploaded.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jul 2012 10:09:42 GMT</pubDate>
    <dc:creator>i200</dc:creator>
    <dc:date>2012-07-30T10:09:42Z</dc:date>
    <item>
      <title>CMIS + PHP + Aspect</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-php-aspect/m-p/271202#M224332</link>
      <description>HI :-)Im working in a migration to Alfresco; using CMIS and PHP. Uploading is easy and quick, when i upload to a folder (space) ive set up a rule so it gets an aspect. The problem comes when i have to set properties of that aspect using CMIS and PHP (im using PHP because i have no idea nor experienc</description>
      <pubDate>Mon, 30 Jul 2012 10:09:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-php-aspect/m-p/271202#M224332</guid>
      <dc:creator>i200</dc:creator>
      <dc:date>2012-07-30T10:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS + PHP + Aspect</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-php-aspect/m-p/271203#M224333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I wont mind using Types. Actually ive tried to set a Type using CMIS and PHP and it works fine. But again i cant figure out how to set up the properties of a Type.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for ant help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 10:05:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-php-aspect/m-p/271203#M224333</guid>
      <dc:creator>i200</dc:creator>
      <dc:date>2012-07-31T10:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS + PHP + Aspect</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-php-aspect/m-p/271204#M224334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Setting aspect-defined properties via the Apache Chemistry PHP CMIS API is not supported at this time. As you noted, if you define your properties in types you can do it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You might want to take a look at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://svn.apache.org/repos/asf/chemistry/phpclient/trunk/examples/cmis_set_properties.php" rel="nofollow noopener noreferrer"&gt;https://svn.apache.org/repos/asf/chemistry/phpclient/trunk/examples/cmis_set_properties.php&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To see if it helps you figure out how to do it. You can also look at the documentation for the OpenCMIS (the Java API) and for cmislib (the Python API) to see how those API's handle properties.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Under the covers, both cmislib and the PHP API use the AtomPub binding so you can also look at the spec to understand how properties work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ultimately, you are handing a map of CMIS property names (like "cmis:name") and values (like "foobar.txt") to the updateProperties function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 12:48:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-php-aspect/m-p/271204#M224334</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2012-07-31T12:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS + PHP + Aspect</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-php-aspect/m-p/271205#M224335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am doing some work to generate a PHP library for CMIS and specifically for Alfresco. It is based on the standard SOAP extension within PHP5.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's not complete yet, but it will support the full Alfresco functionality, including aspects. Let me know if this is of interest for you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Karsten&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2012 17:17:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-php-aspect/m-p/271205#M224335</guid>
      <dc:creator>karstene</dc:creator>
      <dc:date>2012-08-03T17:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS + PHP + Aspect</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-php-aspect/m-p/271206#M224336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hopefully this is the SOAP binding of CMIS? I would strongly recommend against using the "old" native Web Services API if you can avoid it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Honestly, if I had a vote, I'd rather see people contribute to the existing CMIS PHP API in Apache Chemistry (Rich McKnight could use the help) to add support for aspects in the same way that the OpenCMIS Alfresco Extension did for OpenCMIS (Java) or the alfcmislib extension did for cmislib (Python).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, in a few months time we will be releasing an official "Public" API. This API is REST based and made up mostly of CMIS plus REST URLs that fill the gaps between CMIS and the rest of Alfresco's functionality. So a really worthwhile client-side project would be to create a PHP library that was a set of client-side objects that make use of that API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2012 18:28:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-php-aspect/m-p/271206#M224336</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2012-08-03T18:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS + PHP + Aspect</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-php-aspect/m-p/271207#M224337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Also, in a few months time we will be releasing an official "Public" API. This API is REST based and made up mostly of CMIS plus REST URLs that fill the gaps between CMIS and the rest of Alfresco's functionality. So a really worthwhile client-side project would be to create a PHP library that was a set of client-side objects that make use of that API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the name of the API that you say?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I want to use CMIS PHP API (Apache Chemistry) what things I can't to do with this API? And what I've to do if I wont to complete it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 10:50:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-php-aspect/m-p/271207#M224337</guid>
      <dc:creator>trompe</dc:creator>
      <dc:date>2016-02-12T10:50:03Z</dc:date>
    </item>
  </channel>
</rss>

