Hi Team,
I am trying to get a modal to popup on the new changes page with a bunch of matrix info and other documentation.
How do we get the interface api from here to work and get this modal to pop out?
Regards,
Lochy.
Assistance with Interface API to show modal
This topic has been closed for comments
Hi Lochy,
Please use the below code snippet in your app to trigger modal.
client.interface.trigger("showModal", {
title: "Sample Modal",
template: "modal.html"
}).then(function(data) {
// data - success message
}).catch(function(error) {
// error - error object
});
Here modal.html should be a file in your app.
Regards,
Moghana
Great!
Thanks!
Thanks!
Sign in to the Community
No account yet? Create an account.
Social Login
Login for Freshworks Employees Login with LinkedInor sign up below
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.