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.Context object provides information about the current runtime environment.

Static Methods

Method Name Return Value Example
isInsideCA Agile Central True if running in an App Tab or Dashboard Panel; false otherwise
var inside = rally.sdk.util.Context.isInsideCA Agile Central();
getAppInfo An AppInfo object
var appInfo = rally.sdk.util.Context.getAppInfo();
getRunningMode A value of the rally.sdk.util.Context.RunningMode enumeration:

External, AppTab, DashboardPanel

var runningMode = rally.sdk.util.Context.getRunningMode();
getServerInfo A ServerInfo object
var serverInfo = rally.sdk.util.Context.getServerInfo();


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