Publishing Capita Selecta

Started by johmut, February 01, 2023, 16:04:57 PM

Previous topic - Next topic

johmut

Hi,
Architects are modeling in one repository (using coArchi + git). Subject Matter Experts would need to be able to browse through the elements and views created for their subject area (domain). Generating an HTML Report publishes the entire repository as a website. Making that website available to all SME's is information-security-wise not advised/allowed. How can we publish capita selecta from our model into an HTML report web-site?

Create a new model and re-create the views in the model tree + copy/paste of the view elements from source to target is not an option. Many views.... and View Link Elements (DnD View on View/Element) are not pasted, so no more drill down from the views into the linked views ...

Use the _hide_from_export_ property on folders, elements, views is not practical as this needs to be re-set by every architect that wants to generate a web-site from the perspective of his/her SME's in a Domain....

Please advise on how you publish from your models only those foldrs, elements, views that ar relevant for review by business stakeholders in different domains?

Thanks &
Kind Regards,
JohMut.

Jean-Baptiste Sarrodie

Hi,

In your context, the best option would be to add some properties on folders to define which SMEs are concerned, and then use a script which updates "_hide_from_export_" property based on chosen audience. You can then generate the HTML export and undo the execution of the script.

For example, if you define a property named "Target Audience", and set it (potentially multiple times) on some folders or view, with its value being chosen in a list composed of your SME's name (e.g. "Security", "Data", and "Technology"), then a basic algorithm for this script would be:
1. Prompt user to known which audience to filter on.
2. Iterate on all folders or views and set the property "_hide_from_export_" to "true" on selected objects.
3. Iterate on all folders or views having an instance of property "Target Audience" whose value matches chosen audience, an remove property "_hide_from_export_" on selected objects and their children (for folders)
4. Script end, you can now run your HTML export.
5. Undo script execution.

Regards,

JB
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.

johmut

Thanks JB,

That could work ! Any 'boilerplate' script I can use as a kick-starter?

KR,
JM

Jean-Baptiste Sarrodie

Hi,

Quote from: johmut on February 02, 2023, 09:16:57 AMThat could work ! Any 'boilerplate' script I can use as a kick-starter?

Sorry but no :-(

Regards,

JB
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.