Skip to content

openFile

openFile

Description

Opens a Vablet file by ID.

REST Arguments

REST Format: fileId

Optional Parameters

Parameter Description
returnsToCallerOnClose Returns to the file that had the link when the called file is closed.
pageToReturnTo Returns to a the specified page in the calling document, used in conjunction with returnsToCallerOnClose. For HTML a hash tag is added to the return URL and javascript can be used to handle that hash tag.
openIntoPage Open the document into the specified page.

Code Examples

<!-- Open Vablet file with fileId 1234 -->

<a href="VabletGeneral://openFile/1234">Open File</a>


<!-- Open Vablet file with fileId 54321 into page 5 and return to caller page 13. -->

<a href="VabletGeneral://openFile/54321?returnsToCallerOnClose&pageToReturnTo=13&openIntoPage=5">Open File</a>