It's all about the answers!

Ask a question

How to add add attributes to inserted artifacts in DNG?


Agnieszka Zawislak (215) | asked Sep 22 '23, 1:40 p.m.

Can someone advise on following issue in DNG module? I have a module with requirements and one Glossary Term artifact. I would like to insert into that Glossary Term artifact a set of Glossary Term artifacts from another module using Edit --> Insert -->Artifact. That works fine, but as default I get the inserted artifacts ID and Name attributes. I would like to also see other attributes like Primary Text and so on. 


I tried to use Insert Artifact --> from View, but I cannot see any Views available even though I have some shared views in other modules within that component. 


Could someone know how to add these attributes to the inserted artifacts?

2 answers



permanent link
Rakesh S (39113) | answered Sep 25 '23, 3:24 a.m.
Hi Team,
After Inserting the Glossary term artifact into an artifact i.e now the state of the artifact is the embedded artifact.

On the embedded artifact,
You can select the maximize artifact option which will display the Primary text along with the artifact ID and the title of the glossary term.

Centre

Hope this helps!!


Comments
Agnieszka Zawislak commented Sep 25 '23, 5:22 a.m.

Thank you Rakesh. This is helpful. Do you know maybe, is there a possibility of adding additional attributes of embedded artifact except for ID, Name and Primary Text?  


permanent link
Rakesh S (39113) | answered Sep 25 '23, 6:21 a.m.

Hi Agnie,

Yes you can add the additional attributes to the embedded artifact by following the steps below:

1)From Manage Component properties page:

a)Create a attribute of type string and assign it to the Heading Artifact.

b)Next add the artifact type created as an Embedded artifact.


Embedded

c)For Example , if you hover over the title of the Embedded Artifact , you would be able to see all the attributes for the Requirement 5063. For ex: Test Attribute(custom Attribute) is assigned with the Sample value.

Hope this helps!

Regards,
Rakesh S



Comments
Agnieszka Zawislak commented Oct 10 '23, 8:48 a.m.

Thanks! 

Is it possible to display ID, Primary text,  title and other attributes of embedded glossary term? I can see there is an option to hover over embedded artifact and see these attributes, but what I am looking for is to have attributes displayed, so when I generate report from view (Generate Report for View option) I can see glossary term ID, Primary Text, Title and other defined attributes of these glossary terms in this report.

Thanks in advance for any tips!

Your answer


Register or to post 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.