Author Topic: Search Published HTML Report  (Read 2846 times)

Dorian Workman

  • EA User
  • **
  • Posts: 194
  • Karma: +0/-0
    • View Profile
Search Published HTML Report
« on: August 25, 2009, 05:54:09 pm »
Hi all.

I publish my EA Model using the HTML Report and host it on my local machine running Apache web server. My machine is not accessible outside of our corporate LAN.

Is there anyway to integrate a search capability into my published HTML report so that users browsing it on our LAN can search for text strings?

Thanks.  
<a href="http://www.linkedin.com/in/dorianworkman" ><img src="http://www.linkedin.com/img/webpromo/btn_liprofile_blue_80x15.gif" width="80" height="15" border="0" alt="View Dorian Workman

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 7800
  • Karma: +169/-21
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Search Published HTML Report
« Reply #1 on: August 25, 2009, 06:07:49 pm »
I think that would make a nice feature request (although I see a lot of technical issues with it)
In the meantime, can't you make something external to the html report? Look into Google Desktop and the likes.
You could then create a hyperlink on your models main page to this search facility so the users can find it.

Geert

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 5895
  • Karma: +71/-80
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Search Published HTML Report
« Reply #2 on: August 26, 2009, 10:11:14 am »
I agree.   However if Sparx cooperated, there could be a partial solution to the problem...

It turns out that if the browser pane of the HTML report were fully expanded, then you could search in there using the browser search (Ctrl+F - equivalent to "Search in Browser").  If Sparx provided a button to expand/contract the entire browser pane that would make a BIG addition to the functionality.

My AU$0.05
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Dorian Workman

  • EA User
  • **
  • Posts: 194
  • Karma: +0/-0
    • View Profile
Re: Search Published HTML Report
« Reply #3 on: August 26, 2009, 11:14:16 am »
Thanks for your replies. I found an existing feature request which I bumped, and I'm investigating using google desktop. I found a possibility called 'Goolag', haven't had time to try it yet. Will post back with my findings.
<a href="http://www.linkedin.com/in/dorianworkman" ><img src="http://www.linkedin.com/img/webpromo/btn_liprofile_blue_80x15.gif" width="80" height="15" border="0" alt="View Dorian Workman

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Search Published HTML Report
« Reply #4 on: August 27, 2009, 09:29:02 pm »
Dorian,

Please remember that (just) posting in the forum does not constitute a "Feature Request" (note the capitalization) in any 'official' sense. This is a user forum for discussion and such. The Sparxians are certainly active members of this community and forum, but the forum is the vehicle for their participation in our collective discussions.

You can make a 'formal' feature request by clicking the Feature Request link near the bottom of any forum page (in the column of links under the Support link). Fill out the form and submit it to Sparx. These requests are all read (at least). There is no guarantee that a feature request will be fulfilled, but it will be considered. In many cases you will get a response back from Sparx, whether positive or negative.

One local best practice we have is to first start (or join) a forum thread, perhaps in the Suggestions and Requests section. Then submit a feature request to Sparx, and paste the URL of the forum thread into the details of your request. This way the Sparxians can monitor or join the discussion. Perhaps Sparx or another user can find a workaround for your request. Or the request might be refined through subsequent discussion. At the very least this practice allows Sparx to gauge the level of support (as expressed by other users) in the community; this might help them in setting priorities.

If you do hear back from Sparx regarding a feature request, please post to the associated forum thread to keep the rest of us in the loop.

HTH, David
No, you can't have it!

Dorian Workman

  • EA User
  • **
  • Posts: 194
  • Karma: +0/-0
    • View Profile
Re: Search Published HTML Report
« Reply #5 on: August 28, 2009, 02:36:28 am »
Will do David thanks for the tip.
<a href="http://www.linkedin.com/in/dorianworkman" ><img src="http://www.linkedin.com/img/webpromo/btn_liprofile_blue_80x15.gif" width="80" height="15" border="0" alt="View Dorian Workman

dk

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Search Published HTML Report - EaTocIndex
« Reply #6 on: September 24, 2009, 11:27:34 pm »
I've created a script that:

Features
--------
Adds a searchable index to an Enterprise Architect HTML report
Search is done using JavaScript or web browser search feature

If someone could tell me where I can upload the script...

regards, dk

Dorian Workman

  • EA User
  • **
  • Posts: 194
  • Karma: +0/-0
    • View Profile
Re: Search Published HTML Report
« Reply #7 on: September 25, 2009, 01:33:23 am »
Fantastic!  Thanks.
« Last Edit: November 23, 2009, 07:13:10 pm by dworkman »
<a href="http://www.linkedin.com/in/dorianworkman" ><img src="http://www.linkedin.com/img/webpromo/btn_liprofile_blue_80x15.gif" width="80" height="15" border="0" alt="View Dorian Workman

Dorian Workman

  • EA User
  • **
  • Posts: 194
  • Karma: +0/-0
    • View Profile
Re: Search Published HTML Report
« Reply #8 on: September 25, 2009, 03:27:20 am »
Received and tested thanks DK.  It worked for me first time, but unfortunately is not exactly what I was looking for.

I am hoping for a solution that will allow users to search for a text string inside the Notes field of Requirements elements, and also the Scenario fields of Use Cases.

Is there anyway to easily modify this script to allow this?

Thanks for your efforts and for sharing the script, much appreciated.
<a href="http://www.linkedin.com/in/dorianworkman" ><img src="http://www.linkedin.com/img/webpromo/btn_liprofile_blue_80x15.gif" width="80" height="15" border="0" alt="View Dorian Workman

dk

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Search Published HTML Report
« Reply #9 on: November 05, 2009, 11:24:40 pm »
Meanwhile I have an improved working prototype for searching EA HTML Reports. Lets call it EaHtmlSearch for now.
Please post your ideas or contact me by email

EaHtmlSearch Overview
================
EaHtmlSearch adds a search page to an Enterprise Architect HTML report allowing users to search in report text and 'meta data'.

For more details see:
http://www.pxe.ch/EaHtmlSearch/

-dk
« Last Edit: November 05, 2009, 11:54:01 pm by dkzh »

Graham_Moir

  • EA User
  • **
  • Posts: 683
  • Karma: +4/-7
    • View Profile
Re: Search Published HTML Report
« Reply #10 on: November 06, 2009, 03:02:09 am »
Sounds like an excellent candidate for the new community site

Luis J. Lobo

  • EA User
  • **
  • Posts: 248
  • Karma: +0/-0
  • IT Consultant
    • View Profile
Re: Search Published HTML Report
« Reply #11 on: November 19, 2009, 11:00:17 pm »
Hi dk,

We're very interested in the EaHtmlSearch prototype.

Can you send me to luis.lobo@deiser.com the neccesary stuff to test it?

Thanks in advance!

Luis.

Oliver F.

  • EA User
  • **
  • Posts: 573
  • Karma: +2/-1
  • Aren´t we all in the model business ?
    • View Profile
    • Karl Storz homepage
Re: Search Published HTML Report
« Reply #12 on: November 20, 2009, 03:32:38 am »
Quote
Hi dk,

We're very interested in the EaHtmlSearch prototype.

Can you send me to xxxx the neccesary stuff to test it?

Too things: If you would like to be included in various spam lists you can continue to post mail addresses to your likeage.

Furthermore I second Grahams proposal that the script should be included in the community site.

Thanks,

Oliver

dk

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Search Published HTML Report
« Reply #13 on: November 30, 2009, 09:30:44 pm »
Luis, Oliver
Some comments:
1. I'm still willing to share my search solution but didn't have the time till date.

2. The current solution is not just a script (as was the previous version) but requires to install and configure some open source software and EA HTML report templates. Thus it's not easy to send it by mail or upload.

3. My plan is to extend the existing README (http://www.pxe.ch/EaHtmlSearch/EaHtmlSearch_README_.htm) with installation and configuration documentation and submit it to the EA community web site. Not shure when this will happen. Could be in a couple of days or months.

4. If someone wants to help speeding up the above process (Luis?) please contact me. I could instruct him and in the same time we can update the documentation.

dk

BillyMac

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Search Published HTML Report
« Reply #14 on: May 26, 2010, 11:35:38 pm »
I would really love to get acces to this solution as well.
I have emailed Dorian but so far no response.
Does anyone have any additional help regarding HTML report searching solutions?