Visibility of cell

Hi, i have following domains ServiceRequest ID Name Location Task ID Name TaskType Service request can have task selected. I have dataview on the page where i dont want to display location if task type for selected task is "XYZ". How do i do this?
1 answers


You can do this with conditional visibility of table rows. Put a table row inside of your dataview with the Location attribute in it. Make that row conditionally visible based on the value of Task Type. The one caveat to this is that conditional visibility only works for attributes of type enumeration and boolean. Not sure if TaskType is an enumeration. If not, you could create a boolean calculated attribute on entity Task, create a microflow that returns true if TaskType is XYZ and false if not.

Hope that helps,