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

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.