Custom Apps : App Specification Reference : <app>
<app>
The root element of an app specification.
Can Contain
Attributes
Name
Required
Description
abouturi
A URL to information provided by the developer about this app.
autorefresh
Determines whether a basic or custom app should automatically refresh data (true) at a specific interval. This defaults to false. See also refreshinterval.
Custom apps must also implement a handler method for refreshes. See Enable User-Initiated or Automatic Refreshes for more information.
debug
Determines whether logged messages display in the console of browser developer tools when the app is run. This defaults to false.
Developers may set this flag to false in the App Specification or use this as an app parameter in the app URL.
height
The default height, in pixels, to render this app or auto. Defaults to auto.
This attribute is only used when the containing page for the app does not specify or control the dimension of the space where the app is rendered. For more information, see App Dimensions and Resizing.
hideheader
Determines whether the title bar displays for this app (false). Set to true to hide the title bar.
The title bar contains the app title and may also contain toolbar buttons based on configuration for the app. See Title Bars and Toolbar Buttons in Apps for more information.
hideinputs
Determines whether the input form, if any, for this app opens initially when the app opens (false). The input form may still be accessible to users in a toolbar button in the app title bar or through other user interface widgets provided by the container where the app is published.
This attribute defaults to false.
Note:  
This attribute has no effect for basic apps that have configured the input form as a view.
id
Unique identifier assigned by MashZone NextGen when the app is created. This is read-only and cannot be changed.
name
yes
The name for this app. MashZone NextGen uses the app name to assign a unique identifier to the app. App names can contain characters from the character sets supported by theMashZone NextGenRepository, numbers, spaces, tabs, line ends and these common symbols: _ ~ - * ' .
jsclass
The constructor function for the optional JavaScript class for this app. Apps are not required to define a Javascript class with a constructor unless the app should be initialized after the page is ready.
Initializing the app after the page is ready can ensure that specific properties or objects are available.
refreshinterval
How frequently, in seconds, a basic or custom app should automatically refresh data. This defaults to zero. If set to a number greater than zero, autorefresh is treated as true.
Custom apps must also implement a handler method for refreshes. See Enable User-Initiated or Automatic Refreshes for more information.
sandbox
Determines whether this app should be rendered in a secure mode (true). This is false by default.
Note:  
This property only applies to apps when they are used in Mashboard, SharePoint or embedded in HTML pages, wikis or other environments.
In secure mode, the app runs inside an <iframe> to isolate the app from effects from other objects in the containing page and vice versa.
singleton
This is reserved for future use.
version
The version of this app. This is informational only.
width
The default width, in pixels, to render this app or auto. Defaults to auto.
This attribute is only used when the containing page for the app does not specify or control the dimension of the space where the app is rendered. For more information, see App Dimensions and Resizing.
Copyright © 2013-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback