CA Service Management

 View Only
  • 1.  Combining two plugin variables

    Posted Mar 23, 2016 01:42 PM

    We have a dropdown on a catalog form referencing a report builder data object. Within the query of that object we are referencing a couple of variables.

    The dropdown on the form is then using the "Report/Plug-in Variable" value to reference two other dropdowns and filter the number of options in that dropdown.

    These are both working successfully when used independently. We have been unsuccessful in getting them to work together.

    $({'Floor':ca_fdGetSelectedOptionValues('ConfRoom','RoomFloor')})

    $({'Floor':ca_fdGetSelectedOptionValues('ConfRoom','RoomFloor')})

     



  • 2.  Re: Combining two plugin variables
    Best Answer

    Posted Mar 24, 2016 08:42 AM

    Hi Alex,

     

    You can pass multiple variables as a JSON expression similar to the following:

     

    $({'userid':_.user.id,'rm_orgunit':ca_fdGetSelectedOptionValues(ca_fd.formId,'orgunit_id')})

     

    This is from the following:

     

    Elements of a Form - CA Service Management - 14.1 - CA Technologies Documentation

     

    Thanks,
    Jason