getCardEditorSchemas

Function

get the editor schema and uiSchema defined for a layout 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 CardEditorType

editor type - corresponds to the returned uiSchema

options Required CardEditorOptions

optional hash of dynamic uiSchema element options

context Required IArcGISContext

Returns

Promise<IEditorConfig>
Property Type Notes
schema IConfigurationSchema
uiSchema IUiSchema

Function defined in common/src/core/schemas/internal/getCardEditorSchemas.ts:24