on 07-28-2015 8:05 AM
Hi,
I am New To Design Studio Present I am Working On Xcelsius today I got Requirement For Dashboard in Design Studio i.e I have List Box with Exports And Imports As Lables And Chart Showing Net Values Based on Plant,Requirement Is when Ever we click on Exports we need to Pass Plant 2000 and 3000 and if they click on Imports It should Pass 5000.
For That I have Given Values For Lables
In On select Event I have Written Following Script
DS_1.setFilterExt("0PLANT",LISTBOX_1.getSelectedValues());
But i am Getting Error Cannot Convert From"String array " to "Input String"
Screen Shot Attached For Reference Could you please help on this.
Hi Sathish,
Changing the list key value to "2000;3000" should do the trick. i.e. replace the comma with a semi-colon.
Regards,
Mustafa.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sathish,
getSelectedValues() should be used when you have set the List Box Multiple Selection property to true. It allows the user to select multiple items from the list simultaneously. However, this returns an array of strings which is incompatible with the Input String data type that setFilterExt() expects, so you would need to iterate through the array and convert it to an input string in that case.
Regards,
Mustafa.
Hi Sathish,
You can initially refer to the script API documentation in the Design Studio Application Designer Guide. You may also find relevant tutorials here. Apart from that you can search the SCN blogs for relevant information.
Regards,
Mustafa.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.