@esri/hub.js
Guides
API Reference
GitHub
Menu
@esri/hub.js
Packages
common
_searchContent
_searchGroups
_searchUsers
addContextToSlug
addDays
addDomain
addSolutionResourceUrlToAssets
addUsersToGroup
applyPropertiesToItems
arrayToObject
autoAddUsers
batch
bBoxToPolygon
buildDraft
buildExistingExportsPortalQuery
camelize
canEditEvent
canEditItem
canEditSite
canEditSiteContent
capitalize
chunkArray
clearSession
cloneObject
completeOAuth2
compose
composeContent
constructSlug
convertSolutionTemplateResourcesToAssets
convertToWellKnownLocale
convertUrlsToAnchorTags
createExtent
createId
createModel
createOperationPipeline
createProject
dasherize
datasetToContent
datasetToItem
deepFind
deepFindById
deepSet
deepStringReplace
deleteProp
destroyProject
doesItemExistWithTitle
domainExists
domainExistsPortal
emailOrgUsers
ensureProp
ensureUniqueDomainName
ensureUniqueString
expandContentFilter
expandGroupFilter
expandUserFilter
extend
extentToBBox
failSafe
failSafeUpdate
fetchAllPages
fetchAndUploadResource
fetchAndUploadThumbnail
fetchHubTranslation
fetchImageAsBlob
fetchModelFromItem
fetchProject
fetchSite
filterBy
findBy
findItemsBySlug
flattenArray
generateRandomString
getAdditionalResources
getAdditionalResourceUrl
getCategory
getCollection
getContentBoundary
getContentIdentifier
getContentSiteUrls
getContentTypeIcon
getContentTypeLabel
getCulture
getDomainsForSite
getFamily
getGeographicOrgExtent
getGroupThumbnailUrl
getHubApiFromPortalUrl
getHubApiUrl
getHubApiUrlFromPortal
getHubLocaleAssetUrl
getHubProduct
getHubRelativeUrl
getHubUrlFromPortal
getInputFeatureServiceModel
getItemApiUrl
getItemAssets
getItemBySlug
getItemDataUrl
getItemHomeUrl
getItemHubId
getItemHubType
getItemLayerId
getItemSpatialReference
getItemThumbnailUrl
getLayerIdFromUrl
getMetadataPath
getModel
getModelBySlug
getModelFromOptions
getNextFunction
getOrgExtentAsBBox
getPortalApiUrl
getPortalBaseFromOrgUrl
getPortalUrl
getPortalUrls
getProp
getProps
getProxyUrl
getServerSpatialReference
getServiceTypeFromUrl
getSession
getSiteById
getSourceFeatureServiceModelFromFieldworker
getStakeholderModel
getStructuredLicense
getSubscriptionType
getSurveyModels
getTypeCategories
getTypes
getUniqueDomainName
getUniqueDomainNamePortal
getUniqueItemTitle
getUniqueSlug
getUserThumbnailUrl
getValueFromMetadata
getWithDefault
hasBasePriv
hubApiRequest
hubApiSearch
includes
incrementString
interpolate
interpolateItemId
inviteUsers
isBBox
isDataSourceOfItem
isDomainForLegacySite
isDomainUsedElsewhere
isDownloadable
isExtentCoordinateArray
isFeatureService
isFieldworkerView
isGuid
isMapOrFeatureServerUrl
isNil
isPageType
isPortal
isProxiedCSV
isSlug
isUpdateGroup
isValidDomain
isValidExtent
itemToContent
last
lookupDomain
mapBy
mapModelToObject
mapObjectToModel
maybeAdd
maybePush
mergeContentFilter
mergeGroupFilters
mergeObjects
mergeUserFilters
normalizeItemType
normalizeSolutionTemplateItem
objectToArray
objectToJsonBlob
parseDatasetId
parseISODateString
processRevertableTasks
propifyString
removeContextFromSlug
removeDomain
removeDomainsBySiteId
removeEmptyProps
replaceItemId
runRevertableTask
saveSession
searchProjects
serializeModel
serializeSpatialReference
setContentBoundary
setContentHubId
setContentSiteUrls
setContentType
setItemThumbnail
setProp
setSlugKeyword
shareItemToGroups
slugify
stringToBlob
stripProtocol
unique
uniqueBy
unprotectModel
unshareItemFromGroups
updateDomain
updateModel
updateProject
upgradeProtocol
upgradeSiteSchema
uploadResourcesFromUrl
without
withoutByProp
ArcGISContext
ArcGISContextManager
Hub
HubError
HubProjectManager
Logger
OperationError
OperationStack
PropertyMapper
RemoteServerError
categories
collections
GLOBAL_EXTENT
HUB_CDN_URLMAP
PORTAL_EXPORT_TYPES
SEARCH_APIS
HUB_LOCALES
HUB_PROJECT_ITEM_TYPE
itemPropsNotInTemplates
REQUIRED_PRIVS
SITE_SCHEMA_VERSION
STANDARD_LICENSES
WGS84_WKID
DatePrecision
Level
UpdateFrequency
AccessControl
BBox
DatasetResource
Filter
FilterType
GenericAsyncFunc
GeographyProvenance
HubFamily
HubProduct
HubType
IBatch
IBatchTransform
IBBox
IItemTemplate
IRevertableTaskResult
NamedApis
NamedContentFilter
PipelineFn
SearchableType
SearchFunction
Visibility
IActionLink
IAddMemberContext
IAnyFilterDefinition
IApiDefinition
IArcGISContext
IArcGISContextManagerOptions
IArcGISContextOptions
IAuthenticatedHubSearchOptions
ICatalog
ICollection
IComposeContentOptions
IConsolidatedResult
IContentEnrichments
IContentFilter
IContentFilterDefinition
IContentSearchResult
IDateRange
IDomainEntry
IDraft
IEmail
IEnrichmentErrorInfo
IEventFilterDefinition
IEventModel
IFacet
IFacetOption
IFilterTypeMap
IGetGroupSharingDetailsResults
IGetSurveyModelsResponse
IGroupFilterDefinition
IGroupSearchResult
IHubAdditionalResource
IHubContent
IHubContentEnrichments
IHubEntityBase
IHubEntityManager
IHubEvent
IHubGeography
IHubImage
IHubImageOptions
IHubInitiative
IHubItemEntity
IHubItemEntityManager
IHubLayout
IHubOptions
IHubPage
IHubProject
IHubRequestOptions
IHubRequestOptionsPortalSelf
IHubResource
IHubSearchOptions
IHubSite
IHubStage
IHubTeam
IHubTimeline
IHubUser
IHubUserRequestOptions
IInitiativeItem
IInitiativeModel
IInitiativeModelTemplate
IItemEnrichments
IItemResource
IMatchOptions
IMetadataPaths
IModel
IModelTemplate
IOperation
IPipeable
IPropertyMap
IRelativeDate
IRevertableTaskFailed
IRevertableTaskSuccess
ISearchResponse
ISerializedOperationStack
IServerEnrichments
ISimpleResult
ISiteCatalog
ISolutionTemplate
ISortOption
IStructuredLicense
ITemplateAsset
IThumbnailOptions
IUpdatePageOptions
IUpdateSiteOptions
IUserFilterDefinition
IWellKnownApis
IWellKnownContentFilters
IWithBannerImage
IWithBannerImageStore
IWithLayout
IWithLayoutStore
IWithSlug
content
enrichContent
fetchEnrichments
getContent
getContentFromHub
getContentFromPortal
getContentMetadata
getLayerContent
getPortalUrls
parseISODateString
withPortalUrls
UpdateFrequency
IEnrichContentOptions
IFetchEnrichmentOptions
IGetContentOptions
discussions
apiRequest
authenticateRequest
canCreateChannel
canCreateReaction
canDeletePost
canModifyChannel
canModifyPost
canPostToChannel
canReadFromChannel
createChannel
createPost
createReaction
createReply
fetchChannel
fetchPost
isChannelInclusive
isDiscussable
isOrgAdmin
parseDiscussionURI
reduceByGroupMembership
removeChannel
removePost
removeReaction
request
searchChannels
searchPosts
updateChannel
updatePost
updatePostSharing
updatePostStatus
RemoteServerError
ChannelFilter
ChannelRelation
ChannelSort
CommonSort
DiscussionSource
DiscussionType
PostReaction
PostRelation
PostSort
PostStatus
ReactionRelation
SharingAccess
SortOrder
IChannel
ICreateChannel
ICreateChannelOptions
ICreateChannelPost
ICreatePost
ICreatePostOptions
ICreateReaction
ICreateReactionOptions
ICreateReplyOptions
IDiscussionParams
IFetchChannel
IFetchChannelOptions
IFetchPost
IFetchPostOptions
IHubRequestOptions
IPagedResponse
IPlatformSharing
IPost
IReaction
IRemoveChannelOptions
IRemoveChannelResponse
IRemovePostOptions
IRemovePostResponse
IRemoveReactionOptions
IRemoveReactionResponse
ISearchChannels
ISearchChannelsOptions
ISearchPosts
ISearchPostsOptions
IUpdateChannel
IUpdateChannelOptions
IUpdatePost
IUpdatePostOptions
IUpdatePostSharing
IUpdatePostSharingOptions
IUpdatePostStatus
IUpdatePostStatusOptions
IWithAuthor
IWithEditor
IWithFiltering
IWithSettings
IWithSharing
IWithSorting
IWithTimeQueries
IWithTimestamps
downloads
pollDownloadMetadata
requestDatasetExport
requestDownloadMetadata
DownloadFormats
DownloadStatus
DownloadFormat
DownloadStatuses
DownloadTarget
IDatasetExportRequestParams
IDatasetExportResult
IDownloadMetadataRequestParams
IDownloadMetadataResults
IPollDownloadMetadataRequestParams
IPoller
events
addUsersToEvent
getEventFeatureServiceUrl
getEventQueryFromType
getEventServiceItem
getEventServiceUrl
registerForEvent
searchEvents
unregisterForEvent
IEventRegisterOptions
IEventResourceObject
search
agoSearch
convertHubResponse
convertPortalResponse
convertToHubParams
convertToPortalParams
flattenCategories
isFilterAnArrayWithData
isFilterANonEmptyString
isFilterFieldADateRange
kMerge
mergeAggregations
mergePages
processPage
searchContent
searchDatasets
serialize
BinaryHeap
ContentSearchService
InvalidPaginationInputError
IBooleanOperator
SortDirection
IAggregation
IAggregationResult
IContentAggregations
IContentFieldFilter
IContentSearchFilter
IContentSearchOptions
IContentSearchRequest
IContentSearchResponse
IDateRange
IFieldFilter
IHubResult
IHubResults
ISearchParams
ISearchRequest
ISearchService
ISearchServiceParams
sites
_getSharingEligibleModels
applyDraft
convertCard
convertLayoutToTemplate
convertPageToTemplate
convertRow
convertSection
convertSiteToTemplate
createPage
createPageModelFromTemplate
createSite
createSiteModelFromTemplate
deleteDraft
ensureOptionalGroupsTemplating
ensurePageHasSiteEntry
ensureRequiredPageProperties
ensureRequiredSiteProperties
extractAssets
fetchAndApplyDraft
fetchDraft
getCardDependencies
getDataForSiteItem
getDomain
getDomains
getDraftDate
getLayoutDependencies
getMembers
getPageDependencies
getPageEditUrl
getPageItemType
getPortalSiteHostname
getPortalSiteUrl
getRowDependencies
getSectionDependencies
getSiteDependencies
getSiteEditUrl
getSiteItemType
getTheme
hasUnpublishedChanges
interpolateSite
isPage
isSite
linkSiteAndPage
markPublished
markUnpublished
registerBrowserApp
registerSiteAsApplication
removePage
removeSite
removeSiteFromPage
removeUnusedResources
saveDraft
savePublishedStatus
shareItemsToSiteGroups
siteSecondPass
unlinkPagesFromSite
unlinkSiteAndPage
updateAppRedirectUris
updatePage
updateSite
updateSiteApplicationUris
upgradeDraftSchema
DEFAULT_THEME
DRAFT_RESOURCE_REGEX
PAGE_DRAFT_INCLUDE_LIST
PAGE_TEMPLATE_KEYWORD
PAGE_TYPE_KEYWORD
SITE_DRAFT_INCLUDE_LIST
SITE_UI_VERSION
UNPUBLISHED_CHANGES_KW
ICard
IEntry
IHubSiteTheme
ILayout
IRow
ISection
ISettings
ITemplatizedCard
ITemplatizedLayout
ITemplatizedRow
ITemplatizedSection
surveys
getDetailedSurveyStatus
getGroupSharingDetails
getSurveyStatus
getSurveyStatusFromSchedule
isDraft
isPublished
migrateFormPropertiesSettings
setAccess
setAccessRevertable
shareWithGroup
shareWithGroupRevertable
shouldDisplayResults
unshareWithGroup
unshareWithGroupRevertable
ISurveyStatus
IFormItem
IFormItemProperties
IStakeholderItem
ISurveyFormJson
ISurveySchedule
teams
addOrInviteUsersToTeam
addOrInviteUsersToTeams
addUsersToTeam
applyPrivPropValuesToTemplate
canEditTeam
canUserCreateTeam
canUserCreateTeamInProduct
createHubTeam
createHubTeams
doesGroupExist
getAllowedGroupAccess
getTeamById
getTeamMembers
getTeamPropertiesMapForProduct
getTeamsAvailableInProduct
getTeamsForProduct
getTeamStatus
getTeamTemplate
getTeamTypesAvailableInProduct
getUniqueGroupTitle
getUserCreatableTeams
hasAllPrivileges
removeInvalidPrivs
removeTeam
removeTeamFromItems
removeUsersFromTeam
removeUsersFromTeams
searchTeamContent
searchTeamMembers
teamsToAddUsersTo
updateTeam
updateUserMembership
GROUP_ACCESS_PRIVS
TYPEMAP
TEAMTYPES
WELLKNOWNTEAMS
AGOAccess
HubProduct
HubTeamType
IAddOrInviteContext
IAddOrInviteEmail
IAddOrInviteResponse
IAddOrInviteToTeamResult
IGroupTemplate
IPrivPropValues
ITeamsStatus
ITeamStatus
IUserOrgRelationship
IUserWithOrgType
isPageType
Function
isPageType
(
type:
string
) :
boolean
Parameters
Parameter
Type
Default
Notes
type
Required
string
Returns
boolean
Function defined in
common/src/content/_internal.ts:130