<?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 Add lifecycle state to document template in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/add-lifecycle-state-to-document-template/m-p/325172#M12173</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am trying to construct a template that displays the current lifecycle status but I do not manage to do it. What is the right property? Where can I find the complete dublincore set?&lt;/P&gt;
&lt;P&gt;So far I have unsuccessfully tried:
${Document['dc:lifeCycle']}; ${Document.lifeCycle}; ${ecm:LifeCycleState}; ${ecm:currentLifeCycleState}; ${doc:LifeCycleState}; ${doc['dc:LifeCycleState']}; ${doc['dc:lifeCycle']}; ${doc.lifeCycle}&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Cuyo
using Nuxeo platform 5.9.2&lt;/P&gt;</description>
    <pubDate>Tue, 13 May 2014 17:40:37 GMT</pubDate>
    <dc:creator>cuyo_</dc:creator>
    <dc:date>2014-05-13T17:40:37Z</dc:date>
    <item>
      <title>Add lifecycle state to document template</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/add-lifecycle-state-to-document-template/m-p/325172#M12173</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am trying to construct a template that displays the current lifecycle status but I do not manage to do it. What is the right property? Where can I find the complete dublincore set?&lt;/P&gt;
&lt;P&gt;So far I have unsuccessfully tried:
${Document['dc:lifeCycle']}; ${Document.lifeCycle}; ${ecm:LifeCycleState}; ${ecm:currentLifeCycleState}; ${doc:LifeCycleState}; ${doc['dc:LifeCycleState']}; ${doc['dc:lifeCycle']}; ${doc.lifeCycle}&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Cuyo
using Nuxeo platform 5.9.2&lt;/P&gt;</description>
      <pubDate>Tue, 13 May 2014 17:40:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/add-lifecycle-state-to-document-template/m-p/325172#M12173</guid>
      <dc:creator>cuyo_</dc:creator>
      <dc:date>2014-05-13T17:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: Add lifecycle state to document template</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/add-lifecycle-state-to-document-template/m-p/325173#M12174</link>
      <description>&lt;P&gt;You can try ${doc.lifeCycleState}&lt;/P&gt;
&lt;P&gt;LifeCycle is not in the dublincore schema, it is more crucial in Nuxeo and it is defined in org.nuxeo.ecm.core.storage.sql.Model.&lt;/P&gt;
&lt;P&gt;You can look for the dublincore.xsd file.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0"?&amp;gt;
&amp;lt;xs:schema
    targetNamespace="http://www.nuxeo.org/ecm/schemas/dublincore/"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:nxs="http://www.nuxeo.org/ecm/schemas/dublincore/"&amp;gt;

    &amp;lt;xs:simpleType name="subjectList"&amp;gt;
        &amp;lt;xs:list itemType="xs:string" /&amp;gt;
    &amp;lt;/xs:simpleType&amp;gt;

    &amp;lt;xs:simpleType name="contributorList"&amp;gt;
        &amp;lt;xs:list itemType="xs:string" /&amp;gt;
    &amp;lt;/xs:simpleType&amp;gt;

    &amp;lt;xs:element name="title" type="xs:string"/&amp;gt;
    &amp;lt;xs:element name="description" type="xs:string"/&amp;gt;
    &amp;lt;xs:element name="subjects" type="nxs:subjectList"/&amp;gt;
    &amp;lt;xs:element name="rights" type="xs:string"/&amp;gt;
    &amp;lt;xs:element name="source" type="xs:string"/&amp;gt;
    &amp;lt;xs:element name="coverage" type="xs:string"/&amp;gt;
    &amp;lt;xs:element name="created" type="xs:date"/&amp;gt;
    &amp;lt;xs:element name="modified" type="xs:date"/&amp;gt;
    &amp;lt;xs:element name="issued" type="xs:date"/&amp;gt;
    &amp;lt;xs:element name="valid" type="xs:date"/&amp;gt;
    &amp;lt;xs:element name="expired" type="xs:date"/&amp;gt;
    &amp;lt;xs:element name="format" type="xs:string"/&amp;gt;
    &amp;lt;xs:element name="language" type="xs:string"/&amp;gt;
    &amp;lt;xs:element name="creator" type="xs:string"/&amp;gt;
    &amp;lt;xs:element name="contributors" type="nxs:contributorList"/&amp;gt;
    &amp;lt;xs:element name="lastContributor" type="xs:string"/&amp;gt;

    &amp;lt;!-- Corresponds to the dublincore type element,
    but renamed to avoid conflicts --&amp;gt;
    &amp;lt;xs:element name="nature" type="xs:string"/&amp;gt;

    &amp;lt;!-- @Since 5.5 --&amp;gt;
    &amp;lt;xs:element name="publisher" type="xs:string"/&amp;gt;

&amp;lt;/xs:schema&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;All the best&lt;/P&gt;</description>
      <pubDate>Tue, 13 May 2014 20:16:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/add-lifecycle-state-to-document-template/m-p/325173#M12174</guid>
      <dc:creator>adam_bo_</dc:creator>
      <dc:date>2014-05-13T20:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: Add lifecycle state to document template</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/add-lifecycle-state-to-document-template/m-p/325174#M12175</link>
      <description>&lt;P&gt;${doc.lifeCycleState} worked perfectly. Thank you so much for your response and the information.&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2014 10:39:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/add-lifecycle-state-to-document-template/m-p/325174#M12175</guid>
      <dc:creator>cuyo_</dc:creator>
      <dc:date>2014-05-14T10:39:26Z</dc:date>
    </item>
  </channel>
</rss>

