Package Structure

#1

How can I get the Package structure of an environment, i.e. what package is deployed, and which dependencies it has, including deep level dependencies?
For example: dataIntegration -> tools -> uiFramework

0 Likes

#2

in general, to get ANY information about a deployed tag, use the MetadataStore.tag() api and associated child apis. c3ShowType(TagMetadataStore) to see the full list.

MetadataStore.tag().packages() will return you a list of packages (type: MetadataPackage). Each one of these will tell you its dependencies.

0 Likes

#3

Great! Would a Tree structure correctly visualize the package list with the dependencies?
I.e. an acyclic graph

0 Likes

#4

Yes a package list with dependencies is logically a DAG with a single root.
I don’t believe there’s an API to visualize this graph directly in the current code.

0 Likes