Archi Forum

Archi => General Archi Discussion => Topic started by: rholdberg on February 07, 2024, 11:15:24 AM

Title: tag elements to filter those in the view
Post by: rholdberg on February 07, 2024, 11:15:24 AM
Hey,
is there a way to tag elements in the Archimate? For example, I want
Application (or any element) to tag with tag client_A, client_B and filter all the elements by tags.

Thank you
Title: Re: tag elements to filter those in the view
Post by: Phil Beauvoir on February 07, 2024, 11:37:23 AM
No, sorry, filtering in Views by tags (properties) is not supported.
Title: Re: tag elements to filter those in the view
Post by: rholdberg on February 07, 2024, 12:04:23 PM
Any suggestions on what will be the best way to implement it? Create a separate view per tag?
Title: Re: tag elements to filter those in the view
Post by: Jean-Baptiste Sarrodie on February 07, 2024, 13:39:20 PM
Hi,

Quote from: rholdberg on February 07, 2024, 12:04:23 PMAny suggestions on what will be the best way to implement it? Create a separate view per tag?

If your goal is to create (once) a view with applications associated with different contexts, and then filter this view to show only the applications for one context, this can only be done using jArchi scripts. Such script (that you'll have to write by yourself) should prompt you to choose the context to keep, and then iterate on each application and remove it if not associated with the chosen context. Of course, you should duplicate the view before running the script.

Regards,

JB