Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

#RPE #DNG How can I add attributes from a DNG module to the data source schema in RPE?

Hi,

I have custom attributes (like addtional information, comments, etc.) in a DNG module. I want to add these attributes to a table in RPE. How can I add these attributes to the data source schema in RPE so that I can access and use them in the template?

Thanks in advance!

0 votes



One answer

Permanent link

You need not modify the schema as it already includes the custom attributes (dataSource/artifact/collaboration/attributes/objectType/customAttribute), which you can use in RPE template.
You can add a condition (name == "additional information") or data filter on dataSource/artifact/collaboration/attributes/objectType/customAttribute/name and print dataSource/artifact/collaboration/attributes/objectType/customAttribute/value

0 votes

Comments

Could you give me an example?

I have a custom attribute "additional information" which I'd like to read out. It only consists of text (string). How would I do that? 

You can refer this simple example template that depicts filter usage as well as using condition on Text element.

Hi Subramanya,


Can you provide me a sample template since this link you provided is not valid anymore.

Thank you,
Firdaus

Example files can be found inside the Templates folder of RPE Studio installation.

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019

Question asked: May 09 '18, 8:41 a.m.

Question was seen: 4,214 times

Last updated: Oct 24, 4:00 a.m.

Confirmation Cancel Confirm