Script Console - runNamedQuery

Hello,
why do I get an error when I call the script via Script Console?
If I call the same script via button in perspective, everything works fine.

Many thanks in advance,
David

Script console is NOT gateway scope.
You're calling runNamedQuery in gateway scope syntax...
Try calling it in client scope (without the project name).

2 Likes

Thank you very much. Now it works :slight_smile: