Tinebase_Export - add customfield, keyfield, virtual field resolving
[tine20] / tine20 / Calendar / Export / definitions / cal_resource_doc.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <config>
3     <model>Calendar_Model_Resource</model>
4     <name>cal_resource_doc</name>
5     <!-- _('Word details') -->
6     <label>Word details</label>
7     <favorite>true</favorite>
8     <order>100</order>
9     <type>export</type>
10     <plugin>Calendar_Export_Resource_Doc</plugin>
11     <icon_class>tinebase-action-export-doc</icon_class>
12     <template>tine20:///Tinebase/folders/shared/export/templates/Calendar/calendar_resource_export.docx</template>
13     <virtualFields>
14         <virtualField>
15             <name>location</name>
16             <relatedModel>Addressbook_Model_Contact</relatedModel>
17             <relatedDegree>child</relatedDegree>
18             <type>SITE</type>
19         </virtualField>
20     </virtualFields>
21     <keyFields>
22         <keyField>
23             <name>resourceTypes</name>
24             <propertyName>type</propertyName>
25         </keyField>
26         <keyField>
27             <name>freebusyTypes</name>
28             <propertyName>busy_type</propertyName>
29         </keyField>
30         <keyField>
31             <name>attendeeStatus</name>
32             <propertyName>status</propertyName>
33         </keyField>
34     </keyFields>
35 </config>