Open a URL from a buttonsAsync input

Hello all,
Forgive me for what seems like a silly question, I’m new to this and can’t figure this out. I would like to launch a website when I click a button in the scripting block. Is this possible?

let purpose = await input.buttonsAsync(
'Are you Creating a Record?',
[
    {label: 'Create', value: 'creating'}
],
);
if (purpose === 'creating') {
//LAUNCH URL HERE
}

Scripting block itself cannot launch a webpage. Scripting block can display a link (in markdown format) to a web page, and when the user clicks the link, the web page will open. Note that the web page will open the browser window, no in the Scripting block window.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.