Component Conditions - XML Hack

Pat VachonPat Vachon 💎💎💎
edited October 31, 2017 in Ideas
As per this posts requested feature, here is the xml needed to add a condition to a component.
<condition type="fieldvalue" value="Consumer" enclosevalueinquotes="true" field="Problem_Category__c"/> </conditions>  
The use case for the client I am working is that they store many records in one object and want to display multiple groups of records based on which picklist value is selected. The picklist has 10 values so I could create 10 models, but It's much simpler to create on model and setup a component condition for each picklist value. So now we have one model and 10 tables vs 10 model and 10 tables. Much easier to manage.
3 votes

Awaiting Review · Last Updated

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!