Tracker Import Export | |
|
Usage | |
To use the feature, it must be enabled from the Tracker admin panel. It will then be accessible through the tracker listing along with the other import options. While basic import/export can be performed directly from the database, most usages require a functioning Unified Index. |
Schema definition | |
With Tracker Import-Export (Tracker Tabular), the administrator must first define an import/export schema. This is essentially a list of columns and the format that will be used to present or manipulate the information. Each supported tracker field type may expose one or more supported formats. For instance, imagine that you have these data types as shown in the screenshot below:
|
Field Formats | |
Field format examples:
|
Field Filters | ||||||||||||||||||||
Along with the schema definition, a list of available filters can be selected. Just like formats, these filters are exposed per field type. The filters will be available for the UI listings and for partial exports. By default, filters will be available in a filter pop-up, but they can be configured to display above the listing or on the side. Some filter examples:
Scope of FiltersFilters apply to the default listing view and partial export. The filters are defined per-field and can be configured in different locations:
Item Link fields that specify the Index Remote option will also make the filters from those fields available for selection. For example, if you have product linking to a supplier, you could filter products based on the city field defined in the supplier. Presetting the Default Values of FiltersYou can pass parameters on the partial export url to preset default values for the filters, like this to preset a username in a User Selector field: Copy to clipboard
If you're doing this in a custom smarty template you can do it like this: Copy to clipboard
|
Import / Export | |
Import | |
|
Full Export | |
|
Partial Export | |
|
Custom Export | |
|
Technicalities | |
For the import to be possible, a single field can be marked as the Primary Key. The item ID can be used, but other fields can be used as well. For example, if you manage a product database and know your supplier-provided serial numbers are unique, you could create a schema that uses those as the reference and not include the auto-generated item ID at all. A field can be marked as Export Only to be excluded from the default web view. This is useful for non-meaningful primary keys such as the itemId. It is required to import back the data, but should otherwise not be presented to the users under normal circumstances. See:
|
Use from remote sources | |
You can alternatively use tracker data from remote sources through the ODBC read/write support added in Tiki23. See ODBC Alias names of this page:
|