<?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 el expression for &amp;quot;current user is last contributor&amp;quot; in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/el-expression-for-quot-current-user-is-last-contributor-quot/m-p/325741#M12742</link>
    <description>&lt;P&gt;Hello all,
my question is in subject.
I need to create an action filter to hide a button when the current user is not the last contributor.
I tried
&lt;CONDITION&gt;#{!currentDocument.lastContributor.equals(currentUser)}&lt;/CONDITION&gt;
and other thinks without any success.
Any idea ?
Many thanks&lt;/P&gt;</description>
    <pubDate>Wed, 11 Feb 2015 17:44:29 GMT</pubDate>
    <dc:creator>Corinne_</dc:creator>
    <dc:date>2015-02-11T17:44:29Z</dc:date>
    <item>
      <title>el expression for "current user is last contributor"</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/el-expression-for-quot-current-user-is-last-contributor-quot/m-p/325741#M12742</link>
      <description>&lt;P&gt;Hello all,
my question is in subject.
I need to create an action filter to hide a button when the current user is not the last contributor.
I tried
&lt;CONDITION&gt;#{!currentDocument.lastContributor.equals(currentUser)}&lt;/CONDITION&gt;
and other thinks without any success.
Any idea ?
Many thanks&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2015 17:44:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/el-expression-for-quot-current-user-is-last-contributor-quot/m-p/325741#M12742</guid>
      <dc:creator>Corinne_</dc:creator>
      <dc:date>2015-02-11T17:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: el expression for "current user is last contributor"</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/el-expression-for-quot-current-user-is-last-contributor-quot/m-p/325742#M12743</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;
&lt;P&gt;the last contributor is a metadata in the dublincore schema. So the correct expression should be&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;#{currentDocument.dublincore.lastContributor.equals(currentUser.name)}
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;Thierry&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2015 17:49:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/el-expression-for-quot-current-user-is-last-contributor-quot/m-p/325742#M12743</guid>
      <dc:creator>Thierry_Martins</dc:creator>
      <dc:date>2015-02-11T17:49:53Z</dc:date>
    </item>
  </channel>
</rss>

