egroupware_official/resources/setup/importexport_default.xml

103 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="bookable">Bookable</entry>
<entry type="string" name="buyable">Buyable</entry>
<entry type="string" name="prize">Prize</entry>
<entry type="string" name="long_description">Long description</entry>
<entry type="string" name="inventory_number">Inventory number</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">2011-05-24 10:12:46</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">Bookable</entry>
<entry type="string" name="8">Buyable</entry>
<entry type="string" name="9">Prize</entry>
<entry type="string" name="10">Long description</entry>
<entry type="string" name="11">Inventory number</entry>
<entry type="string" name="12">Test CF</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">bookable</entry>
<entry type="string" name="8">buyable</entry>
<entry type="string" name="9">prize</entry>
<entry type="string" name="10">long_description</entry>
<entry type="string" name="11">inventory_number</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-10-09 11:00:00</entry>
</entry>
</entry>
</entry>