Edit options in Drop down for "TYPE"


1 Comentários

  • Ahmed Zaid
    Community Moderator

    Hi Tony Mancini,

    First, I assume you are using ZAF in your application and initialised the client. You can query the optionvalues of the type field:


    It should return all the available option objects. Find the desired option in the array and store its index. You can then change its label by replacing 0 with that index in the set statement:

    client.set('ticketFields:type.optionValues.0.label', value)

    Note that these are only UI changes. It is not possible to change the values of a system field.


Por favor, entrar para comentar.

Powered by Zendesk