Custom Apps : App Specification Reference : <presto-meta> : Toolbar Button Flags
Toolbar Button Flags
You can alter the following <presto-meta> elements that define visibility for two buttons in the app title bar:
*<presto-meta name="presto.allowOpenNewWindow" type="text">: this controls visibility for the Open in New Window toolbar button for the app.
See Title Bars and Toolbar Buttons in Apps for more information.
*<presto-meta name="presto.shareable" type="text">: this controls the visibility for the Share Menu toolbar button for the app.
See Title Bars and Toolbar Buttons in Apps for more information
The value for these flags can be true or false. For example:
<app id="NotShareable" name="Not Shareable App"
jsclass="MyOrg.NotShareable" height="200" width="200"
draggable="false" minimizable="false">
<title>Not Shareable App</title>
...
<presto-meta name="presto.shareable" type="text">false</presto-meta>
...
<requires>
<require src="js/app.js" type="script"/>
<require src="css/app.css" type="css"/>
<require src="html/app.html" type="html"/>
</requires>
</app>
Copyright © 2006-2015 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback