Skip to content

Add dynamic views URLs to elements in Container and Component views #430

@Leooo

Description

@Leooo

Description

When looking at a system, container or component view each element has an "url" attribute set to the list of container or component views associated with this element.

How can we also add the dynamic views associated to this element to the "url" list?

I tried a quick and dirty script on a container view, but it shows that the list of dynamic views is empty so not quite sure how to resolve at this stage.

test.kts script, run inside a container view:

workspace.views.views.forEach { System.out.println(it.getKey()); System.out.println(it.getName()) } 
//=> the line above shows a list of container and component views

workspace.views.getDynamicViews().forEach{ System.out.println(it.getName())} 
//=> the line above prints nothing: there are no dynamic views yet in the workspace at the time the container view is shown. How can we fetch their names from the registry so that we can add dynamically to the list of "url" for each element in the current view?

Priority

Low (I have no budget and there's no rush, please add this feature for free)

More information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions