<?xml version="1.0" encoding="UTF-8"?>
<config>
    <model>Calendar_Model_Resource</model>
    <name>cal_resource_xls_current_columns</name>
    <!-- _('Excel current columns') -->
    <label>Excel current columns</label>
    <type>export</type>
    <plugin>Calendar_Export_Resource_Xls</plugin>
    <icon_class>tinebase-action-export-xls</icon_class>
    <favorite>true</favorite>
    <order>200</order>
    <scope>multi</scope>
    <use_current_columns>true</use_current_columns>
    <template>tine20:///Tinebase/folders/shared/export/templates/Calendar/calendar_resource_export.xlsx</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>
