Function importApp

  • Imports an app into the system.

    Parameters

    • query: {
          appId?: string;
          fallbackName?: string;
          fileId?: string;
          mode?: string;
          name?: string;
          NoData?: boolean;
          spaceId?: string;
      }

      an object with query parameters

      • OptionalappId?: string

        The app ID of the target app when source is qvw file.

      • OptionalfallbackName?: string

        The name of the target app when source does not have a specified name, applicable if source is qvw file.

      • OptionalfileId?: string

        The file ID to be downloaded from Temporary Content Service (TCS) and used during import.

      • Optionalmode?: string

        The import mode. In new mode (default), the source app will be imported as a new app.

        The autoreplace mode is an internal mode only and is not permitted for external use.

        One of:

        • NEW
        • AUTOREPLACE
      • Optionalname?: string

        The name of the target app.

      • OptionalNoData?: boolean

        If NoData is true, the data of the existing app will be kept as is, otherwise it will be replaced by the new incoming data.

      • OptionalspaceId?: string

        The space ID of the target app.

    • body: BodyInit

      an object with the body content

    • Optionaloptions: ApiCallOptions

    Returns Promise<ImportAppHttpResponse>

    ImportAppHttpError