How to access links defined in base artifact from a artifact within the context of a module?
Using the DNG REST API (through RPE) I can access each artifact contained in a specific module Then I can use and cast the "about" URI to a resources or a text datasource, to get more information on the artifact.dataSource/artifact/moduleContext/contextBinding/about Like the attributes, links, etc in my case, most links associated to the artifact are not in the artifact within the context of a module, but in the base artifact. Is there a way, in RPE (using the reources, text, or module schema) to navigate to the base artifact. I could not figure it out. |
One answer
In the module schema, for each artifact that compose the module, there is the information to access the artifact within the module context (dataSource/artifact/moduleContext/contextBinding/about) and the base artifact (dataSource/artifact/moduleContext/contextBinding/core)
To access the artifact within the context of the module, configure the resource data source as follow: about.replace(/resources\/.*/,"publish/resources?resourceURI=") To access the artifact within the folder (base artifact) configure the resource data source as follow: about.replace(/resources\/.*/,"publish/resources?resourceURI=") + core |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.