Run code only on app installation
AnsweredHello!
I am building a client-side support app with Zaf and React and I would like to run some code that creates a custom ticket field using the tickets API, when the app is being installed. Would that be possible?
And also, after creating it, I would need to store its ID somewhere in order to set and get its value with ZafClient (ticket.customField:custom_field_{ID}) when the app is being used by any user.
Thank you!
-
Check out app requirements. it will help you achieve exactly what you are looking for.
-
Thank you Ahmed Zaid! This was what I needed.
Please sign in to leave a comment.
2 Comments