getEntityEditorSchemas

Function

get the editor schema and uiSchema defined for an entity. 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

entity Required ConfigurableEntity
context Required IArcGISContext

Returns

Promise<IEditorConfig>
Property Type Notes
schema IConfigurationSchema
uiSchema IUiSchema

Function defined in common/src/core/schemas/internal/getEntityEditorSchemas.ts:38