Deep Link to Another Native App from Within Staffbase
Linking to external websites or even web-applications from the content within Staffbase is easy. Normal links lead users to a website or web app. To create normal linking, editors need to only provide the URL to the website content. Deep links on the other hand lead users to a native app. However, to generate the deep links to an app, you need to define certain parameters.
Parameter | Description |
---|---|
target-app | The URL scheme of the app, including the path to a specific page. For example, target-app:// or target-app://module/example |
ios-store-link | The link to download the target app from the Apple App Store. optional |
android-store-link | The link to download the target app from the Google Play Store. optional |
custom-install-link | The link to download the target app from the download page if the target app is not available in the public app stores. optional |
web-link | The link to open the web app. optional |
Based on the parameters you define in deep links, there are two types of deep links:
You can create a deep link by defining the deep link query parameters.
Prerequisites:
If the target app to which you want to deep link does not already have a custom URL scheme and a web URI intent defined, you can define them for the app.
Add the parameter values within the quotes based on the type of deep link you want to generate.
Execute the code in the console and retrieve the deep link.
You have generated the deep link. Now you can provide the deep link to editors of a news channel or a page in the Staffbase Studio.
Make sure to use the following link attribute class=“default-link-handling” in order to have it handled by the device itself that will actually open the other app. When you are using our Links Plugin or Launchpad, make sure the link opens externally.
Google Apps (target app)
googlesheets://
googledocs://
googleslides://
googledrive://
googlegmail://
googlecalendar://
Microsoft Teams (target app, store links and web link)
Salesforce (target app, store links and web link)
Workday (target app, store links and web link)