Global Script Functions not validating on NetWeaver
We have an analysis application that utilizes Global Script Functions (Design Studio 1.4), and running it locally from design studio everything works fine but when we run it on NetWeaver (7.3) we see script errors coming from the Global Script Functions.
I made a simple application that demonstrates the issue. It contains a single text field called TEXT_1. It has a single Global Scripts Object called GLOBAL_SCRIPTS_1 and that object has a single function test. That function just sets the text of the TEXT_1 field:
TEXT_1.setText("Hello From Global Script Functions");
I call the test function in my On Startup script:
Running this locally works fine but if I run it on NetWeaver I get script validation errors. Looking at the logs in NetWeaver I see this:
Script validation error:
Couldn't resolve reference to Member 'setText'.
Global Script Function contains errror: GLOBAL_SCRIPTS_1.test
I've attached the content.biapp file of this simple application for reference. I changed the extension on it .xml so I could attach it.
Has anyone gotten global script functions to work on NetWeaver? Any idea what I'm doing wrong?
Thanks for your help!
Tammy Powlas replied
says global script functions are only available in local mode and BI Platform mode (not NetWeaver)