Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "geocortex/infrastructure/PortalUtils"

Index

Functions

getPortalBaseUrl

  • Gets the Portal base URL.

    Parameters

    Returns string

getPortalIdentity

  • Get a arcgis.com or Portal identity if it exists.

    Parameters

    Returns Identity

getPortalItemUrl

  • Gets the Portal item page URL for the given item id.

    Parameters

    Returns string

getPortalMyContentUrl

  • Gets the Portal My Content page URL.

    Parameters

    Returns string

getPortalUrl

  • Gets the full portal url

    Parameters

    Returns string

hasAccessToPortal

  • Check if the authenticated user has access to Portal.

    Parameters

    Returns boolean

hasCreateContentPrivilege

  • Check if the authenticated user has create content privilege in Portal.

    Parameters

    Returns boolean

hasPublishFeaturePrivilege

  • Check if the authenticated user has publishFeature privilege in Portal.

    Parameters

    Returns boolean

isPortal

  • Return true if an on-prem portal instance, false if AGOL

    Parameters

    Returns boolean