Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

addLayerPassword(pwd)

Description

Function which gives access to protected layers. By default, a protected layer cannot be accessed by the script. The parameters of a protected layer and any elements inside of it are hidden for the script. By calling this function with the correct password the script can access a protected layer, its parameters and the elements inside of it.

To hide the password in addLayerPassword, you must protect also the script module. See Managing Script Modules for details.

Available in: Controller.

Arguments

pwdThe password of the protected layer.string

Example

--access the protected layer with the password "abc123"
addLayerPassword("abc123")
  • No labels