summaryrefslogtreecommitdiffstats
path: root/src/collective/dms/thesaurus/profiles/default/types/dmsthesaurus.xml
blob: 85c4ace02fb8dcab120c26fc5d0a9fe95ca07930 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?xml version="1.0"?>
<object name="dmsthesaurus" meta_type="Dexterity FTI" i18n:domain="plone"
   xmlns:i18n="http://xml.zope.org/namespaces/i18n">
 <property name="title" i18n:translate="">Thesaurus</property>
 <property name="description" i18n:translate="">DMS Thesaurus</property>
 <property name="icon_expr">string:${portal_url}/++resource++thesaurus_icon.png</property>
 <property name="factory">dmsthesaurus</property>
 <property name="add_view_expr">string:${folder_url}/++add++dmsthesaurus</property>
 <property name="link_target"></property>
 <property name="immediate_view">view</property>
 <property name="global_allow">True</property>
 <property name="filter_content_types">True</property>
 <property name="allowed_content_types">
  <element value="dmskeyword"/>
 </property>
 <property name="allow_discussion">False</property>
 <property name="default_view">view</property>
 <property name="view_methods">
  <element value="view"/>
 </property>
 <property name="default_view_fallback">False</property>
 <property name="add_permission">cmf.AddPortalContent</property>
 <property name="klass">collective.dms.thesaurus.dmsthesaurus.DmsThesaurus</property>
 <property name="behaviors">
  <element value="plone.app.content.interfaces.INameFromTitle"/>
  <element value="plone.app.dexterity.behaviors.metadata.IDublinCore"/>
  <element value="plone.app.dexterity.behaviors.exclfromnav.IExcludeFromNavigation"/>
  <element value="collective.dexteritytextindexer.behavior.IDexterityTextIndexer" />
</property>
 <!-- DO NOT use a model_source or it removes manually added fields while reapplying the profile -->
 <!--property name="model_source" /-->
 <property name="schema">collective.dms.thesaurus.dmsthesaurus.IDmsThesaurus</property>
 <property name="schema_policy">schema_policy_dmsthesaurus</property>
 <alias from="(Default)" to="(dynamic view)"/>
 <alias from="edit" to="@@edit"/>
 <alias from="sharing" to="@@sharing"/>
 <alias from="view" to="(selected layout)"/>
 <action title="View" action_id="view" category="object" condition_expr=""
    description="" icon_expr="" link_target="" url_expr="string:${object_url}"
    visible="True">
  <permission value="View"/>
 </action>
 <action title="Edit" action_id="edit" category="object" condition_expr=""
    description="" icon_expr="" link_target=""
    url_expr="string:${object_url}/edit" visible="True">
  <permission value="Modify portal content"/>
 </action>
</object>