• Publishes an item and its data as an AGOL item.

    Parameters

    • itemInfo: any

      Item's item section

    • dataInfo: any

      Item's data section

    • authentication: UserSession

      Credentials for the request

    • folderId: string

      Id of folder to receive item; null indicates that the item goes into the root folder; ignored for Group item type

    • access: string = "private"

      Access to set for item: "public", "org", "private"

    Returns Promise<ICreateItemResponse>

    A promise that will resolve with an object reporting success and the Solution id