Skip to main content


 

Symptoms


A picker control is disabled on a View. Using rules on a Form, it should be enabled again. The control gets enabled however the text is still greyed out.
 

Diagnoses


Here are the steps to reproduce this:

1) Create a SmO in K2 Designer, make it an advanced SmO, use the "Active Directory Service2" and drag the entire "AD User" method then Create All and Finish.
2) Create a basic Item View with 3x3 layout table
3) Put a picker control on that View, assign the newly created SmO to that picker (use any input, I used Name/Displayname/Email) then disable the picker
4) Create a Form
5) Drag the View into the Form
6) Under Form rules, when Form is initializing, then on View enable Picker control
7) Picker should be disabled in View but enabled in Form, it is but still has grey text
 

Resolution

There was no need to use an advanced SmO, a normal SmO was sufficient. Labs could not find a workaround for the issue.

However, this was just a basic example of the problem. On the actual form, the picker should get enabled when a certain value is in a dropdown, so the rules were changed as follows:

When dropdown list is CHANGED
if drop down contains specific value
then enable picker control.

When the first rule is 'When dropdown list is SET or POPULATED', the problem occurs.

So at the moment everything is in working order.




 
Be the first to reply!

Reply