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"

反馈

需要更多帮助? CA Agile Central 社区为您提供一站式自助和支持。要将反馈或支持请求提交到 CA Agile Central 支持、获取解答并与其他用户协作,请加入我们的 CA Agile Central 社区