System.perspective functions removed from gateway scripting scope

Hi all,

I noticed that the system.perspective functions are no longer available from the gateway scripting scope.

Is this suppose to be the case?

I normally use the system.perspective.sendMessage function within gateway scripts.

What is your indication that this is the case?
system.perspective functions continue to be available across the entire gateway scope in 8.3, same as in 8.1.
Just like in 8.1, if the Perspective module is not installed or faulted for some reason, you won't see anything from Perspective added in the designer.

Ah , just forgot that it doesn’t appear in the autocomplete tooltip if you are in the gateway scripting scope, but does in the perspective scripting scope. As you said, it still works in the gateway scripting scope.

1 Like

If that's the project library (it's unclear from the crop) you can change the scope of the provided hints via a dropdown box in the top right. "Gateway" scope will always include system.perspective as long as the module is installed. Other than the project library, all areas of Ignition should be providing the 'correct' script hints automatically.

1 Like

Thanks didn’t know this.