<?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: Updating many properties with the PHP client in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/updating-many-properties-with-the-php-client/m-p/317272#M4273</link>
    <description>&lt;P&gt;LOL -&amp;gt; the forum doesn't show new lines so you don't see it,  but there should be one &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Feb 2013 10:04:54 GMT</pubDate>
    <dc:creator>Guian_</dc:creator>
    <dc:date>2013-02-26T10:04:54Z</dc:date>
    <item>
      <title>Updating many properties with the PHP client</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/updating-many-properties-with-the-php-client/m-p/317270#M4271</link>
      <description>&lt;P&gt;Another query, as we're moving documents from one system to another, we need to set up lots of metadatas when a document gets uploaded/updated. According to the PHP Automation client, I believe I can set a single property (such as dc:title or dc:description) at a time by running following command...&lt;/P&gt;
&lt;P&gt;$answer = $session-&amp;gt;newRequest("Document.SetProperty")-&amp;gt;set('input', 'doc:' . $path)-&amp;gt;set('params', 'value', "New Title")-&amp;gt;set('params', 'xpath', "dc:title")-&amp;gt;sendRequest();&lt;/P&gt;
&lt;P&gt;But the problem is that I need to run above command for every single property. So if I'm setting up 8 different properties for a document, I need to run the above command 8 times.&lt;/P&gt;
&lt;P&gt;Is it possible to pass an associative array that sets up all the necessary properties in one go?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2011 19:15:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/updating-many-properties-with-the-php-client/m-p/317270#M4271</guid>
      <dc:creator>Megha_</dc:creator>
      <dc:date>2011-08-26T19:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: Updating many properties with the PHP client</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/updating-many-properties-with-the-php-client/m-p/317271#M4272</link>
      <description>&lt;P&gt;I belive that's what the 'Document.Update' request is for :&lt;/P&gt;
&lt;P&gt;$session-&amp;gt;newRequest("Document.Update")
-&amp;gt;set('input', 'doc:' . $newPath)
-&amp;gt;set('params', 'properties', "dc:title=The Document Title
dc:description=foo bar")
-&amp;gt;sendRequest();&lt;/P&gt;
&lt;P&gt;in this example it set the title and the description at once. ( note that the new line between the two properties is important  )&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2013 10:03:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/updating-many-properties-with-the-php-client/m-p/317271#M4272</guid>
      <dc:creator>Guian_</dc:creator>
      <dc:date>2013-02-26T10:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: Updating many properties with the PHP client</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/updating-many-properties-with-the-php-client/m-p/317272#M4273</link>
      <description>&lt;P&gt;LOL -&amp;gt; the forum doesn't show new lines so you don't see it,  but there should be one &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2013 10:04:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/updating-many-properties-with-the-php-client/m-p/317272#M4273</guid>
      <dc:creator>Guian_</dc:creator>
      <dc:date>2013-02-26T10:04:54Z</dc:date>
    </item>
  </channel>
</rss>

