Function addFeatureServiceDefinitionPrivate

  • Private

    Updates a feature service with a list of layers and/or tables.

    Parameters

    • serviceUrl: string

      URL of feature service

    • listToAdd: any[]

      List of layers and/or tables to add

    • templateDictionary: any

      Hash mapping Solution source id to id of its clone (and name & URL for feature service)

    • authentication: UserSession

      Credentials for the request

    • key: string
    • adminLayerInfos: any

      Hash map of a layers adminLayerInfo

    • fieldInfos: any

      Hash map of properties that contain field references

    • itemTemplate: IItemTemplate

    Returns Promise<void>

    A promise that will resolve when the feature service has been updated