cancel
Showing results for 
Search instead for 
Did you mean: 

Design Studio Text Label Not updating

0 Kudos

Hi Experts,

In My design studio report I have created an text label to show an value from data source.

The value to text label has been assigned in application load on script.

Now when I open the report the values are populating correctly.

Issue:

Now I have a refresh button in report which contain a application.promot(). When I refresh the report with different set of selection. The new values are loaded in cross tab but it is not reflecting in TEXT_LABEL. Still showing the old value that has been loaded when opening the report.

so could you please help me that why the TEXT_LABEL is not reflecting the latest data of the datasource which I can able to see it via cross tab.

Design Studio 1.5

Thanks!

Regards,

Ramesh Jothimani

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member265529
Contributor
0 Kudos

Hi Ramesh,

Have you used setText() command after giving value to the prompts. The value of text label changes only when the setText() command is used. So to update the value in the label you need to use setText(Value); to assign value to the label.

To update it automatically you can use the data binding option which is explained in below blog by Karol

https://blogs.sap.com/2015/05/26/design-studio-15-view-on-data-binding-for-text/

Thanks,

Poovarasan