Skip to main content
akshayg0010
June 8, 2022
Question

Disable a field in 3rd interface while calling the same interface at multiple location

  • June 8, 2022
  • 4 replies
  • 0 views

I have created a search interface (lets say A) with Name, Age, Address, Work Location. 

I am calling the Interface A in Interface B and its working fine.

I am calling same interface A in Interface C ..but i need to hide Work Location Field here. Can someone help me out on this 

    4 replies

    stefanhelzle0001
    Brainy
    June 8, 2022

    You could just add a boolean rule input to A to control the visibility (showWhen) of that field.

    akshayg0010
    June 8, 2022

    I have created a RI say showWhen of boolean type.. Can you tell what condition should i place in Showwhen Of Work Location Field.

    stefanhelzle0001
    Brainy
    June 8, 2022

    showWhen: ri!showWhen

    But I suggest to give the rule input a better name, like "hideWorkLocation". The condition would then be

    showWhen: ri!hideWorkLocation <> true