Join Bridge Call Button Not Triggering Client Script / Opening URL

Preksha Kapoor
Tera Contributor

Hi folks,
I’m working on a requirement where a “Join Bridge Call” declarative action button should open a Microsoft Teams web URL when clicked, provided the Bridge URL field is not empty.

I have created a client script as shown below:

 

function handler({api}) {
try {
const url = api.data.record.u_bridge_url.value;
 
if (!url) {
api.addInfoMessage("Bridge URL not available");
return;
}
 
window.open(url, "_blank");
} catch (e) {
console.error(e);
api.addErrorMessage("Unable to open bridge URL");
}
}
 

However, the issue is that clicking the button does not trigger any action—no navigation, no info message, and no error message. It seems like the button click is not invoking the client script at all.

Can someone help identify what might be missing or incorrectly configured so that the button executes the script properly?

0 REPLIES 0