Skip to main content
Answer

How to set a default value for item class attributes?

  • April 6, 2024
  • 1 reply
  • 397 views

Each item class has attributes and I would like to set it so that when I add a new item and select a specific item class, the attributes have default values ​​automatically. I'm mainly concerned about the checkbox, one of the attributes has a type Checkbox and when I add a new item of a certain item class, the checkbox is by default without a checkmark in it. But I want it to be checked by default. Can someone tell me how to achieve this?
 

 

Best answer by Laura03

Hello @Kalinowska ,

I believe customization is needed to add a default value to an Attribute field.

I found a previous post answered by Naveen that describes how to add a default to an attribute and provides code snippets:

Laura

1 reply

Laura03
Captain II
Forum|alt.badge.img+19
  • Captain II
  • Answer
  • April 7, 2024

Hello @Kalinowska ,

I believe customization is needed to add a default value to an Attribute field.

I found a previous post answered by Naveen that describes how to add a default to an attribute and provides code snippets:

Laura