CA Service Management

 View Only
  • 1.  3 dependent Dropdowns

    Posted May 22, 2023 05:00 AM

    I want to make 3rd dropdown dependent to the 2nd dropdown
    1st and 2nd dropdown is already dependent to each other.
    I want to update the 3rd dropdown values based on 2nd dropdown values
    if dropdown 2 value is apple then in drop dropdown 3 only 3 colors display and hide the remaining dropdown list.
    How to do this? Please guide me!!!

  • 2.  RE: 3 dependent Dropdowns

    Broadcom Employee
    Posted May 24, 2023 09:22 AM

    Hi Amina,

    Can you please elaborate more on the usecase, how 1st and 2nd are connected and it would help a lot if you can share a sample form with your usecase.

    Satya Kiran

  • 3.  RE: 3 dependent Dropdowns

    Posted Sep 16, 2023 03:44 AM

    I can give you an example:

    First dropdown, select printer model: 



    Second dropdown is filled depending on the first dropdown with corresponding value of models like, on selection:

    Canon Pixma

    Third dropdown is filled with the corresponding toners:



    And if possible to have this behaviour in Service Point :D



  • 4.  RE: 3 dependent Dropdowns

    Broadcom Employee
    Posted Sep 18, 2023 09:27 AM

    Maybe using Classic UI this could have been possible, with some creative JavaScript code but its definitely not possible in Service Point using plain Service Desk, not sure if Service Catalog could help with that.

  • 5.  RE: 3 dependent Dropdowns

    Broadcom Employee
    Posted Sep 19, 2023 01:34 AM

    Hi Domagoj,

    In Service Catalog form you can achieve your requirement If you have the data in the database, then three "select" components can be used with "Report/Plug-in Id" and passing the previous select value in "Report/Plug-in Variables".

    Example: select1 contains data pulled from printer company table using reportid1 , select2 has pulled from printer model table along with filter (report variable) as $({'STRING':ca_fdGetSelectedOptionValues(ca_fd.formId,'select1')[0]}) and likewise select3 has data pulled from toners table with filter (report variable) as $({'STRING':ca_fdGetSelectedOptionValues(ca_fd.formId,'select2')[0]})

    Also add "ca_fdFetchSelectData(ca_fd.formId,'select2')" in onchange event of select1


    "ca_fdFetchSelectData(ca_fd.formId,'select3')" in onchange event of select2

    This form can be attached to any offering, and it will be available in the Service Point.

    Please let us know if you have any more questions.


    Satya Kiran