<?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 Re: Adding content to multiple categories via PHP in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/adding-content-to-multiple-categories-via-php/m-p/186395#M139525</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;*bump* Any thoughts on this one?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Dec 2008 17:34:28 GMT</pubDate>
    <dc:creator>dwilson</dc:creator>
    <dc:date>2008-12-29T17:34:28Z</dc:date>
    <item>
      <title>Adding content to multiple categories via PHP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-content-to-multiple-categories-via-php/m-p/186394#M139524</link>
      <description>Hello all, thanks in advance for any assistance.&amp;nbsp; (As indicated by other posts, I've had an unexpectedly rough time working with the PHP API lately, so I will try to be more constructive by documenting specific questions.)I'm trying to complete a content import script, and one of the requirements is</description>
      <pubDate>Tue, 16 Dec 2008 01:04:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-content-to-multiple-categories-via-php/m-p/186394#M139524</guid>
      <dc:creator>dwilson</dc:creator>
      <dc:date>2008-12-16T01:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: Adding content to multiple categories via PHP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-content-to-multiple-categories-via-php/m-p/186395#M139525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;*bump* Any thoughts on this one?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2008 17:34:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-content-to-multiple-categories-via-php/m-p/186395#M139525</guid>
      <dc:creator>dwilson</dc:creator>
      <dc:date>2008-12-29T17:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Adding content to multiple categories via PHP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-content-to-multiple-categories-via-php/m-p/186396#M139526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;*bump* *bump* ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2009 18:18:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-content-to-multiple-categories-via-php/m-p/186396#M139526</guid>
      <dc:creator>dwilson</dc:creator>
      <dc:date>2009-02-13T18:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Adding content to multiple categories via PHP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-content-to-multiple-categories-via-php/m-p/186397#M139527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi dwilson,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;pretty poor community reaction on your interessting post …&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Before I go into experimentation some questions: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Have you got some results to your question of assigning more than one category to a node? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Is there - maybe - a possiblilty and/or a necessity to set the MultiValueFlag to true via the PHP API?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any response in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ralf&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Nov 2010 09:11:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-content-to-multiple-categories-via-php/m-p/186397#M139527</guid>
      <dc:creator>hr61369256</dc:creator>
      <dc:date>2010-11-16T09:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Adding content to multiple categories via PHP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-content-to-multiple-categories-via-php/m-p/186398#M139528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ralf,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We gave up on the PHP API and moved to making SOAP calls to JS webscripts that we wrote.&amp;nbsp; The JS API proved to be a lot more flexible, so we inserted that layer to get our PHP app working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure how the PHP API might've changed (or not changed) since I made this post, the optimistic side of me would hope the issue is fixed.&amp;nbsp; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dave&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Nov 2010 20:19:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-content-to-multiple-categories-via-php/m-p/186398#M139528</guid>
      <dc:creator>dwilson</dc:creator>
      <dc:date>2010-11-16T20:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Adding content to multiple categories via PHP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-content-to-multiple-categories-via-php/m-p/186399#M139529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Dave,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you for your answer. Again some questions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Is it possible to mix both api's (PHP and Javascript)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Does the Javascript api uses something like AJAX to communicate with the remote server/webscripts?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Could post a tiny example code, perhaps fitting to the origin of this topic with categories etc.?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks so much,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ralf&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2010 10:03:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-content-to-multiple-categories-via-php/m-p/186399#M139529</guid>
      <dc:creator>hr61369256</dc:creator>
      <dc:date>2010-11-17T10:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: Adding content to multiple categories via PHP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-content-to-multiple-categories-via-php/m-p/186400#M139530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;… again me:&amp;nbsp; just to explain what I mean with mixing both api's:&amp;nbsp; is it possible to use a ticket - received through php - for other services activating through the javascriipt api?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ralf&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2010 10:42:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-content-to-multiple-categories-via-php/m-p/186400#M139530</guid>
      <dc:creator>hr61369256</dc:creator>
      <dc:date>2010-11-17T10:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Adding content to multiple categories via PHP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-content-to-multiple-categories-via-php/m-p/186401#M139531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Javascript API - i think he ment the server side scripting language javascripts to create webscripts in alfresco so every program language who is able to make http requests is able to have an integration with this API&amp;nbsp; (RESTFul Services)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ticket sharing works fine for me if you log in via Webservice and give the ticket to the HTTP Request for the restful call.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To the outdated not supported Alfresco PHP Library - i had many problems with the API and i extended this API so that it is useful … still much to do on this API but i released a beta of my Library so you can have a look in it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I implemented restful services like tags, categories and many other features. Docu is not ready yet but as you can read PHP you'll be able to read my Source &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt; ifresco PHP library - Forge Project -&amp;gt; &lt;/SPAN&gt;&lt;A href="http://forge.alfresco.com/projects/ifresco-phplib/" rel="nofollow noopener noreferrer"&gt;http://forge.alfresco.com/projects/ifresco-phplib/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;But the the real question on this topic:&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you already try to add the noderefs of the categories in an array and save this array to the property?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;$categoryNodeRefOne= "workspace://SpacesStore/".$categoryOne-&amp;gt;getId();&lt;BR /&gt;$categoryNodeRefTwo= "workspace://SpacesStore/".$categoryTwo-&amp;gt;getId();&lt;BR /&gt;&lt;BR /&gt;$properties["{&lt;A href="http://www.alfresco.org/model/content/1.0}categories" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}categories&lt;/A&gt;"] = array(categoryNodeRefOne,categoryNodeRefTwo);&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;i think this should solve your problem&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2011 16:01:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-content-to-multiple-categories-via-php/m-p/186401#M139531</guid>
      <dc:creator>ddanninger</dc:creator>
      <dc:date>2011-04-06T16:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Adding content to multiple categories via PHP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-content-to-multiple-categories-via-php/m-p/186402#M139532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@ddanninger:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much for this great php llibrary add on … that''s exactly what lots of php developers are looking for.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ralf&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2011 11:48:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-content-to-multiple-categories-via-php/m-p/186402#M139532</guid>
      <dc:creator>hr61369256</dc:creator>
      <dc:date>2011-04-07T11:48:08Z</dc:date>
    </item>
  </channel>
</rss>

