<?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: Document.getProperty in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/document-getproperty/m-p/320981#M7982</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I guess it should be &lt;CODE&gt;@{Document["csdec:xReferencesNeutres/0/sValeur"]}&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Side node: When looking at your automation chain, I advise you to use automation scripting &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Apr 2021 18:27:07 GMT</pubDate>
    <dc:creator>Gregory_Carlin</dc:creator>
    <dc:date>2021-04-01T18:27:07Z</dc:date>
    <item>
      <title>Document.getProperty</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/document-getproperty/m-p/320980#M7981</link>
      <description>&lt;P&gt;In a automation chain i have :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;- Context.SetVar:
    name: vReferenceNeutre
    value: "@{Document.getProperty(\"dec:xNoAz/sValeur\")}"
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;What is the syntaxe of Document.getProperty to get the first sValeur for a property with multiple value as :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;"dec:xReferencesNeutres": [ 
{ "sValeur": "2021 QCCA 7", "sValeurOriginale": null, "sSource": null },
{ "sValeur": "2021 QCCA 1", "sValeurOriginale": null, "sSource": null },
{ "sValeur": "2021 QCCA 3", "sValeurOriginale": null, "sSource": null }
 ]
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="aa.jpg"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1906i27A4F50D37D4F60F/image-size/large?v=v2&amp;amp;px=999" role="button" title="aa.jpg" alt="aa.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Mar 2021 21:14:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/document-getproperty/m-p/320980#M7981</guid>
      <dc:creator>steeve_gagnon</dc:creator>
      <dc:date>2021-03-30T21:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Document.getProperty</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/document-getproperty/m-p/320981#M7982</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I guess it should be &lt;CODE&gt;@{Document["csdec:xReferencesNeutres/0/sValeur"]}&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Side node: When looking at your automation chain, I advise you to use automation scripting &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Apr 2021 18:27:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/document-getproperty/m-p/320981#M7982</guid>
      <dc:creator>Gregory_Carlin</dc:creator>
      <dc:date>2021-04-01T18:27:07Z</dc:date>
    </item>
  </channel>
</rss>

