Model Tree search on property values

Started by Manj75, July 02, 2021, 12:54:21 PM

Previous topic - Next topic

Manj75

It appears that search the model tree based on the property and its value is not possible from Archi tool.  I was wondering if this is a feature on the roadmap.

The search filter option will allow to select from a list of all global properties, but it would also be useful to search based on the value of a property. This could be as simple as and 'equals' or expand the feature to regular expression of the value

e.g.

search for all concepts where: property=<select from properties list> equals ABCD
search for all concepts where: property=<select from properties list> starts with AB
search for all concepts where: property=<select from properties list> contains C
search for all concepts where: property =<select from properties list> ends with CD

At minimum the 'equals' operator would be very useful.

I'm aware that this can be done using a jArchi script, but it would be nice to see this feature as a core functionality so that the model tree will be filtered down based on the search results.

If this has not already be requested I will raised a feature request.

Phil Beauvoir

> The search filter option will allow to select from a list of all global properties, but it would also be useful to search based on the value of a property.

Simply enter the value of the Property in the search text field.
If you value and use Archi please consider making a donation! https://www.archimatetool.com/donate

Jean-Baptiste Sarrodie

Hi,

Quote from: Phil Beauvoir on July 02, 2021, 13:17:17 PM
Simply enter the value of the Property in the search text field.

And uncheck the seach ny name and also select the property name in the list first.

JB
If you value and use Archi please consider making a donation! https://www.archimatetool.com/donate

Manj75

Cool - looks like I had not fully understood how filters were being applied, but it seems you can select one or many filters and narrow the search within that result set. The search keyword work using a 'contains', so there is no way to say 'starts with' or 'ends with', which is not a big issue.

The search with filters is very powerful once mastered ;-)

I was wondering is it possible to export the filtered/searched resulting model tree to CSV or Excel, or will that just always apply to the whole model?

Manj75

Quote from: Manj75 on July 02, 2021, 13:46:26 PM
I was wondering is it possible to export the filtered/searched resulting model tree to CSV or Excel, or will that just always apply to the whole model?

I just tried this out and it does not support it as the Export to CSV or Export to Excel will always be on the whole model not the filtered subset.

I think this would be a real nice to have feature so that reports can be created in context to the filtered set, although I accept that much of the filtering can be applied on the whole model export in Excel.

Phil Beauvoir

The search filter only applies to the Models Tree.
If you value and use Archi please consider making a donation! https://www.archimatetool.com/donate

Jean-Baptiste Sarrodie

Hi,

Quote from: Manj75 on July 02, 2021, 14:06:18 PM
I think this would be a real nice to have feature so that reports can be created in context to the filtered set, although I accept that much of the filtering can be applied on the whole model export in Excel.

For such need you could also create a jArchi script to export selected data. Then, do your search, select all, run your script ;-)

JB
If you value and use Archi please consider making a donation! https://www.archimatetool.com/donate

eric.vdv

July 02, 2021, 16:39:11 PM #7 Last Edit: July 02, 2021, 18:01:28 PM by eric.vdv
Hi all,

Concerning the model tree search (great feature by the way, very helpful  ! :) ), I was wondering if there was a way to restrict your search exclusively to the current model you are working on (when several models are open at the same time in archi) ? I searched a bit, but didn't find so far...

If not, maybe it could be a nice feature to be able to "logically close" some of the projects open in the workspace (I mean : the project would remain in archi's models tree, but with a "closed folder" icon for example). This way, we would be able to "temporally close" some of the models in order to restrict our search to only 1 model, and be able to easily and quickly re-open them when done (without having to go through "file -> open -> search_the_file_system..." menu).

What do you think of such an idea ? (maybe I am the only one who work with several models opened at the same time, and nobody else is concerned by this use case  ;D )

Phil Beauvoir

Hi Eric,

your idea sounds reasonable, but I haven't looked at the Search Filter code for some time so would have to investigate. If this aspect is worked on again we could take a look at it (won't be anytime soon as I have a million other things to do...)

Regards,

Phil
If you value and use Archi please consider making a donation! https://www.archimatetool.com/donate

Jean-Baptiste Sarrodie

Hi,

Quote from: eric.vdv on July 02, 2021, 16:39:11 PM
If not, maybe it could be a nice feature to be able to "logically close" some of the projects open in the workspace (I mean : the project would remain in archi's models tree, but with a "closed folder" icon for example). This way, we would be able to "temporally close" some of the models in order to restrict our search to only 1 model, and be able to easily and quickly re-open them when done (without having to go through "file -> open -> search_the_file_system..." menu).

Did you tried the "Drill Down" feature, especially the "Go into" ? If no, look at the user guide on p. 12. This makes it possible to have only one model (or even one folder) visible in the model tree. It also limits the search to the visible part.

Regards,

JB
If you value and use Archi please consider making a donation! https://www.archimatetool.com/donate

Phil Beauvoir

Quote from: Jean-Baptiste Sarrodie on July 02, 2021, 18:21:14 PM

Did you tried the "Drill Down" feature, especially the "Go into" ? If no, look at the user guide on p. 12. This makes it possible to have only one model (or even one folder) visible in the model tree. It also limits the search to the visible part.


D'oh! One day I might actually use this "Archi" tool myself and get to know all of its features...  :D
If you value and use Archi please consider making a donation! https://www.archimatetool.com/donate

eric.vdv

July 02, 2021, 19:43:04 PM #11 Last Edit: July 02, 2021, 21:02:07 PM by eric.vdv
Thanks Phil and Jean-Baptiste for your quick answers !  :)

Concerning the "Drill Down" feature...  d'oh ! (me too  ;D)... I was not aware of this feature until now (never used it, yet I swear I read the user guide...) : it does exactly what I needed, thank you so much : that will change my everyday's life at work ! ;D

Regards,
Eric

edit : really love how the "Drill Down" feature works... even better than my initial idea ! ^^