appinfo.json

This file is a required file and includes the configuration metadata needed for the content form.

{    
    "type":"contentform",
    "name":"Sample form",
}
Property Value Required Type
type The component type. For custom content forms, the type is contentform and is the same for all forms. It should not be changed. required string
name Name of the custom content form required string

drawerSize

Size of the drawer in which the custom form will appear. It can be one of the following Oracle Content Management UI's predefined drawer sizes:

Default - Responsive at 90% of window

Full - Responsive at 100% of window

Half - Responsive at 50% of window

Small - Fixed width of 840px, expands/collapses when sidebar opens/closes.

Medium - Fixed width of 1140px, expands/collapses when sidebar opens/closes.

Large - Fixed width of 1296px, expands/collapses when sidebar opens/closes.

When the drawerSize property is not present or when no value is specified, 'Default' will be used.

optional

Default value is

'Default'

string  
create The optional create property can be used to control the behavior of the sidebars while creating content items. The only valid property of the create object is a sidebar object. The valid properties for sidebar are the same as the contentItemCreate sidebar object from the Embed UI API V2 Reference.

A shortcut to disable all the sidebars during create is to provide an empty sidebar object.

create: {
  sidebar: {}
}

As all values are initialized, only the sidebar properties that are changed from the default value of the property need to be supplied in the sidebar object.

optional object
edit The optional edit property can be used to control the behavior of the sidebars while editing content items. The only valid property of the edit object is a sidebar object. The valid properties for sidebar are the same as the contentItemEditor sidebar object from the Embed UI API V2 Reference.

A shortcut to disable all the sidebars during edit is to provide an empty sidebar object.

edit: {
  sidebar: {}
}

As all values are initialized, only the sidebar properties that are changed from the default value of the property need to be supplied in the sidebar object.

optional object
usesCustomEditors Whether the form uses custom field editors. Default is false optional boolean