Context

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.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();

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.