Skip to main content
Skip table of contents

Bulk

Definition

A Bulk Feature is used to:

  • perform a selection on several objects 

  • apply several operations on these objects at the same time

This type of Feature works like an update Feature but differs in the following points:

  • checkboxes are displayed to choose which objects will be impacted by the update.  

  • checkboxes are displayed to choose which operations will be applied on each chosen objects.

  • display conditions are not computed.

  • global validation is not performed.

  • the operation on attributes depends on their type (for example, a multivalued attribute cannot be deleted)

Usage

By searching elements

Steps

Preview

1

Select method

Choose the "search elements" method in order to select Objects to mass edit. 

2

Select elements

This step corresponds to the configuration of SearchWidgetType (<search> tag).
Allows you to search Objects to mass edit.

  • Search for Objects and click on "Search" button. Search results part is displayed.

  • The cart button is disabled if the cart is empty.

  • Choose Objects by clicking on checkboxes.

  • The cart icon is updated with the number of selected Objects. If you click on the button, you can modify the selected items.

  • Click on the "Continue" button.

3

Bulk edition

This step corresponds to the configuration of <bulk> tag.
Bulk edition step allows you to choose which Attributes can be modified and to determine their new value(s).

For each Attributes which will be modified, follow the several steps :

  • Click on the checkbox "Change

  • Select the operation in the drop-down list

  • Enter the new value in the textbox

To confirm every changes, click on the "Perform bulk update" button.

4

Results

This step displays the summary of bulk change(s).
You will have a summary of all the actions previously carried out:

  • status

  • number of operations

  • processing time

  • attributes changed with the types of the performed operations and their new value(s)

  • list of all ids

  • list of operation that triggers the configured Workflow (if any)

Click on the "Done" button to valid the change(s).

At each step, you can go back by clicking on the "back" button.

By uploading a CSV file

Steps

Preview

1

Create a CSV file with the object ids in its "A' column.

2

Select method

Choose the "Upload a file with identifiers" method in order to upload a CSV file.

3

Select elements 

Add the CSV file and click on the "Continue" button.

4

Bulk edition

Same as above in "By searching elements - step 3".

5

Results 

Same as above in "By searching elements - step 4".

Configuration

BulkFeature.png

In a bulk Feature, the Scope is optional.

Prerequisite

Before configuring a bulk Feature you must:

Properties

Mandatory configuration elements

Global configuration elements are detailed on the Feature page.

Configuring the bulk part is also mandatory in a bulk Feature, if not, the Feature will not be usable.

Property name

Type

Mandatory

Description

Values

bulk

-

YES

Allows to configure the bulk Feature

-

workflowId

String

NO

Used to indicate the id of a workflow that will be launched when the feature is validated.

-

bulk properties

Property name

Type

Mandatory

Description

Values

attributes

List<Attributes>

YES

List of attributes on which the user can perform operations.

-

search

-

YES

Configure a Search Widget Type.

-

attributes properties

Property name

Type

Mandatory

Description

Values

attribute

-

YES

Used to indicate the id of the attribute.

-

attribute properties

Property name

Type

Mandatory

Description

Values

operations

List<Operation>

YES

List of operations which will be available on the attribute.

-

editor

-

YES

Allows to define how the attribute will be displayed on the Feature (works like an Attribute Editor Widget).

-

operations properties

Property name

Type

Mandatory

Description

Values

operation

Enum

YES

Used to indicate the operation.

SET, ADD, REMOVE, DELETE

editor properties

Property name

Type

Mandatory

Description

Values

attributeId

String

YES

Used to indicate the id of the Attribute.

-

Recommended configuration elements

The following requirement are recommended to build the configuration XML:

Example

Simple configuration

Complex configuration

Sample_Simple_Bulk.xml

Sample_Complex_Bulk.xml

Read Next

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.