Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4041

Global Script Functions not validating on NetWeaver

$
0
0

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:

GLOBAL_SCRIPTS_1.test();

 

 

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

in script

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!

David


Viewing all articles
Browse latest Browse all 4041

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>