Skip to Content
0

Design Studio Text Label Not updating

Nov 07, 2016 at 02:33 AM

34

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

avatar image
Former Member Nov 07, 2016 at 06:03 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded