Legacy Dev Forum Posts

 View Only

Sign Up

How to list API array response into drop-down list for scripter

  • 1.  How to list API array response into drop-down list for scripter

    Posted 06-05-2025 19:14

    mohannad_haddad | 2023-03-27 14:51:46 UTC | #1

    I'm hoping someone can enlighten me on this, I'm getting an array of attributes from DA and when I'm trying to

    list all those values in a drop-down list, all the values appear in one line, I have attached a screen shot of the

    result from DA and the drop-down list, Also I would like to highlight something I have tried to do with dynamic

    parameters and parameter of type list all of them give me the same result, Could anyone give me a hand in this.

    ![Capture

    690x253](upload://9EfFiRbsA67jcDPOwwFcJTQoQMr.png)

    ![wrap-up

    690x354](upload://Alz2kUQkRMzCgkucI7tkHUutC84.png)


    Jason_Mathison | 2023-03-27 14:56:00 UTC | #2

    See if this thread solves this for you: https://developer.genesys.cloud/forum/t/extract-array-elements-within-script/16274/5


    mohannad_haddad | 2023-03-27 19:02:58 UTC | #3

    @Jason_Mathison thank you for your response, i have walked through that thread

    But till now I'm not able to figure out how I can list each array element in sperate line in drop-down list, can you

    please guide me with an example


    Jason_Mathison | 2023-04-05 14:37:58 UTC | #4

    I don't really have much experience with scripts. You might be better off contact support in order to be able to work with someone interactively.


    system | 2023-05-06 14:38:46 UTC | #5

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 19124