Contents

Global UI scripts

SAVE AS PDF

Global UI scripts

You can create a UI script and designate it as global, which makes the script available
on any form in the system. You cannot create a global UI script in a scoped
application.

You can mark a UI script as Global to make it available on any form in the system. You cannot
create a global UI script in a scoped application. For example, you can create a UI script that
has a function helloWorld(), and has the Global field
checked:

function helloWorld() {
alert('Hi');
}

After you create this global UI script, you can call the helloWorld() function from any client script or UI policy you write.