<?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 Disable a content view result layout in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/disable-a-content-view-result-layout/m-p/313761#M762</link>
    <description>&lt;P&gt;I understand that filters are used on actions. However, I want to control who sees a result layout option on a content view. Is this possible? How can I achieve this?&lt;/P&gt;</description>
    <pubDate>Thu, 20 Feb 2014 21:18:28 GMT</pubDate>
    <dc:creator>pegsablaze_</dc:creator>
    <dc:date>2014-02-20T21:18:28Z</dc:date>
    <item>
      <title>Disable a content view result layout</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/disable-a-content-view-result-layout/m-p/313761#M762</link>
      <description>&lt;P&gt;I understand that filters are used on actions. However, I want to control who sees a result layout option on a content view. Is this possible? How can I achieve this?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2014 21:18:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/disable-a-content-view-result-layout/m-p/313761#M762</guid>
      <dc:creator>pegsablaze_</dc:creator>
      <dc:date>2014-02-20T21:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Disable a content view result layout</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/disable-a-content-view-result-layout/m-p/313762#M763</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Buttons here are custom buttons part of the content view template and are not controlled by filters although that would be a nice improvement.&lt;/P&gt;
&lt;P&gt;If you'd like to put this in place, you'll have to override the default template and maybe hardcode behaviour depending on the content views that you'd like to affect. Note that you can still use filters to control this (checking #{webActions.checkFilter('filterId')} in the template, for instance).&lt;/P&gt;
&lt;P&gt;The template in 5.8 is at &lt;A href="https://github.com/nuxeo/nuxeo-jsf/blob/master/nuxeo-platform-webapp-base/src/main/resources/web/nuxeo.war/incl/content_view_result_layout_actions.xhtml" target="test_blank"&gt;https://github.com/nuxeo/nuxeo-jsf/blob/master/nuxeo-platform-webapp-base/src/main/resources/web/nuxeo.war/incl/content_view_result_layout_actions.xhtml&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Feb 2014 00:41:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/disable-a-content-view-result-layout/m-p/313762#M763</guid>
      <dc:creator>Anahide_Tchertc</dc:creator>
      <dc:date>2014-02-22T00:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Disable a content view result layout</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/disable-a-content-view-result-layout/m-p/313763#M764</link>
      <description>&lt;P&gt;I was thinking of something along those lines, but I didn't want to have to hard code the behavior.&lt;/P&gt;</description>
      <pubDate>Sat, 22 Feb 2014 01:02:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/disable-a-content-view-result-layout/m-p/313763#M764</guid>
      <dc:creator>pegsablaze_</dc:creator>
      <dc:date>2014-02-22T01:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: Disable a content view result layout</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/disable-a-content-view-result-layout/m-p/313764#M765</link>
      <description>&lt;P&gt;Ooh! Followup, is there a way to find out the name of the view? IE, checkName('viewname') to determine if the view name matches? At least then I could use the checkFilter() in conjunction, and not REALLY hardcode it in there.&lt;/P&gt;</description>
      <pubDate>Sat, 22 Feb 2014 01:06:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/disable-a-content-view-result-layout/m-p/313764#M765</guid>
      <dc:creator>pegsablaze_</dc:creator>
      <dc:date>2014-02-22T01:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Disable a content view result layout</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/disable-a-content-view-result-layout/m-p/313765#M766</link>
      <description>&lt;P&gt;If you mean the name of the content view, yes, you have access to #{contentView.name}. You can add to it the result layout name #{cvLayout.name} and define a filter id to check like this, maybe using a marker (or another convention) to avoid collisions with other filter ids.&lt;/P&gt;</description>
      <pubDate>Sat, 22 Feb 2014 01:22:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/disable-a-content-view-result-layout/m-p/313765#M766</guid>
      <dc:creator>Anahide_Tchertc</dc:creator>
      <dc:date>2014-02-22T01:22:25Z</dc:date>
    </item>
  </channel>
</rss>

