egroupware/resources/setup/importexport_default.xml
2011-01-26 00:12:19 +00:00

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 type="string" name="1">Admins</entry>
</entry>
<entry type="array" name="plugin_options">
<entry type="array" name="mapping">
<entry type="string" name="res_id">res_id</entry>
<entry type="string" name="name">name</entry>
<entry type="string" name="short_description">short_description</entry>
<entry type="string" name="cat_id">cat_id</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>
<entry type="string" name="delimiter">;</entry>
<entry type="string" name="charset">utf-8</entry>
<entry type="string" name="begin_with_fieldnames">1</entry>
<entry type="string" name="convert">0</entry>
</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">Default</entry>
<entry type="string" name="1">Admins</entry>
</entry>
<entry type="array" name="plugin_options">
<entry type="string" name="fieldsep">;</entry>
<entry type="string" name="charset">utf-8</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">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 type="string" name="12">no_csv_1</entry>
<entry type="string" name="13">no_csv_2</entry>
<entry type="string" name="14">no_csv_3</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>
</entry>
</entry>
</entry>