Zum Hauptinhalt gehen

script: retrieve values from CMS_INPUT_CHECKBOX

Kommentare

2 Kommentare

  • Zendesk API User
    Author: mbergmann - 7/13/2018 16:02

    Hi Rinku,

    I tested the code in the current FS version and it works (when replacing the variable "frame" with "null"). Your version is very old (5.0) and not officially supported anymore.

    The reason for your problem may be that the Beanshell version in your FS does not support typed variable declarations at all (even the current one doesn't have full support for generics), at least the error message suggests this.

    But as you dont have to use declarations in Beanshell, maybe you just try

    Set users = data.get(null,"st_user").get();

    or even

    users = data.get(null,"st_user").get();

    Michael

    0
  • Zendesk API User
    Author: rinku_chowdhury - 7/25/2018 13:35

    Hi Michael,
    Thanks for the hint but the problem was with "useLanguage" parameter in the Form section. By removing that parameter, the aforementioned snippet works for me as well.

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.