2 <object name=
"File" meta_type=
"Factory-based Type Information"
3 xmlns:
i18n=
"http://xml.zope.org/namespaces/i18n">
4 <property name=
"title">File
</property>
5 <property name=
"description">Contain arbitrary downloadable files.
</property>
6 <property name=
"content_icon">application.png
</property>
7 <property name=
"content_meta_type">Plinn File
</property>
8 <property name=
"product"></property>
9 <property name=
"factory">plinn.file
</property>
10 <property name=
"immediate_view">object/edit
</property>
11 <property name=
"global_allow">True
</property>
12 <property name=
"filter_content_types">True
</property>
13 <property name=
"allowed_content_types"/>
14 <property name=
"allow_discussion">True
</property>
15 <alias from=
"(Default)" to=
"file_view"/>
16 <alias from=
"info" to=
"file_info"/>
17 <alias from=
"view" to=
"file_view"/>
18 <action title=
"View" action_id=
"view" category=
"object" condition_expr=
""
19 url_expr=
"string:${object_url}/file_view" visible=
"True">
20 <permission value=
"View"/>
22 <action title=
"Web preview" action_id=
"preview" category=
"object"
23 condition_expr=
"" url_expr=
"string:${object_url}/preview" visible=
"False">
24 <permission value=
"View"/>
26 <action title=
"Download" action_id=
"download" category=
"object"
27 condition_expr=
"" url_expr=
"string:${object_url}" visible=
"False">
28 <permission value=
"View"/>
30 <action title=
"Edit" action_id=
"edit" category=
"object" condition_expr=
""
31 url_expr=
"string:${object_url}/file_edit_form" visible=
"True">
32 <permission value=
"Modify portal content"/>
34 <action title=
"Share" action_id=
"localroles" category=
"object"
35 condition_expr=
"" url_expr=
"string:${object_url}/folder_localrole_form"
37 <permission value=
"Set Local Roles"/>
39 <action title=
"Status history" action_id=
"history" category=
"object"
40 condition_expr=
"" url_expr=
"string:${object_url}/content_status_history"
42 <permission value=
"Request review"/>
43 <permission value=
"Review portal content"/>