Question
CGI
IN
Last activity: 19 May 2016 5:47 EDT
"Run disabled condition on client" is not working
Hi,
Pega 7.1.7
We have added Disable condition on button
SearchProd.ProdNum = '' && SearchProd.ProdCode = ''
"Run disabled condition on client" is not working. At run time when user has not entered any you for SearchProd.ProdNum i.e. is blank, "Find" button is not disabled.
Please guide in resolving the issue.
Thanks & Regards
U Rajasekhar
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Updated: 19 May 2016 5:47 EDT
Pegasystems Inc.
IN
Pegasystems Inc.
AU
Could you please run the tracer and verify what value is being set during the run time for 'ProdNum' if it blank can you check in the rule (section) and verify
CGI
IN
Hi Basavaraj,
I have checked, it is blank and section is checked in. It is consistent behaviour.
Thanks & Regards
U Rajasekhar
Pegasystems Inc.
AU
Instead writing the condition there, can you create a when rule with the condition and configure that when rule and verify?
CGI
IN
Hi Basavaraj,
"Run disabled condition on client" is not available for WHEN rule condition.
Thanks & Regards
U Rajasekhar
Tracer will not help for client side expressions.
CGI
IN
Hi Sathish,
We need your guidance.
Thanks & Regards
U Rajasekhar
From the expression I assume you have a top level page name searchprod and in that there are two properties namely prodnum and prodcode. Now do you have these properties in the form ? If they don't exist then client side expressions will not fire. Atleast have them hidden using pxhidden control.
CGI
IN
Okay. Ideally it should be working. Not sure what is going wrong.
CGI
IN
Hi Sathish,
I have discussed with Mounika Thatikonda. If required, We can take help of Mounika Thatikonda for screen sharing.
Thanks & Regards
U Rajasekhar
Currently I am out of office. Can we have it on Monday May 16th ?
CGI
IN
Hi Sathish,
We have identified few more issues
Client side Disable Conditions for Find Button not working:
- SearchProd.ProdNum = '' && SearchProd.ProdCode = '', Find button is not disabled, when “card / Account Number” is blank.
- .ProdNum = '' || SearchProd.ProdCode = '', Find button is disabled, when “card / Account Number” is blank
- SearchProd.ProdNum = '' AND SearchProd.ProdCode = '', Find button is disabled, when “card / Account Number” is blank. But once we enter and delete the value from card / Account Number”, Find button is always enabled.
- SearchProd.ProdNum = '' OR SearchProd.ProdCode = '', Find button is disabled, when “card / Account Number” is blank. But once we enter and delete the value from card / Account Number”, Find button is always enabled.
Thanks & Regards
U Rajasekhar
Do you think issue is with TopLevelPage.property configuration ?
Can you try client side expressions with just .property and try running the above scenarios ?
CGI
IN
Accepted Solution
Updated: 19 May 2016 5:47 EDT
Pegasystems Inc.
IN
Thank you for updating that here Mounika