Displaying a user's name instead of e-mail id from RPE-RRC
Hello,
I am currently using a configuration of IBM Rational Requirements Composer (RRC) 3.0.1. This configuration has some attributes of the "User" data type.
I am also leveraging an IBM Rational Publishing Engine (RPE) 1.1.2 document template, running from the RRC server. In the "resources" data source, I can clearly see my attribute data, with e-mail address information encoded in the attribute "value". Unfortunately, I do not know a way to display the user's full name on my RPE document template instead of the e-mail address.
Brainstorm ideas:
Idea 1: Is there a data source that might help me to look up the user friendly name from the list of Rational users on my server, instead of the e-mail address, perhaps if I give it a UID or something else?
Idea 2: Is there a way for my RPE document to call an IBM BluePages API via RPE's Javascript?
Idea 3: I could change my RRC data type from "User" to "String", but that idea is less user friendly because it requires more data entry.
Idea 4: I could have RPE variable prompts for the user to enter the names prior to report generation. Once again, that is not very user friendly in terms of data entry, especially when you generate the RPE document more than once.
Idea 5: ???
If there is no good solution besides ideas 3 and 4, then perhaps there needs to be a change request perhaps affecting either an RRC data source and/or RPE.
Thank you for your excellent support, as always!
Kind Regards,
Chris
I am currently using a configuration of IBM Rational Requirements Composer (RRC) 3.0.1. This configuration has some attributes of the "User" data type.
I am also leveraging an IBM Rational Publishing Engine (RPE) 1.1.2 document template, running from the RRC server. In the "resources" data source, I can clearly see my attribute data, with e-mail address information encoded in the attribute "value". Unfortunately, I do not know a way to display the user's full name on my RPE document template instead of the e-mail address.
Brainstorm ideas:
Idea 1: Is there a data source that might help me to look up the user friendly name from the list of Rational users on my server, instead of the e-mail address, perhaps if I give it a UID or something else?
Idea 2: Is there a way for my RPE document to call an IBM BluePages API via RPE's Javascript?
Idea 3: I could change my RRC data type from "User" to "String", but that idea is less user friendly because it requires more data entry.
Idea 4: I could have RPE variable prompts for the user to enter the names prior to report generation. Once again, that is not very user friendly in terms of data entry, especially when you generate the RPE document more than once.
Idea 5: ???
If there is no good solution besides ideas 3 and 4, then perhaps there needs to be a change request perhaps affecting either an RRC data source and/or RPE.
Thank you for your excellent support, as always!
Kind Regards,
Chris
One answer
Hi Chris,
From what I now on how to retrieve the user information like name I believe there are a couple of options.
You can use the schema for users from I believe it's RTC or maybe Jazz (I'll investigate that) to retrieve the information about a user
In the mean time I think the best options you have are Idea 3 or 4
I have logged enhancement 45107 https://jazz.net/jazz03/resource/itemName/com.ibm.team.workitem.WorkItem/45107 to add some more options into the report wizard :-)
Feel free to add some other suggestions.
From what I now on how to retrieve the user information like name I believe there are a couple of options.
Idea 1: Is there a data source that might help me to look up the user friendly name from the list of Rational users on my server, instead of the e-mail address, perhaps if I give it a UID or something else?
You can use the schema for users from I believe it's RTC or maybe Jazz (I'll investigate that) to retrieve the information about a user
In the mean time I think the best options you have are Idea 3 or 4
I have logged enhancement 45107 https://jazz.net/jazz03/resource/itemName/com.ibm.team.workitem.WorkItem/45107 to add some more options into the report wizard :-)
Feel free to add some other suggestions.