hubItemEntityFromEditor

Function

Convert editor values back into an IHubItemEntity, performing any pre-save operations/XHRs/transforms.

Convert editor values back into an IHubItemEntity, performing any pre-save operations/XHRs/transforms.

Parameters

Parameter Type Default Notes
editor Required IHubItemEntityEditor<IHubItemEntity>

the editor object to convert

context Required IArcGISContext

contextual portal & auth information

Returns

Promise<{
_catalog:
Catalog
entity:
IHubItemEntity
thumbnailCache:
{
clear:
boolean
file:
Blob
filename:
string
}
}>

Function defined in common/src/core/_internal/hubItemEntityFromEditor.ts:21