
h1. Configuration of Publication Awareness of the Content Browser

Before DMS 2.3 all documents of the chosen folder were always shown when using the Content Browser. Now, you can choose to show only published documents.



h1. UI way
* Click
!icon.gif!
 icon on the right corner of the Content Browser portlet and select 'Edit' function as :

!edit.gif!


h2. Path config

Select the 'Allow Publish' check box.

* If you select this check box only *published documents* will be shown.
* Otherwise *all documents* are shown.


!path.gif!


h2. Using query


!query.gif!


h2. Using script


!script.gif!


h2. Document


!doc.gif!


h1. Technical way

In the portlet.xml and portal/group/platform/user/portlet-preferences.xml, insert the new preference value:
{code}
<preference>
   <name>isAllowPublish</name>
   <value>false</value>
   <read-only>false</read-only>
</preference>
{code}