getAddContentConfig

Function

Get the add content configuration, given nothing, or a catalog or query. Delegates to the appropriate function based on the type of the input.

Parameters

Parameter Type Default Notes
context Required IArcGISContext
catalogOrQuery Optional IQuery | IHubCatalog

Returns

Property Type Notes
state "enabled" | "disabled"
create Optional IAddContentCreateWorkflowConfig
existing Optional IAddContentExistingWorkflowConfig
reason Optional "no-permission" | "not-in-groups" | "invalid-object" | "too-many-groups" | "unsupported-target-entity"
upload Optional IAddContentUploadWorkflowConfig

Function defined in common/src/search/getAddContentConfig.ts:32