AppInfo

Deprecation Warning! The content below is only applicable for use within deprecated 1.x versions of CA Agile Central's App SDK. Use of the component(s) and/or code on this page is not supported. To develop custom apps within our current environments, please see App SDK 2.0 documentation.

The rally.sdk.util.AppInfo object contains meta information about the current app.

  • It is automatically configured based on any <meta> tags found in the app's html head element.
  • An instance may be obtained using the rally.sdk.util.Context object's getAppInfo method.

Methods

Method Name Return Value Example
getName

The app's name as parsed from the content attribute of a Name meta tag.
If not found, an empty string is returned.

<meta name="Name"
content="App: My App" />

App: My App"
getTitle The app's title as parsed from the content attribute of a Name meta tag.
If not found, an empty string is returned.

lt;meta name="Name" content="App: My App" />
"My App"
getType A value of the rally.sdk.util.AppInfo.AppType enumeration as determined by getVendor():
CA Agile Central, Partner, Customer
If not found, rally.sdk.util.AppInfo.AppType.Customer is returned.
<meta name="Vendor"
content="CA Agile Central Software" />
rally.sdk.util.AppInfo.CA Agile Central
getVendor The app's vendor as parsed from the content attribute of a Vendor meta tag.
If not found. an empty string is returned.
<meta name="Vendor" content="CA Agile Central Software" />
"CA Agile Central Software"
getVersion The app's version as parsed from the content attribute of a Version meta tag.
If not found, an empty string is returned.
<meta name="Version" content="1.0" />
"1.0"

Feedback

Need more help? The CA Agile Central Community is your one-stop shop for self-service and support. To submit feedback or cases to CA Agile Central Support, find answers, and collaborate with others, please join us in the CA Agile Central Community.