<?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: Javascript automation - how to acces document property in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/javascript-automation-how-to-acces-document-property/m-p/328291#M15292</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;you need to do doc.getTitle() to get the title, and doc.getPropertyValue("...") to get a specific metadata.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Michael&lt;/P&gt;</description>
    <pubDate>Fri, 21 Aug 2015 08:33:58 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-08-21T08:33:58Z</dc:date>
    <item>
      <title>Javascript automation - how to acces document property</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/javascript-automation-how-to-acces-document-property/m-p/328290#M15291</link>
      <description>&lt;P&gt;Hello
I'm trying to use the new javascript automation but can't find a way to access a metadata of a document.
If I get a Document as var doc, what is the syntax to get it's title, or a specific metadata?&lt;/P&gt;
&lt;P&gt;Sorry for this rookie question
Many thanks
Lisa&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2015 17:05:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/javascript-automation-how-to-acces-document-property/m-p/328290#M15291</guid>
      <dc:creator>Lisa_Bonnon</dc:creator>
      <dc:date>2015-08-20T17:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript automation - how to acces document property</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/javascript-automation-how-to-acces-document-property/m-p/328291#M15292</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;you need to do doc.getTitle() to get the title, and doc.getPropertyValue("...") to get a specific metadata.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Michael&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2015 08:33:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/javascript-automation-how-to-acces-document-property/m-p/328291#M15292</guid>
      <dc:creator />
      <dc:date>2015-08-21T08:33:58Z</dc:date>
    </item>
  </channel>
</rss>

