Jul 10, 2020 09:33 PM
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
}
Solved! Go to Solution.
Jul 11, 2020 12:44 PM
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.
Jul 11, 2020 12:44 PM
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.