#RPE #DNG How can I access a custom attribute with a custom data type from DNG with RPE?
Accepted answer
The example provided works only for "String" data type. Depending on the attribute data type (t_region), you need to modify the data attribute used. What kind of value does "t_region" use? Is it Enumerated list of values? If so, you can use name (dataSource/artifact/collaboration/attributes/objectType/customAttribute/name) for filtering and literalName (dataSource/artifact/collaboration/attributes/objectType/customAttribute/literalName) for printing.
Comments
t_region is defined as an enumerated list of values with base type integer from which one ore more values can be chosen. The labels of the values are printed in "Region of Markets". I need to read out these labels. So I would use as a condition itemId = "Region of Markets"?
I have tried your suggested solution but I still can't access the custom attributes. There is nothing printed into my word document.
I'm not sure how to get the itemID.
You can refer the screenshot - the URL is what you use for configuring the "resources" data source.
For getting the "customer" attribute, I can either use the condition name == "customer" or itemId == "_ptWl4FktEeiEhdvG67fFHQ"
Here is the screenshot of RPE template:
Thanks for the answer. Unfortunately filtering by name doesn't solve my problem. RPE still doesn't print my custom attribute into a word document.
I've done it exactly as you have in the above screenshot of a RPE template. RPE still doesn't print the custom attribute.
Ok, got it. I had to change the dsx file slightly. Thanks a lot!
Ok, got it. I had to change the dsx file slightly. Thanks a lot!
Comments
Fariz Saracevic
FORUM MODERATOR / JAZZ DEVELOPER May 17 '18, 9:10 a.m.HI Emely,
This way context of your original question is lost and confuses everyone. If you follow link https://jazz.net/mystuff#tab=forum&page=questions, you can find all your forum questions.