archimatetool / archi

Archi: ArchiMate Modelling Tool
https://www.archimatetool.com
MIT License
954 stars 268 forks source link

property hide_from_export = true - doesn't hide the element, folder or view from the export #855

Closed InceptusSolutions closed 2 years ago

InceptusSolutions commented 2 years ago

All my models show this behaviour (I have only just found out you are supposed to be able to hide elements)

Version of Archi

4.10 (Also 4.9.3)

Archi Plug-ins

jArchi CoArchi Lightbox Excel

Operating System

Windows 11

Expected Behaviour

property hide_from_export set to "true" is supposed to hide the view or element or folder from the HTML report but it doesn't

Actual Behaviour

The view, element or folder shows up in the model explorer in the HTML

Steps to Reproduce the Behaviour

  1. add property "hide_from_export" to a view, folder or model element
  2. set value of the property to true
  3. run the report HTML (file > report > HTML) (or run the HTML preview)
  4. the view, folder or model element still appear in the generated HTML report Screenshot 2022-06-30 164735 Screenshot 2022-06-30 164546
Phillipus commented 2 years ago

~Hi, the property (and others) applies to Jasper reports, not HTML reports.~

jbsarrodie commented 2 years ago

Hi, the property (and others) applies to Jasper reports, not HTML reports.

No, this one in particular does target the HTML report, but it should start and end by underscore (_hide_from_export_)

InceptusSolutions commented 2 years ago

Thanks. Just as a note the documentation (Archi User Guide) page 99 is missing the leading and trailing underscores for the property.

Regards Paul Perry Inceptus Solutions

Phillipus commented 2 years ago

Just as a note the documentation (Archi User Guide) page 99 is missing the leading and trailing underscores for the property.

That's fixed in Archi 4.10 user guide.

See #838

Phillipus commented 2 years ago

No, this one in particular does target the HTML report, but it should start and end by underscore (_hide_from_export_)

Yep, I keep getting these mixed up.

Phillipus commented 2 years ago

Assuming that _hide_from_export_ works, close this.