Sparx Systems Forum

Enterprise Architect => Suggestions and Requests => Topic started by: Guillaume on September 15, 2021, 06:52:32 pm

Title: Change the default search to a custom MDG
Post by: Guillaume on September 15, 2021, 06:52:32 pm
Hello,

A group of users is using a shared EA repository (hosted in Postgres DB) using a custom MDG which includes searches.
When they open the model search (Ctrl + F), they would like to have their MDG selected instead of Common Searches.
Is this feasible or would this be a new option/feature?

Thanks
Title: Re: Change the default search to a custom MDG
Post by: Geert Bellekens on September 15, 2021, 08:10:38 pm
I don't think that is possible now, but definitely worth a feature request.

Geert
Title: Re: Change the default search to a custom MDG
Post by: Guillaume on September 17, 2021, 07:27:56 pm
Submitted as a feature request.
Title: Re: Change the default search to a custom MDG
Post by: qwerty on September 17, 2021, 07:51:50 pm
+1

q.
Title: Re: Change the default search to a custom MDG
Post by: Paolo F Cantoni on September 17, 2021, 08:29:28 pm
+5!!!!

Paolo
Title: Re: Change the default search to a custom MDG
Post by: Graham_Moir on September 22, 2021, 09:25:23 pm
+1
Title: Re: Change the default search to a custom MDG
Post by: Takeshi K on September 24, 2021, 09:57:44 am
Hi Guillaume,

You might already know, but you can call your own search by Repository.RunModelSearch().
On the current EA, it is a solution to create an add-in to call the searches. Users can call the searches from the Extention Ribbon.
(And further more, creating add-ins with <<javascriptaddin>> does not need to install DLLs.)

HTH,
Title: Re: Change the default search to a custom MDG
Post by: Paolo F Cantoni on September 24, 2021, 10:59:20 am
Hi Guillaume,

You might already know, but you can call your own search by Repository.RunModelSearch().
On the current EA, it is a solution to create an add-in to call the searches. Users can call the searches from the Extention Ribbon.
(And further more, creating add-ins with <<javascriptaddin>> does not need to install DLLs.)

HTH,
Hi Takeshi-san,
I don't think that's what Guillaume meant - certainly, it's not what I'm looking for.  What I'm after is to be able to suppress the standard search list with a list from our profile so that by default the profile list is visible.  At present, you can't suppress the standard set and so our users have to navigate to the profile ones.

Guillaume can advise if he meant something else than what I have described.

PAolo
Title: Re: Change the default search to a custom MDG
Post by: Takeshi K on September 24, 2021, 12:03:14 pm
Hi Paolo,

Yes, as you wrote, my idea is not replacing the default search rules. All of us know that currently there is no way to replace or refrain the default rules.

I failed to note that "By using the Add-in, users do not need to use EA's default Find feature. As a result, users do not need to see the default rules.".
Title: Re: Change the default search to a custom MDG
Post by: Guillaume on September 24, 2021, 04:55:09 pm
Hi Takeshi,

You suggestion is interesting yet it doesn't fulfill the need (Paolo is right): users only use the MDG installed on their shared EA project i.e. they won't install any addin.
The aim is to keep it simple i.e. users simply open EA Model Search and instead of scrolling to the appropriate list of searches, having the right default search group would be much better. In a way these groups could be managed like the available MDG technologies: one could disable /hide search groups and change the default one

Guillaume
Title: Re: Change the default search to a custom MDG
Post by: qwerty on September 24, 2021, 05:22:41 pm
As a side note: it's the same as getting own MDGs in the MDG list to the front (though the Perspectives help if you get users to apply them).

q.
Title: Re: Change the default search to a custom MDG
Post by: Geert Bellekens on September 24, 2021, 05:37:10 pm
As a side note: it's the same as getting own MDGs in the MDG list to the front (though the Perspectives help if you get users to apply them).

q.
We force our perspective onto the users by linking a perspective set to a user group.

It would be a good idea to include a search selection in a perspective. That seems very doable to me.

Geert
Title: Re: Change the default search to a custom MDG
Post by: qwerty on September 24, 2021, 06:04:42 pm
Yes Geert! +10 for that too :-)

q.
Title: Re: Change the default search to a custom MDG
Post by: Paolo F Cantoni on September 28, 2021, 09:54:22 am
Yes Geert! +10 for that too :-)

q.
+5 for me too, making a total of +10 for us!!!

Paolo