Need to hide section on some particular condition while calling from applyComponent()

Hi Guys,

 

I have one section sail code in X page

if(
ri!flag,
if(
like(
ri!name[ri!index],
"test"
),
{},
a!sectionLayout(
...
)
),
a!sectionLayout(
...
)

 

Which is getting call from main forum by passing  one array index from applyComponent().

 

Now issue is that on some particular validation i don't want to display this section like if name is having "test" as text in string.

 

But whenever this condition is matching its throwing some error 


Could not display interface. Please check definition and inputs.
Interface Definition: Expression evaluation error in rule 'section page' at function a!applyComponents [line **]: Invalid types, can only act on data of the same type (Any Type, Text)

 

Please suggest me what could be the issue ?

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data