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.
Page 1 / 1
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!
Join the Community
Already have an account? Login.
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 E-mail address. We'll send you an e-mail with instructions to reset your password.