Book a Demo

Author Topic: Save search as a hyperlink?  (Read 5256 times)

peter.zrnko

  • EA User
  • **
  • Posts: 253
  • Karma: +0/-0
    • View Profile
Save search as a hyperlink?
« on: August 15, 2007, 03:03:01 am »
In Release Notes for EA 7.0 Build 815 there is promissed:
Added capability of showing searches run from a hyperlink to the output window.

But how to run a search from a hyperlink? I am not able to find anything regarding saving a search as a hyperlink. (It is possible to hyperlink a matrix or a help page, maybe it's  something similar.)
Peter

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: Save search as a hyperlink?
« Reply #1 on: August 15, 2007, 02:56:51 pm »
This has only just made it into the Help, which will be available with the next release of EA.

Hyperlinks can also be added as a Hyperlink object in a diagram with various other targets, such as a Matrix Profile or Help topic.The target opens within the Enterprise Architect work area, as a view.

In the Hyperlink Address field:

    For a Matrix Profile, use $matrix:// followed by the name of the profile (eg. $matrix://MyProfile).

    For a Help topic, use $help:// followed by the name of the Help topic file (eg. $help://ShipDiag.htm)

    For a search, use $search:// followed by the type of search and term (eg. $search://Changes - In Progress;Term High Priority)

    To open the discussion forum, use $forum://

    To access an internet  facility use $inet:// followed by the http address(eg. $inet://http://www.google.com/)

Note: The difference between this $inet Hyperlink and the direct (http://) link is that the $inet link opens the target as an Enterprise Architect view, whilst the direct link opens the target as a new window separate from Enterprise Architect.

HTH

Roy
Best Regards, Roy

mark.myers

  • EA User
  • **
  • Posts: 97
  • Karma: +0/-0
    • View Profile
Re: Save search as a hyperlink?
« Reply #2 on: August 15, 2007, 03:08:49 pm »
Thanks Roy.

I've tried the search hyperlink but nothing happens. My hyperlink is "$search://Simple;Term searchterm" (without the quotes and searchterm=what I am looking for. What's wrong?

Mark
Cheers, Mark

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Save search as a hyperlink?
« Reply #3 on: August 15, 2007, 03:14:52 pm »
Perhaps you need to use %20 instead of space, or some such...
No, you can't have it!

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Save search as a hyperlink?
« Reply #4 on: August 15, 2007, 03:57:50 pm »
A bit of experimentation suggests it's $search://Name=search_name;Term=something;

For example:

$search://Name=Extended;Term=State;

The Sparx Team
[email protected]

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: Save search as a hyperlink?
« Reply #5 on: August 15, 2007, 03:58:05 pm »
My aplogies. I got the command line wrong.

It should be:

$search://Name=searchtype;Term=searchterm;

Regards

Roy
Best Regards, Roy

mark.myers

  • EA User
  • **
  • Posts: 97
  • Karma: +0/-0
    • View Profile
Re: Save search as a hyperlink?
« Reply #6 on: August 15, 2007, 04:07:49 pm »
Thanks Roy & KP.

I was almost there - i'd tried  $search://searchtype;Term=searchterm;
and $search://search=searchtype;Term=searchterm;

...missed it by that much! :)
Cheers, Mark

mark.myers

  • EA User
  • **
  • Posts: 97
  • Karma: +0/-0
    • View Profile
Re: Save search as a hyperlink?
« Reply #7 on: August 15, 2007, 04:14:20 pm »

...also note that Name, Term and searchtype are case-sensitive.

This works: $search://Name=Simple;Term=test

These DO NOT:
$search://name=Simple;Term=test
$search://Name=simple;Term=test
$search://Name=Simple;term=test

The last one will open the search but will not run the search as it has no search term.
Cheers, Mark