Hide custom ticket fields in forms from a support app
Hello!
I am building a client-side support app with ZafClient and React. When installing the app, I create 2 custom ticket fields by specifying app requirements using the requirements.json file.
I would like these fields to be hidden for agents. I only use them to store some internal data, they should not appear in forms. Is there a way to achieve this?
Thank you!
-
The simplest way to achieve that is not adding them to any form as an admin. No action would be required as they are hidden by default until added to a form.
-
Hello, I think Veronica needs something like Time Tracking Apps do. Do you know how this app hide the fields (as it is a Zendesk one)?
-
Hi Denis MENARD,
That would be using this ZAF action in a ticket sidebar app.
client.invoke('ticketFields:identifier.hide')
Where "identifier" is a placeholder for the field name or index number. If the identifier is an index number, the separator is a period instead of a colon. Example: `ticketFields.0`.
-
thanks, will try!
Please sign in to leave a comment.
4 Comments