It's all about the answers!

Ask a question

How to create dependent enumeration where main (not dependent) enumeration is of type contributor in RTC


Sandhya Prabhu (1610) | asked May 28 '18, 5:41 a.m.

Hi,

Here I have one requirement where one chooses enumeration of type contributor(say user name)  it should list only that particular user's email id , mobile number etc.  in respective drop downs rather all users mobile numbers/email ids.   Can we achieve this in RTC using using dependent enumeration using value sets . i have tried this but since main enumeration is of type contributor (user list) , it does not show any values under Attribute Customization.
 If this is not possible using dependent enumeration valueset.. is there any alternate way.

Please suggest

Thanks,
Sandhya

One answer



permanent link
Ralph Schoon (63.6k33646) | answered May 28 '18, 7:12 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

As discussed this question Is lacking information. E.g. where does the information about the users come from and how to maintain it.

Please see this information for your education  https://jazz.net/forum/questions/203755/how-should-i-ask-a-question-in-the-forum-if-i-want-to-receive-useful-answers   

The following information can help you to understand the limitations of RTC better: https://rsjazz.wordpress.com/2016/07/15/rtc-process-customization-what-you-can-and-cannot-do/

This workshop (the RTC version) https://jazz.net/library/article/1093 provides you with a good overview what customization options are available.

To manage a list of users one approach could be the HTTP Filtered Value set. A list is published as XML and you can filter the data. It might be possible to select the user ID from a value set and store the information in a string attribute. There are limitations in what can be achieved.

I have created an example once that used the filtered value set and stored the data in a string attribute. A HTTP filtered value set returns one value that can be stored e.g.
User1 Name | Mobile | E-Mail | ....
User2 Name | Mobile | E-Mail | ....

I stored the whole customer information in that attribute in a form that I could use script based calculated values that extracted the information for display in other attributes. E.g I stored

User1 Name | Mobile | E-Mail | ....

And used the | to extract the information for display in the calculated values.


Comments
Sandhya Prabhu commented May 28 '18, 11:25 a.m. | edited May 28 '18, 11:21 p.m.

 Thanks a lot Ralph Schoon for your reply.  This is of great help I will try this out.

Thanks !
Sandhya

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.