File Manager > Essentials
Tagging Files
Learn how to tag a file and filter it through the tag in File Manager.
- how to tag a file
- how to filter files via assigned tag(s)
Webiny allows users to tag files, facilitating convenient access. Users can efficiently search and filter files based on assigned tags. In this tutorial, we will learn how to tag a file, and filter it via its assigned tag in the File Manager. We will do this in a few steps:
- Step 1: Upload images
- Step 2: Tag a file
- Step 3: Tag multiple files
- Step 4: Filter files by tags
Step 1: Upload Images
From the Side Menu, click File Manager.
✔️ The File Manager Home screen opens.
Click UPLOAD.
✔️ The file explorer screen opens.
From the file explorer, select and upload multiple random images.
Step 2: Tag a File
From the Side Menu, click File Manager.
✔️ The File Manager Home screen opens.
Hover over one of the images you uploaded and click the EDIT button.
✔️ The File details screen opens.
In the Tags textbox, type ”snowboard”. Press Enter. Type ”sunset”. Press Enter. Type ”friendship”. Press Enter.
Click SAVE FILE.
Step 3: Tag Multiple Files
From the Top Menu, click Switch to Table icon.
✔️ The File Manager Home screen will switch to a table view to make it easier to select/ deselect a larger number of images.
Select all images in this folder by clicking on the top checkbox. Note you can also select only individual images.
✔️ The images are highlighted
Click the EDIT icon at the top, part of bulk actions menu.
✔️ The Edit items screen will open up.
In the Field for Operation 1, select ”Tags”. In Operation, select ”Append to existing values”. In Tags, type ”snow”>. Press Enter. Type ”snowboard”. Press Enter. Type ”sport”. Press Enter.
Click SUBMIT.
Step 4: Filter Files by Tags
From the Top Menu, click Switch to Grid icon.
✔️ The File Manager Home screen will switch to a grid view to find the desired image(s) quicker.
On the File Manager Home screen, in the navigation panel on the left, under Filter by tag, click the friendship tag and then after you see the results select snow.
✔️ All the files with the tag friendship AND snow appear on the screen.
Note: You can deactivate an active tag filter by clicking on it again.
In the Conditional filter drop down switch from ”match all” to ”match any“.
✔️ All the files having either friendship or snow tag appear on the screen.
Note: When applying multiple tag filters, the Conditional filter drop-down becomes active. The default selection is Match any, meaning all files with at least one of the active tags will appear on the screen. If the Match all option is selected, only files with all the active tags will be displayed on the screen.
Additional Information
You can also apply a tag filter by searching the tag name in the search bar.
You can apply filters by utilizing the search bar, clicking on tags, and using the conditional filtering drop-down in combination.