on 2024 Oct 16 9:07 AM
Hi,
We are trying to perform read call on press of button and in the success of that call we are trying to set value using rule. The value is getting set but it is not displaying.
Thanks and Regards,
Madhav
Request clarification before answering.
Hi @madhav15
Try to redraw the section in your rule after setting the value in line# 11 or you can redraw the control based on the requirement. You can refer to the below sample for redrawing.
Redraw Control
clientAPI.evaluateTargetPath("#Page:PageName/#Control:ControlName").redraw();
Redraw Section
let pageProxy = clientAPI.getPageProxy();
let sectionView = pageProxy.getControl('ControlName').getSection('SectionName');
sectionView.redraw();
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @panushjain,
We are setting value in 'testValue' in ClientData but values are not getting displayed. Please check the attached screenshots.
Thanks and Regards,
Madhav
Hi @bill_froelich,
Yes Main is referring to Main Page. We are performing this operation on Main page itself.
Thanks and Regards,
Madhav
User | Count |
---|---|
76 | |
22 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.