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.1 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.

<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

Benötigen Sie weitere Informationen? Die CA Agile Central-Community ist Ihre zentrale Anlaufstelle für Self-Service und Support. Treten Sie der CA Agile Central-Community bei, um dem CA Agile Central-Support Feedback mitzuteilen oder Fälle zu melden, Antworten zu finden oder mit anderen Benutzern zusammenzuarbeiten.