egroupware_official/resources/setup/importexport_default.xml
2013-01-10 19:41:52 +00:00

102 lines
5.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<entry type="array" name="importExportDefinitions">
<entry type="array" name="metainfo">
<entry type="string" name="type">importexport definitions</entry>
<entry type="string" name="charset">utf-8</entry>
<entry type="integer" name="entries">2</entry>
</entry>
<entry type="array" name="definitions">
<entry type="array" name="export-resources">
<entry type="string" name="name">export-resources</entry>
<entry type="string" name="application">resources</entry>
<entry type="string" name="plugin">resources_export_csv</entry>
<entry type="string" name="type">export</entry>
<entry type="array" name="allowed_users">
<entry type="string" name="0">Default</entry>
</entry>
<entry type="array" name="plugin_options">
<entry type="array" name="mapping">
<entry type="string" name="res_id">Resource ID</entry>
<entry type="string" name="name">Name</entry>
<entry type="string" name="short_description">Short description</entry>
<entry type="string" name="cat_id">Category</entry>
<entry type="string" name="quantity">Quantity</entry>
<entry type="string" name="useable">Useable</entry>
<entry type="string" name="location">Location</entry>
<entry type="string" name="storage_info">Storage</entry>
<entry type="string" name="bookable">Bookable</entry>
<entry type="string" name="long_description">Long description</entry>
<entry type="string" name="inventory_number">Inventory number</entry>
<entry type="string" name="accessory_of">Accessory of</entry>
<entry type="string" name="all_custom_fields">resources</entry>
</entry>
<entry type="string" name="delimiter">;</entry>
<entry type="string" name="charset">user</entry>
<entry type="string" name="begin_with_fieldnames">label</entry>
<entry type="string" name="convert">1</entry>
</entry>
<entry type="string" name="modified">2012-12-31 09:00:00</entry>
</entry>
<entry type="array" name="import-resources">
<entry type="string" name="name">import-resources</entry>
<entry type="string" name="application">resources</entry>
<entry type="string" name="plugin">resources_import_csv</entry>
<entry type="string" name="type">import</entry>
<entry type="array" name="allowed_users">
<entry type="string" name="0">Admins</entry>
</entry>
<entry type="array" name="plugin_options">
<entry type="string" name="fieldsep">;</entry>
<entry type="string" name="charset">user</entry>
<entry type="string" name="num_header_lines">1</entry>
<entry type="string" name="update_cats">add</entry>
<entry type="array" name="csv_fields">
<entry type="string" name="0">Resource ID</entry>
<entry type="string" name="1">Name</entry>
<entry type="string" name="2">Short description</entry>
<entry type="string" name="3">Category</entry>
<entry type="string" name="4">Quantity</entry>
<entry type="string" name="5">Useable</entry>
<entry type="string" name="6">Location</entry>
<entry type="string" name="7">Storage</entry>
<entry type="string" name="8">Bookable</entry>
<entry type="string" name="9">Long description</entry>
<entry type="string" name="10">Inventory number</entry>
<entry type="string" name="11">Accessory of</entry>
</entry>
<entry type="array" name="field_mapping">
<entry type="string" name="0">res_id</entry>
<entry type="string" name="1">name</entry>
<entry type="string" name="2">short_description</entry>
<entry type="string" name="3">cat_id</entry>
<entry type="string" name="4">quantity</entry>
<entry type="string" name="5">useable</entry>
<entry type="string" name="6">location</entry>
<entry type="string" name="7">storage_info</entry>
<entry type="string" name="8">bookable</entry>
<entry type="string" name="9">long_description</entry>
<entry type="string" name="10">inventory_number</entry>
<entry type="string" name="11">accessory_of</entry>
</entry>
<entry type="string" name="field_conversion"/>
<entry type="array" name="conditions">
<entry type="array" name="0">
<entry type="string" name="string">res_id</entry>
<entry type="string" name="type">exists</entry>
<entry type="array" name="true">
<entry type="string" name="action">update</entry>
<entry type="string" name="stop">1</entry>
</entry>
<entry type="array" name="false">
<entry type="string" name="action">insert</entry>
<entry type="string" name="stop">1</entry>
</entry>
</entry>
</entry>
<entry type="string" name="convert">1</entry>
</entry>
<entry type="string" name="modified">2012-12-31 09:00:00</entry>
</entry>
</entry>
</entry>