openFolder
Link Action
openFolder
Description
Opens the specified folder in Vablet.
Note: If the folder name contains spaces please be sure to replace them with %20
REST Arguments
These are optional, and either all must be set or none. These can all be set with parameters
REST Format: folderPath this is the full folder path EX: folder1/folder2/folder3
Optional Parameters
| Parameter | Description |
|---|---|
| backFolderGoesToFileWithName | Back button ALWAYS goes to file with specified name. Ex: you entered into folder1/folder2 and then went into folder1/folder2/folder3. No matter the folder you are in back button always goes to the file specified. |
| backFolderGoesToFileWithNameTopLevelOnly | Back button only goes back to the file if in the folder that was entered from the document. Ex: you entered into folder1/folder2 and then went into folder1/folder2/folder3. You can go back to folder2 then it will go to the file. |
Code Examples
<!-- Open Vablet folder named 'Test Folder' -->
<!-- Note the use of %20 instead of a space for the folder name in the URL -->
<a href="VabletGeneral://openFolder/Test%20Folder">Open Test Folder</a>
<!-- Open Vablet folder named 'Example' forcing back button to always return to file 'Test' -->
<a href="VabletGeneral://openFolder/Example?backFolderGoesToFileWithName=Test">Open Folder</a>
<!-- Open Vablet folder named 'Example' back button will return to file 'Test' when at top level. -->
<a href="VabletGeneral://openFolder/Example?backFolderGoesToFileWithNameTopLevelOnly=Test">Open Folder</a>