getAddContentConfig
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 |
---|---|---|
"enabled" | "disabled" | ||
Optional | IAddContentCreateWorkflowConfig | |
Optional | IAddContentExistingWorkflowConfig | |
Optional | "no-permission" | "not-in-groups" | "invalid-object" | "too-many-groups" | "unsupported-target-entity" | |
Optional | IAddContentUploadWorkflowConfig |
Function defined in common/src/search/getAddContentConfig.ts:32