How to extract primary text of the linked artifact in DNG using RPE?
3 answers
Hi Jyotsna,
If you are referring to traced artifacts, dataSource/artifact/traceability/links/Link/relation will give the href(url) for the linked artifacts. You can dynamically configure the data source for linked artifact and get the artifact details (including text).
If you want to print different links ("Satisfied By", "Link To" or "Link From") columnwise, you can add conditions / filters on dataSource/artifact/traceability/links/Link/title and print in different cells within a table row. You can use the sample template for reference. Use the module URL (https://server:port/rm/publish/modules?resourceURI=<ID>) for document generation.
Comments
Note that to generate documents from DNG, the data source name should be that of supported artifact types. If you are referring to sample template, you cannot use _resourcesLinked as data source schema name. Please try changing its name. If it doesn't work, you can provide your template so that we can have a look.
Hi Subramanya, can you help me with an extension of what is there in the reference template? It's kind of urgency for me.