Not sure if this is possible I didn’t see a way to do it.
It would be great to enable a button if a condition is active/deactivated.
There may be a simpler way, but you could do it with a ui-only field.
Set up your field to be a formula returning a boolean to access the condition with merge syntax like so:
{{$Model.OpenTasks.conditions.0.inactive}} – will be false if the Condition is currently active, true if it is inactive
Then, enable the button based on the value of the formula field.
Hi Matt,
This was a great suggestion. Thank you! I switched it from ‘inactive’ to ‘value’ because I need to look at a few buttons. The UI field works great in that respect. The issue is setting up the button to render. I am working with all aggregrate models. When I set up the rendering for the button I get the below error:
Notes: ‘TimePeriodCondition’ is my ui only field.
A Skuid Model, ‘IntegrationAggr’, requested a Field with relationship name ‘TimePeriodCondition’, on the IntegrationTimeSheet__c Object, but Skuid could not find a valid Field accessible through this relationship name. Please check that this Field actually exists on this Object (or on any related Objects). If it does not exist, remove it from this Model.
Hmm. Might be a bug, but I’ll let skuid weigh in on that one.
Try setting up a new basic model just for your ui-only field?
That would be a good work around if what i am trying to do is not possible. Although based on the documentation I thought this could work. Hopefully skuid will give me some insight.
Thanks!
I posted a solution to this problem here.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.