Tinebase_Export - add customfield, keyfield, virtual field resolving
[tine20] / tine20 / Calendar / Export / definitions / cal_resource_doc.xml
index d53357c..e4bd37f 100644 (file)
     <plugin>Calendar_Export_Resource_Doc</plugin>
     <icon_class>tinebase-action-export-doc</icon_class>
     <template>tine20:///Tinebase/folders/shared/export/templates/Calendar/calendar_resource_export.docx</template>
+    <virtualFields>
+        <virtualField>
+            <name>location</name>
+            <relatedModel>Addressbook_Model_Contact</relatedModel>
+            <relatedDegree>child</relatedDegree>
+            <type>SITE</type>
+        </virtualField>
+    </virtualFields>
+    <keyFields>
+        <keyField>
+            <name>resourceTypes</name>
+            <propertyName>type</propertyName>
+        </keyField>
+        <keyField>
+            <name>freebusyTypes</name>
+            <propertyName>busy_type</propertyName>
+        </keyField>
+        <keyField>
+            <name>attendeeStatus</name>
+            <propertyName>status</propertyName>
+        </keyField>
+    </keyFields>
 </config>