Book a Demo

Author Topic: Table-style output tab  (Read 4734 times)

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Table-style output tab
« on: September 15, 2016, 08:38:36 pm »
Hi there!


Whilst helping out with this issue, 'cos, hey, that's just the kind of guy I am, I noticed that the "AuditLog" output tab, which gets added when you access an audit log, is actually a table.

This could be useful for a lot of other situations, so could we please have the option of creating a table-style output tab?

Repository::CreateTableOutputTab(Name, ColumnNames)    // ColumnNames: semicolon-separated string
Repository::WriteTableOutput(Name, OutputPairs, ID)         // OutputPairs: semicolon-separated column=value pair string

The table-style output tab should also provide a copy function similar to that in the search results, so you can copy the tabulated data straight into a spreadsheet.

I know you can roll your own component and use AddTab() or AddWindow(), but if (if) the functionality is already there already it'd be very convenient in many scripting type situations.

Good, yeah?


/Uffe
My theories are always correct, just apply them to the right reality.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Table-style output tab
« Reply #1 on: September 15, 2016, 08:57:40 pm »
I actually often use the search window as a tabular output, for example for my model validation results etc..

Geert

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: Table-style output tab
« Reply #2 on: September 16, 2016, 03:04:02 pm »
Hello,

I agree with Geert.

If you use the first two columns with GUID and type you can even jump to a EA location (Browser, Diagram).

Regards,

Helmut
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)