Quantcast
Channel: SCN : All Content - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4216

Script error when using getVariables() method

$
0
0

Hi All,

 

I have encountered an issue with the data source getVariables() BIAL method and would like to know if anyone has encountered the same or can replicate it?  getVariables() returns an array of information about variables in a data source, specifically as shown below:

 

getVariablesParameters.png

 

I have found that attempting to access the dimensionName and type fields in a BIAL script results in a script error.  Accessing the other fields works as expected.  So for example, the following script results in a script error at run-time:

 

var myVariable = DS_1.getVariables()[0]; // Get first variable details

 

TEXT_1.setText(myVariable.name);  // This is okay

TEXT_2.setText(myVariable.text); // This is okay

TEXT_3.setText(myVariable.type); // This results in a script error

TEXT_4.setText(myVariable.dimensionName); // This results in a script error

TEXT_5.setText(myVariable.inputEnabled + "");  // This is okay

 

 

My data source is a BW BEx Query and I'm running Design Studio 1.6 SP01 Patch 1.

 

 

The related Design Studio error log is attached for those of you who prefer the details.  Any feedback about whether this might be a bug or otherwise would be appreciated.

 

Thanks,

 

Mustafa.


Viewing all articles
Browse latest Browse all 4216

Trending Articles



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