Skip to main content

Batch work and author limits

Audience: administrators and content managers.
Time: 10 minutes.
New in 5.5: batch processing can set custom field values; author limits can be fixed independently of the “Override category configuration” option and include/exclude subcategories.

1. Process multiple items at once​

  1. Open Components > FLEXIcontent > Items.
  2. Check the items to process.
  3. In the bulk actions dropdown, choose Batch (“Update / Copy / Move”).
  4. Choose the mode:
    • Copy (method=1): creates copies;
    • Update (method=2): modifies selected items;
    • Copy & update (method=3): copies then modifies the copies.
  5. Set common options: copy prefix/suffix and count, language, state, type, access, main/secondary category, tags.
  6. Launch the processing.

:::warning Move rights Move refuses items you do not have the right to edit. A copy may be allowed for non-editable items depending on the copytask_allow_uneditable setting, but a move never is. Skipped items are counted in the final message (FLEXI_ROWS_SKIPPED). :::

2. Set custom field values in batch (new in 5.5)​

In the Batch window, open the Custom fields section:

  1. In the Field selector (“Select a field to set...”), choose the field to fill.
  2. A field card appears with its form and a mode selector:
    • Add to existing values (add): adds to present values;
    • Replace existing values (replace): replaces present values;
    • Set only if empty (fill): fills only empty fields;
    • Clear values (clear): empties the field.
  3. Fill the value, then add other fields if needed.
  4. Launch the processing.

Values are applied to updated items or to new items created by a copy. Fields not assigned to an item's type are ignored for that item, with a summary message. flexicontent.editfieldvalues rights and locking (checked_out) are checked for each item. Non-translatable items have their translations updated with the same value.

note

Values go through field plugins: validation is identical to the item edit form. If language or state are omitted, existing data is not corrupted.

3. Limit an author's items on the site​

These settings apply to a Category menu item using the author layout.

  1. In Menus, create or edit a menu item pointing to a category.
  2. Choose the author layout.
  3. In Request parameters:
    • Select one author (authorid): author to display;
    • Limit author items to categories (cids): included categories;
    • Exclude categories from author items (excl_cids): excluded categories.
  4. In Basic parameters:
    • Max author items in total (author_limit_total): maximum items across all categories (0 = unlimited);
    • Max author items per category (author_limit_per_cat): maximum per category (0 = unlimited). The first items according to list order are kept; an item assigned to several categories is counted only once.
  5. Save the menu and display the corresponding page.

Behavior (5.5)​

  • Limits apply only to the author layout, not to other category views.
  • They are read from menu parameters even when Override category configuration is disabled.
  • Included and excluded categories also apply to their descendants.
  • Pagination takes limits into account: the displayed total is recalculated after filtering.

See also​