Tracker Import-Export (Tracker Tabular) is an advanced import/export feature for Trackers, allowing for more flexibility and more predictable results. Additionally, it can be used to create custom listings for trackers using the same formatting rules. Applicable filters can be selected to create efficient task-specific interfaces.
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.
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:
You will need a schema like this one:
Field format examples:
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:
Filters 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.
You 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:
tiki-tabular-filter?target=export&tabularId=1&tf_aTrackerUserField_dd=username
If you're doing this in a custom smarty template you can do it like this:
{button href="tiki-tabular-filter?target=export&tabularId=1&tf_aTrackerUserField_dd=`$user`" _text="Export" _class='click-modal'}
The basic format is ft_{$permName}_xx where xx changes depending on the type of field. Here are some examples:
| DropDown, User Selector single: | tf_permName_dd
|
| DropDown, User Selector etc multi: | tf_permName_ms
|
| Category (multi-select any) | tf_{$permName}_anyd
|
| Category (checkboxes any) | tf_{$permName}_anyc
|
| Text | tf_{$permName}_ft
|
| Numeric (exact) | tf_{$permName}_em
|
| ItemLink (object selector) | tf_{$permName}_os
|
| Date Range | tf_{$permName}_range_fo=(unix timestamp)
|
tf_{$permName}_range_from=(unix timestamp)
| |
| Autoincrement, Freetags, Email and others | tf_{$permName}_lookup |
Import from CSV is supported for schemas containing a primary key.
All schemas support exporting as long as they are valid.
Partial export uses the Unified Index and the configured filters. It can be accessed from the primary schema listing or from the item listing. When used from the listing, using the export feature will default to the currently selected filters.
Partial export relies on the Unified Index to export the results rather than directly obtaining the data from trackers. Depending on the configured search engine, performance may vary. On some engines, it may be faster than directly obtaining the data from trackers on a full export (no additional filters).
:formatted Mode in Numeric Fields.
The :formatted mode in Tiki's Tracker Import-Export feature controls how field values are displayed during export.
When applied to numeric fields, it exports numbers as they appear to users — with thousands separators, localized decimals, or currency symbols — instead of the raw stored number.
While this is useful for readability, it can cause issues when re-importing data if the values contain formatting.
Where Tiki Gets “Display Formats” for Exported Values
When you export tracker data in :formatted mode, Tiki doesn’t store any special format in the field itself — it uses the same “display logic” that’s used when showing the value in the UI.
So the display format depends on a combination of:
:formatted?
When you add the suffix :formatted to a field (for example, Amount:formatted), Tiki exports the value in its display format, reflecting locale, thousands separators, and currency symbols.
Without this suffix (for example, Amount), Tiki exports the raw numeric value as stored internally.
When a numeric field is exported using :formatted mode, the resulting value may look like:
1,234.56
€1,234.56
1.234,56 (depending on locale)
1234.56).
Amount).
1234.56).
:formatted mode for the numeric field.
1,234.56 or €1,234.56).
* Formatted values (with commas, symbols, or spaces) will fail to import.
* Unformatted numeric values (e.g., 1234.56) will import successfully.
:formatted Mode in Numeric Fields
When exporting with :formatted mode, numeric fields may include symbols or localized formatting.
For re-importing, only plain numeric values are accepted.
| Export Mode | Example Value in Exported File | Expected Value for Successful Import | Import Result (if formatted value is used) |
|---|---|---|---|
| Raw (Amount) | 1234.56 | 1234.56 | Imports correctly |
| Formatted (Amount:formatted) | 1,234.56 | 1234.56 | Fails or ignored |
| Formatted with currency | €1,234.56 | 1234.56 | Fails or ignored |
| Locale formatted (comma decimal) | 1.234,56 | 1234.56 | Fails or ignored |
:formatted) export mode if you plan to re-import data later.
Amount), not Amount:formatted.
This behavior is by design.
The import logic intentionally expects plain numbers to ensure consistency across locales and avoid ambiguous parsing of formatted values.
:formatted exports human-readable numbers but breaks numeric imports.
Fields can be marked as Read Only. This will make sure that when importing, the field will be skipped, making the import process faster, but also making sure only the allowed fields get modified. It also allows including multiple formats that would otherwise conflict, such as the category ID and the category name, for example.
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:
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:
TrackerTabular | Tabular | Tracker Import-Export