You can save folders containing HTML content in the dynamic content, which is then available offline in the app. For example, you can use it to design your legal notice or FAQ page as an HTML page. Additionally, you can create and reference folders for the login to entitlement or subscriptions pages.
Learn more about using Custom UI.
The link in the Purple DS Manager or the item of the app_menu.xml should be:
purple: // app / resource / dynamic /<PATH> (Path to HTML file within the dynamic content of the app)
Optionally you can add the following parameters:
The parameters give detailed options how HTML content should be displayed in the app. They are particularly suitable for content that is stored within the dynamic content. For opening HTML in an external browser (as Safari or Chrome), see Embedding HTML.(It is important whether the action URL is entered in the manager or encoded in the app_menu.xml- encoded according to XML standard!)
- Manager: purple: // app / resource / dynamic /
<PATH>
?
display_mode=
<VALUE>
&titlebar=
<VALUE>
&controls=
<VALUE>
app_menu.xml (& encoded to & ): purple: // app / resource / dynamic /<PATH>
?
display_mode=
<VALUE>
&titlebar=
<VALUE>
&controls=
<VALUE>
Query-Parameter | Values | Effekt |
---|---|---|
display_mode |
| app menu available (default) no app menu available |
title_bar |
| show title bar (default) no title bar |
controls |
| show navigation controls no navigation controls (default) |
Hints:
- These parameters can also be used for links to websites, e.g.
https://www.sprylab.com?display_mode=<VALUE>&title_bar=<VALUE>&controls=<VALUE> - "modal" opens the corresponding link as an overlay of the previously visible content. With "Done" (top left instead of the burger menu) you get back to the previous view.
- If the title bar is hidden (="false") neither a burger menu nor "Done" is displayed.
On iOS you can't go back to the previous view without a link within the HTML/website.
On Android you can go back to the previous view with the "Back" button.
The following screenshot shows the different options, activated and visible:
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article