Pages

Objects

The "Objects" section - the list of all objects of the site: those created in the console and those sent via the API. An object is a unit of the search results. The set of an object's fields is defined by the "Object fields" setting of the "Structure" section. The field values are edited in the console or passed via the API

The list is filtered by the "Object name", "Object status" fields and by a date range of "Object created" or "Object updated". It is sorted by the name and date fields. Objects with the "Unpublished" status are stored but excluded from the search index

Import

The "Import" button takes an .xlsx file (up to 10 MB) with an "objects" sheet. The name is matched ignoring the case and the spaces around it, any other sheet is ignored. The columns are found by the headers of the first row, in any order. "id" is required, the object's identifier of up to 64 characters without spaces. An object under an existing identifier is updated, a new one is created. "name" is required, the object's name. In "published" "yes", "true", "1" publishes the object, and an empty value leaves it unpublished. Without such a column every object is published. Every field has a column of its own, named by the field's identifier - the one given to it by the fields import or through the API. A field made in the console has no such identifier and cannot be filled from a file. A translation goes into "column@language key" - for the name and the translatable text fields. The value depends on the field's type.

"multi" - the identifiers of the options separated by ";" without spaces, for example "black;white". "single" - one option's identifier.

"api" - the identifiers separated by ";".

"number" - a number. "date" - "YYYY-MM-DD" or "YYYY-MM-DD hh:mm:ss", read in the site's time zone (UTC when it is not set) and always imported with the time.

"string", "text" - the text, up to 512 and 64000 characters.

"image" - the links to the images separated by ";".

Before anything is written the check step shows every row with its status and problems. A required field without a value, an option the field does not have or a value of the wrong kind skip the row. The rest are written in batches of 1000, and every row shows the result. Up to 25 batches an hour per site, 3 during the trial period. The trial period's limit of 50 objects applies.

On this page
On this page
PagesOn this page