Help

Open a URL from a buttonsAsync input

Topic Labels: Scripting extentions
Solved
Jump to Solution
2637 1
cancel
Showing results for 
Search instead for 
Did you mean: 
Tyler_Emel
5 - Automation Enthusiast
5 - Automation Enthusiast

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
}
1 Solution

Accepted Solutions
kuovonne
18 - Pluto
18 - Pluto

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.

See Solution in Thread

1 Reply 1
kuovonne
18 - Pluto
18 - Pluto

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.