What's in it for you
You can use URL schemes to point to other channels, assets, and folders.
The available parameters
The following URL schemes are supported in the mobile apps:
URL | Optional parameters | Description |
showpad://file/[file-id] | • page • modal |
Opens the specified file. If the file is located in another Channel, you will jump to that other profile (unless the "modal=1" parameter is used). If the same file exists at multiple locations in different profiles, the app will start looking in the current profile first before moving on to another profile. |
showpad://profile/[profile-id] | Opens the specified Channel. | |
showpad://folder/[folder-id] | • page | Opens a folder, possibly in another Channel. You can optionally add the "page" parameter to open a file at a certain position in that folder. F.i. "page=1" would open the first file in that folder. |
showpad://folder/[folder-id]/file/[file-id] | • page • modal |
Opens a file in a specific folder. Beware that when you add the "modal=1" parameter, you will go back to the original context when the file is closed. |
This article shows you where to get the file ID.
Optional GET parameters:
• page: integer, 1-based
Use this to open a specific page in a PDF document or to open a file at a certain position in a folder.
• modal: boolean, 1 or 0
Use this to open a file in modal mode. This means it will be opened on top of the current context, so closing the file brings you back to the original context. Default value: 1.
The GET parameters are to be added after the first part of the URL, preceded by "?". If you want to use more than one GET parameter, just join them with an "&".
Example:
showpad://file/78548788556b599d4977a7d58f70aa84?modal=1&page=5
This will open the file with ID 78548788556b599d4977a7d58f70aa84 in a modal window on Page 5.
3 example scenarios:
- URL refers to an asset in another classic folder: modal=0.
You end up in the folder where the target asset is. - URL refers to an asset on a page: modal=0.
You end up in the folder where the page that contains the asset is. - URL refers to an asset in an Advanced Experience: modal=1. Y
ou end up in the folder where the URL is located.