CA Service Management

  • 1.  Select Box in Service Catalog

    Posted Jul 16, 2018 04:05 AM

    Dear All 

    I want to send value from first select box to input second select box but It is not work and not show value for select.

    1. I create 2 report builder.

    first report builder

     

    second report builder

     

    2. I create 2 select box on form.

     

    3. I configuration in Category Level 1

     

    4. I configuration in Category Level 2 

     

    5. I selected Category Level 1 but Category Level 2 do not show values for selected.

     

    Please help me What should I do?

     

    Thanks and Regards,

    KS

     

     

     



  • 2.  Re: Select Box in Service Catalog

    Broadcom Employee
    Posted Jul 17, 2018 04:21 AM

    Good Morning Komgrit.

    May I ask you to check on the following WIKI page(s). And then follow the example as shown in there.

    WIKI Page: https://docops.ca.com/ca-service-management/17-1/en/using/service-catalog-management/manage-forms/perform-automated-tasks-in-form-fields/use-javascript-functions-in-fields
    Section : Use User Input to Pre-Populate a Select Box
    ...
    ca_fdGetSelectedOptionValues
    $({'selected_country':ca_fdGetSelectedOptionValues ('<form _id> ','country' )[0]})

    Perhaps in your step3 display, you need to set the onchange for fetching 'Category_1'?

    Thanks and kind regards, Louis.



  • 3.  Re: Select Box in Service Catalog
    Best Answer

    Posted Jul 17, 2018 09:07 AM

    If he does that, the select will fetch himself after a select, wich is not what you want.

     

    Anyway this is a duplicate of this thread i think : Do not Use User Input to Pre-Populate a Select Box 



  • 4.  Re: Select Box in Service Catalog

    Posted Jul 19, 2018 12:05 AM

    Yes, This my team. Now, it's work. 

     

    Thanks and Regards,

    KS