Publish DNG module attributes with RPE
How do I publish DNG module attributes using RPE? I am referring to a module artifact type, which has default and custom artifact attributes. How do I access these?
I've studied the schema for DNG Text and DNG Module, as well as the sample DNG templates that come with RPE.
Thanks for your help!
|
Accepted answer
Bob, not sure when/how I learned about this. Thought it was on you tube videos.
In a container grab
data/Source/artifact/collaboration/attributes/objectType/customerAttribute
Then check for the custom attribute @name
name=="your customer attribute name" (in quotes e.g. name=="specification_revision")
Then get the value (@value) contains the data held in the customer attribute.
Bob 3 selected this answer as the correct answer
|
2 other answers
Bob, there is a whole series of YouTube videos on how to do this. They are very helpful. This is where I started and have working RPE templates generating docs from DNG. RPE Template Tutorial
The newer versions of DNG (6.0.4+, maybe 6.0.3 - not 100% sure) has added visibility into "views" data source which is faster than the "modules" data source. Still trying to figure out how to use that one, but the "modules" data source works well.
Have fun,
David
Comments
Bob 3
commented Mar 03 '18, 12:23 p.m.
David, thanks for your response. I have reviewed about 10 videos at the link you provided, but none of them discuss accessing module attributes from DNG modules using RPE. Several of them explain how to access the title attribute of a module but no other attributes, whether default or custom ones.
Can anyone shed some light on the technique needed to publish a DNG module attribute like "Security Level," which is a custom module attribute?
|
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.