Skip to content

openFileName

openFileName

Description

Opens a Vablet file by name.

Note: If the file name contains spaces please be sure to replace them with %20

REST Arguments

REST Format: fileName

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 named 'Test File' -->
<!-- Note the use of %20 instead of a space for the file name in the URL -->

<a href="VabletGeneral://openFileName/Test%20File">Open Test File</a>


<!-- Open Vablet file named 'Example' into page 3 and return to caller page 4. -->

<a href="VabletGeneral://openFileName/Example?returnsToCallerOnClose&pageToReturnTo=4&openIntoPage=3">Open File</a>