Function createItemTemplatePrivate

  • Private

    Creates template for an AGO item and its dependencies

    Parameters

    • solutionItemId: string

      The solution to contain the item

    • itemId: string

      AGO id string

    • templateDictionary: any

      Hash of facts

    • srcAuthentication: UserSession

      Credentials for requests to source items

    • destAuthentication: UserSession

      Authentication for requesting information from AGO about items to be included in solution item

    • existingTemplates: IItemTemplate[]

      A collection of AGO item templates that can be referenced by newly-created templates

    • itemProgressCallback: IItemProgressCallback

    Returns Promise<ISourceFile[]>

    A promise which resolves with an array of resources for the item and its dependencies