Function _handleExistingItemsPrivate

  • Private

    Optionally search by tags and then update the templateDictionary based on the search results

    Parameters

    • existingItemsResponse: any[]

      response object from search by typeKeyword and type

    • existingItemInfos: IFindExistingItemInfos[]
    • templateDictionary: any

      Hash of facts: org URL, adlib replacements, deferreds for dependencies

    • authentication: UserSession

      Credentials for the request

    • addTagQuery: boolean

      Boolean to indicate if a search by tag should happen

    Returns common.IFindExistingItemsResponse

    IFindExistingItemsResponse object with promise that will resolve with an array of results and an array of item ids