Bosch IoT Rollouts

Manage tags

Tags are descriptive strings used to identify and organise targets.

This page will guide you through creating, viewing, and managing tags.

All tag-related functionality can be accessed through the Targets UI section in the main navigation. Within the Targets UI, you can find the Tags option in the sub-navigation menu.

images/confluence/download/attachments/3463293619/57-version-1-modificationdate-1732046377000-api-v2.png

Creating a tag

To create a tag, click the Create Tag button located at the top of the tags list.

A popup will appear, prompting you to provide a name for the tag and an optional description.

Additionally, you can choose to assign the tag to multiple targets by uploading a comma-separated values (CSV) file containing the Controller IDs of the targets. If this option is selected, clicking Create will both create the tag and automatically apply it to all the targets listed in the file.

If the option "Assign targets to tag" is not selects, the tag will only be created and not applied to any targets.

images/confluence/download/attachments/3463293619/58-version-1-modificationdate-1732046391000-api-v2.png

Assign a tag to targets

Manual assignment

  1. Navigate to the targets List in the sub-navigation menu. This will display the Targets blade on the right, showing all registered targets.

  2. Select the target(s) you want to tag.

  3. Once selected, the Assign Tags to Selected Targets button becomes active. Click it to proceed.

images/confluence/download/attachments/3463293619/john%40doe.com-version-1-modificationdate-1732046886000-api-v2.png

In the Assign tags to selected targets dialog that shows up, type in the name of a desired tag.

  • If such a tag already exists, you will see a list of auto-suggestions after typing the first two symbols of the name.

  • If the tag doesn't exist - it will be automatically created and assigned to the desired targets.

images/confluence/download/attachments/3463293619/john%40doe.com-3-version-1-modificationdate-1732047154000-api-v2.png

Click Assign.

Automatic assignment

To automatically assign a tag to multiple targets, navigate to the Tags sub-navigation menu. Locate the desired tag in the list and click the Assign to targets button.

images/confluence/download/attachments/3463293619/john%40doe.com-4-version-1-modificationdate-1732047658000-api-v2.png

You will be prompted to upload a CSV file containing the list of targets to be tagged.

images/confluence/download/attachments/3463293619/john%40doe.com-5-version-1-modificationdate-1732047753000-api-v2.png

Tag assignment may fail for one, several, or all targets in the list. If an assignment fails, an error message will be displayed, along with a Copy button.

Clicking this button will copy a list of all targets for which the assignment failed.

images/confluence/download/attachments/3463293619/john%40doe.com-6-version-1-modificationdate-1732048174000-api-v2.png

CSV file formats

Automatic tag assignment supports three different CSV file formats.

  1. Single-Line Format: Targets are listed on one line, separated by commas:

    target_1,target_2,target_3
  2. Multi-Line Format: Each target is listed on a separate line:

    target_1
    target_2
    target_3
  3. Multi-Line Format with Header: A CSV file that includes a header row. The header must contain the keyword controllerid, and target IDs should align with the controllerid field in each subsequent row.

    controllerid,created_at,description
    target_1,19.11.2024,Bosch IoT Target
    target_2,19.11.2024,Bosch IoT Target
    target_3,19.11.2024,Bosch IoT Target

View and unassign target tags

Once you assign the tag, you can check if the process was successful by:

  1. Selecting a target with an assigned tag.

  2. Scrolling down to the bottom of its Target view.

  3. Expanding the Tags section to view the tags assigned to this target.

images/confluence/download/attachments/3463293619/64-version-1-modificationdate-1732090823000-api-v2.png

You can easily unassign the tag by clicking the X icon on its right side.

This action will not delete the tag itself, but just unassign it from the target.

List all target tags

You can also view all created tags regardless of whether they are assigned to a target or not.

  1. Select Тags from the sub-navigation. The Target tags view will display a list of all existing tags.
    You have 3 actions for each tag:

  2. Assign tag to targets - assign the tag to multiple targets by uploading a comma-separated values (CSV) file containing the Controller IDs of the targets.

  3. Create Rollout with tagged targets - prompts you with the Rollout creation wizard with a pre-applied target filter matching the targets with the particular tag assigned.

  4. Delete - deleting the tag will also un-assign the tag from all targets.

images/confluence/download/attachments/3463293619/65-version-1-modificationdate-1732091376000-api-v2.png