createServerContent
Creates server content without actually opening the file. A callback event GUI_CreationComplete
returns the XML file for the content once the process is complete.
Syntax
RxCore.createServerContent(fileurl)
Parameters
fileurl
: string | object — URL or full server-side Windows path to a file to open in the viewer. If an object is provided, it should have the following properties:fileurlobj.filepath
: string — URL or path of the file to open.fileurlobj.mime
: string — MIME type for the file to open ornull
.fileurlobj.cacheid
: string — Unique name for the cache entry ornull
.fileurlobj.displayname
: string — Display name for the document file ornull
.
Returns
- NA — This method does not return a value.