Asset/app links are URLs to a piece of content, a folder or a channel in Showpad. You can use them in any type of document, as long as you make sure you export the document as a PDF file or an HTML web app. These links are convenient for linking content from an asset or an HTML app to another asset. You can also add optional parameters to the link to access a particular page in an asset.
When users click the link in the document, they will be redirected to the Showpad file. To display the file, the user must have access to the channel the file is located in.
In this example, we will create an asset link to another asset in Showpad and add it to a:
Step by step:
First, we will copy the asset URL from the asset we want to link to. We can also add (optional) parameters from the Showpad URL scheme.
- Click Content in the top menu.
- Select the asset you want to get the asset URL from.
- Click the More button in the asset information panel.
- Copy the URL in the App link to this file field.
(Right click and select Copy, or use CTRL+C on Windows or CMD+C on a Mac.)
- If necessary, add optional parameters to the URL with the Showpad URL scheme and copy the entire URL to your clipboard.
Example of parameters: showpad://file/2301534669417573d1e5e11152c53c97?modal=1&page=5 will open page 5 of our PDF document. It will be displayed in a modal way, meaning it will slide over the currently active asset as a pop-up. Closing the page will take you back to the active asset.
Links to folders and channels are created in a similar way. In those cases, only the (optional) modal parameter is available when using a Showpad URL scheme.
You can create the channel or folder links in the Channel builder:
Insert the (asset) URL into a PDF file.
We will use the asset URL in a PDF file and upload it to Showpad. Note that you can add a link to an external website as well, using the same procedure.
In our example, When someone opens the link in the uploaded PDF file, page 5 of the other linked PDF will open in modal mode.
- Open the PDF file in Acrobat Pro.
- Copy the asset link you created.
- In Acrobat Pro, select Tools and click Edit PDF.
- Select Link and Add/Edit Web or Document Link.
- Select the region in the document you want to link. This will open the Link Properties.
- As a Link Action, select Custom link and click Next.
- Select the Actions tab and click Open a web link.
- Click Add and paste the asset URL for this link. In this example, we're linking to page 5 in modal mode. You can add ?modal=1&page=5 to add these properties. If you just want to link the document, you don't need to use the page or modal parameters. Click OK twice to exit.
- Save the PDF document.
- Upload the PDF to Showpad. Make sure the user has access to the Channel that contains these files. When the user taps the link in the PDF file, the other PDF document opens on page 5.
If you want to use asset links or any other links in a Microsoft Office document, be aware that any type of link will be removed if you upload that document to Showpad. .docx, .xlsx, .pptx documents are flattened to a PDF so it can be displayed in the Showpad app. Find out more about how Showpad handles Microsoft Office files.
After exporting the file as a PDF, you'll need to edit the file in Acrobat Pro. When working with Powerpoint files, you can also use iSpring to convert files to an HTML app and include the asset links in the code of the generated HTML file.
- Open your Powerpoint (.pptx) file.
- Print and save the .pptx file as a PDF file. This is very important, as uploading a .pptx file directly to Showpad will remove any links, macros or animations.
- Open the file in Acrobat Pro and follow the same instructions as the PDF example.