Skip to Content
0
Aug 14, 2023 at 10:50 AM

How Can we update Set variable using Script ?

159 Views

I have input field If I enter any value on that it should update the set variable

I am using the below code

image.png

weeknumber= ConvertUtils.stringToInteger(InputField_1.getValue());
Chart_2.getDataSource().setVariableValue("ZFVWEEKNUM",weeknumber);
Chart_2.getDataSource().getVariableValues("ZFVWEEKNUM");
Chart_2.getDataSource().refreshData();

It is working but it is updating for set chart variable

image.png

I have multiple dashboard is there anyway to update directly in Story variable.

screenshot-2023-08-14-154935.jpg

Regards,
Thayu

Attachments

image.png (23.9 kB)
image.png (16.3 kB)