For custom fields, if i hide one custom field for a "page" model while setting its default value. In the Visual Editor view for a content page of model "page" , would the field show with it's value in the page's JSON view?

For custom fields, if i hide one custom field “x1” for a “page” model while setting its default value. In the Visual Editor view for a content page of model “page” , would the field “x1” show with it’s value in the page’s JSON view?

Hi, my name is Veronika and I am a Customer Engineer here at Builder.

Yes, if you hide a custom field like “x1” in a page model but set a default value for it, this field and its value will still appear in the page’s JSON data.

Screenshot 2024-10-04 at 7.28.54 AM

Here’s an example with the field testFieldHidden with a default value of defaultValue.

When you mark a field as hidden in the Builder Visual Editor, it just means that the field won’t be visible in the editor interface when content authors are working on that page. However, the field and it’s value are still part of the model’s data structure so they will appear in the JSON.

Here are a few docs that might help: page models and custom fields.

Let me know if you have any other questions,

Thank you!