Opening Skype chat directly from button/script/field

752 0
Showing results for 
Search instead for 
Did you mean: 
6 - Interface Innovator
6 - Interface Innovator

I have a field of Skype ID and I’m trying to have a button/field that pressing it will open a Skype chat with this specific user.
I found online html code that does that: <a href="skype:<username>?chat">Start Chat</a>

I tried using button with open URL ("skype:"&{Skype}&"?chat") but Airtable treats it as http and adds http which breaks the link.

I tried opening a script with the script:

let table = base.getTable("TEST");
let record = await input.recordAsync('Pick a record', table);
let link = "skype:" + record.Skype + "?chat";
output.markdown(`[Click here](${link})`);

but the link built doesn’t open anything.
I tried URL field but again the http is added.
I tried using long reach text field with markdown code: click here
and it doesn’t work too…

Please advise how to do it.

Thanks, Amit

0 Replies 0