none
RCDC dependable drop down lists

    Pergunta

  • Is it possible to create drop down lists or RCDC field population that is dependent on previously completed details?

    e.g. I have a attribute called employeeType. This is a drop down list in the RCDC that can be selected from. There is also an attribute called employeeID. What I want to do is populate the employeeID attribute based on what is chosen as employeeType. Hence a dependency.

    e.g. If employeeType is XXXX the employeeID starts with a G and if employeeType is YYYY the employeeID starts with an 8.

    quinta-feira, 18 de abril de 2013 13:20

Todas as Respostas

  • Nope with standard RCDCs - either you need to inject your own Java script for that or replace this with custom UI (which is case in both), just delivered differently. 

    Tomek Onyszko, memberOf Predica FIM Team (http://www.predica.pl), IdAM knowledge provider @ http://blog.predica.pl

    • Sugerido como Resposta Sylvain.c sexta-feira, 19 de abril de 2013 11:25
    quinta-feira, 18 de abril de 2013 14:15
  • How to inject our own JAVA script in RCDC? I also want to create dependable drop down lists
    segunda-feira, 16 de setembro de 2013 06:11
  • Hi,

    dont know if it is possible to inject java script in RCDC, but you  can follow this article to create your custom UI, with excactly what you need.

    FIM custom UI with dependend dropdowns

    Regards
    Peter


    Peter Stapf - Doeres AG - http://www.doeres.com

    segunda-feira, 16 de setembro de 2013 08:47
  • Hello, 

    you can inject javascript in submission.master page. 

    I did this and it worked, you have to call your javascript function in the method page_load()

    Regards

    segunda-feira, 16 de setembro de 2013 08:55
  • Can you please post some example. It would be really very helpful.
    segunda-feira, 16 de setembro de 2013 10:17
  • function pageLoad() {
    dynamic()
    
    }
    
    function dynamic(){
    		if (document.getElementById('ctl00_PlaceHolderMain_CreatePerson_uoc_WorkInfo_grouping_EmployeeType_control_internalDropDownList')){
    			$("#ctl00_PlaceHolderMain_CreatePerson_uoc_WorkInfo_grouping_EmployeeType_control_internalDropDownList").attr('onChange', "");
    			$("#ctl00_PlaceHolderMain_CreatePerson_uoc_WorkInfo_grouping_EmployeeType_control_internalDropDownList").change(function() {
    				# What you want to do
    				
    			})
    		}
    	}
    

    I wish that helps

    Regards 


    segunda-feira, 16 de setembro de 2013 12:06
  • Thanks a lot. I'll try and come back with results.
    segunda-feira, 16 de setembro de 2013 12:20