getEditorSchemas

Function

get the editor schema and uiSchema defined for an editor (either an entity or a card). The schema and uiSchema that are returned can be used to render a form UI (using the configuration editor)

Parameters

Parameter Type Default Notes
i18nScope Required string

translation scope to be interpolated into the uiSchema

type Required EditorType

editor type - corresonds to the returned uiSchema

options Required EditorOptions

optional hash of dynamic uiSchema element options

context Required IArcGISContext

Returns

Promise<IEditorConfig>
Property Type Notes
schema IConfigurationSchema
uiSchema IUiSchema
defaults Optional IConfigurationValues

Function defined in common/src/core/schemas/internal/getEditorSchemas.ts:41