Hi community!
I’m building a simple app that should set a default value in the “from” field in the reply window.
According to the documentation for freshservice, it should be possible -
client.interface.trigger("setValue", {id: "reply", field: "from", value: "tom@customer.com"})
.then(function(data) {
// data - success message
}).catch(function(error) {
// error - error object
});
I have this in a app located in the “ticket_top_navigation”.
When initializing the method, it does nothing, and when i log the response, it returns undefined.
This does work on the field “CC” but not “From”…
Any ideas to get this to work?
// Jonathan