• Preparing search index...
  • The search index is not available
@esri/solution.js
  • @esri/solution.js
  • common/src
  • copyDataIntoItem

Function copyDataIntoItem

  • copyDataIntoItem(fileInfo, sourceAuthentication, destinationItemId, destinationAuthentication): Promise<IAssociatedFileCopyResults>
  • Copies data into an AGO item.

    Parameters

    • fileInfo: IAssociatedFileInfo

      Information about the source and destination of the file such as its URL, folder, filename

    • sourceAuthentication: UserSession

      Credentials for the request to the source

    • destinationItemId: string

      Id of item to receive copy of resource/metadata/thumbnail

    • destinationAuthentication: UserSession

      Credentials for the request to the storage

    Returns Promise<IAssociatedFileCopyResults>

    A promise which resolves to the result of the copy

    • Defined in packages/common/src/resources/copyDataIntoItem.ts:33

Settings

Member Visibility

Theme

@esri/solution.js
  • Loading...

Generated using TypeDoc