evCreate API 5.7 Help

OpenInNewTab Function

Opens an Envision document located on the Canvas Envision Portal cloud solution in a new browser tab with the Canvas Envision Creator web app.

OpenInNewTab(file?: [[[EvCloudFile|evcloudfile-interface.html]]]): Promise<undefined | [[[EvCloudFile|evcloudfile-interface.html]]]>

Parameters

file?: EvCloudFile

An EvCloudFile object with the location of an opened .evdoc file on the Canvas Envision Portal cloud solution. If it is not given, a dialog pops up to search for and select the file.

Return value

Promise<undefined | EvCloudFile>

A Promise that, if fulfilled, resolves to either:

  • undefined: the file-opening operation has been canceled or failed. However, an error is thrown in most error cases.

  • EvCloudFile: an object with the location of the successfully opened file.

11 February 2025