<?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 set Simple view in document library in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/set-simple-view-in-document-library/m-p/80523#M24908</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I want to set Simple View as by default view in document library on site creation.&lt;/P&gt;&lt;P&gt;For that i have made changes in documentlist.js like below:&lt;BR /&gt;viewRendererName: "simple",&amp;nbsp; &amp;nbsp; but that didn't worked.&lt;/P&gt;&lt;P&gt;Can anyone please suggest what are the other changes are required ?&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Hardik&lt;/P&gt;</description>
    <pubDate>Tue, 14 Apr 2020 08:46:22 GMT</pubDate>
    <dc:creator>hardik_thakkar</dc:creator>
    <dc:date>2020-04-14T08:46:22Z</dc:date>
    <item>
      <title>set Simple view in document library</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/set-simple-view-in-document-library/m-p/80523#M24908</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I want to set Simple View as by default view in document library on site creation.&lt;/P&gt;&lt;P&gt;For that i have made changes in documentlist.js like below:&lt;BR /&gt;viewRendererName: "simple",&amp;nbsp; &amp;nbsp; but that didn't worked.&lt;/P&gt;&lt;P&gt;Can anyone please suggest what are the other changes are required ?&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Hardik&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 08:46:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/set-simple-view-in-document-library/m-p/80523#M24908</guid>
      <dc:creator>hardik_thakkar</dc:creator>
      <dc:date>2020-04-14T08:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: set Simple view in document library</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/set-simple-view-in-document-library/m-p/80524#M24909</link>
      <description>&lt;P&gt;Hi Hardik,&lt;/P&gt;&lt;P&gt;You need to set "defaultViewId" as simple which is property of "defaultViewConfig" aspect.&lt;/P&gt;&lt;P&gt;You can create rule on Sites folder and capture event of site-creation and add aspect.&lt;/P&gt;&lt;P&gt;You can create policy which capture site creation event and in that policy you can set default view.&lt;/P&gt;&lt;P&gt;Ex.&lt;/P&gt;&lt;PRE&gt;Map&amp;lt;QName, Serializable&amp;gt; viewProp = new HashMap&amp;lt;QName, Serializable&amp;gt;();
viewProp.put(ApplicationModel.PROP_DEFAULT_VIEW_ID, "simple");
nodeService.addAspect(folderNodeRef, ApplicationModel.ASPECT_DEFAULT_VIEW_CONFIG, viewProp);&lt;/PRE&gt;</description>
      <pubDate>Tue, 14 Apr 2020 11:31:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/set-simple-view-in-document-library/m-p/80524#M24909</guid>
      <dc:creator>sp2</dc:creator>
      <dc:date>2020-04-14T11:31:11Z</dc:date>
    </item>
  </channel>
</rss>

