Skip to main content
9-Granite
November 22, 2023
Solved

boolean attribute shows values show as Yes/No/undefined...Can we remove undefined

  • November 22, 2023
  • 2 replies
  • 1480 views

If we add a boolean attribute to object type like document, values show as Yes/No/undefined...Can we remove undefined here and keep only Yes/No ?

Best answer by HelesicPetr

Hi @arajendren 

Yes it is possible by configuration in TypeAndAttribute management layout 

 

go to the Boolean attribute show the Layout tab and select Create layout,

You can select your attribute there and set the blank option to no 

HelesicPetr_2-1700639142362.png

 

result in the wizard

 

HelesicPetr_1-1700639128931.png

PS> legal value list does not work as @Rocket_Max mentioned.

 

 

 

2 replies

17-Peridot
November 22, 2023

Hi @arajendren 

OOTB cannot do it.
Consider setting the attribute to a character type and then setting a list of legal values or enumerations to work around it

HelesicPetr
22-Sapphire II
22-Sapphire II
November 22, 2023

Hi @arajendren 

Yes it is possible by configuration in TypeAndAttribute management layout 

 

go to the Boolean attribute show the Layout tab and select Create layout,

You can select your attribute there and set the blank option to no 

HelesicPetr_2-1700639142362.png

 

result in the wizard

 

HelesicPetr_1-1700639128931.png

PS> legal value list does not work as @Rocket_Max mentioned.

 

 

 

9-Granite
November 23, 2023

Thank you for the solution.It worked