You can have an individual app menu within your Purple DS App. You can find a sample file for dynamic content in the Purple DS Manager. 
Dynamic content contains the app menu file and in addition can include individual HTML pages for subscriptions, feedback e-mail configuration files, news feed configuration files etc. The set up of dynamic content is described here.

The upload of the dynamic content ZIP file is explained here.

If you want to create a multi-language app please check Internationalization for dynamic content.


You can add more to the app menu file, e.g. links to HTML content in the ZIP file or external websites.

A single entry of the app menu will look like following in app_menu.xml (see attached file):

 

<navigationNode targetURL="purple://kiosk/feed/open"> 
        <title>Newsfeed</title> 
        <iconURL>feed.png</iconURL>

</NavigationNode>


  • The "navigationNode" contains the Purple DS Action URL. You can trigger a specific event with it. In this sample, the first newsfeed of the app will be opened.
  • The "title" contains the text that will be visible as the entry of the app, here " Newsfeed ".
  • The "iconURL" links to the icon images for this entry which is part of the ZIP file. If this entry is empty, no icon will be visible. For the best visual results each icon has to be added in three sizes:
    •  40x40 px
    • 80x80 px
    • 120x120px. 
      The files have to named as follows. So that the XML file will show them correctly: feed.png(40x40 px), feed@2x.png (80x80 px) and feed@3x.png (120x120 px).


More samples for in the app menu: 


With this Action URL the newsstand will be opened:
         <navigationNode targetURL="purple://kiosk/open"> 
            <title> Library </title> 
                <iconURL> kiosk.png </iconURL> 
        </navigationNode>


With this Action URL the bookmarks overview will be opened:
         <navigationNode targetURL="purple://app/bookmarks/open"> 
            <title> Bookmarks </title> 
            <iconURL> fav.png </iconURL> 
        </navigationNode> 

This Action URL will open the HTML page which is saved to the "sample/index.htmlfolder in the ZIP file.       

        <navigationNode targetURL="purple://app/resource/dynamic/sample/index.html" iconURL = ""> 
            <title> Embedded HTML </title> 
            <iconURL> web.png </iconURL> 
        </navigationNode>


With this Action URL an external website will be opened. You can add attributes in order to open the link in an additional tab of the InApp browser or open it in an external (system) browser. For more information please read here under "Purple Elements".

        <navigationNode targetURL="http://www.sprylab.com"> 
            <title> Website </title> 
            <iconURL> web.png </ conURL> 
        </navigationNode>

       

With this Action URL the sharing menu will be opened. The feature "sharing", eg e-mail, SMS, messenger app.

        <navigationNode targetURL="purple: //app/share_app_or_issue"> 
            <title> Share App / Issue </title> 
            <iconURL> share.png </iconURL> 
        </navigationNode>