Hangman Variables

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.

Hangman variables are special string tokens which are automatically replaced with values when running an app in CA Agile Central.

Note: This value replacement is not performed when running an app externally.

The following variables are defined:

Variable Description
__WORKSPACE_OID__ Current Workspace ID
__PROJECT_OID__ Current Project ID
__PROJECT_OIDS_IN_SCOPE__ All Projects in Scope
__PROJECT_SCOPING_UP__ Project Scoping Up
__PROJECT_SCOPING_DOWN__ Project Scoping Down
__USER_OID__ Current User ID
__USER_NAME__ Current User Name
__SERVER_URL__ Server URL
__MODE__ App context: webtab or panel

Example

Hangman variables are especially useful in conjunction with CA Agile Central Data Source.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- Copyright (c) 2010 CA Agile Central Software Development Corp. All rights reserved -->
<html>
<head>
   <title>CA Agile Central Data Source Example</title>
   <meta name="Name" content="App Example: CA Agile CentralDataSource Hangman Variables"/>
     <meta name="Version" content="2010.4"/>
   <meta name="Vendor" content="CA Agile Central Software"/>
   <script type="text/javascript" src="/apps/1.26/sdk.js"></script>
   <script type="text/javascript">
     rally.addOnLoad(function() {

       var rallyDataSource = new rally.sdk.data.CA Agile CentralDataSource('__WORKSPACE_OID__',
                                   '__PROJECT_OID__',
                                   '__PROJECT_SCOPING_UP__',
                                   '__PROJECT_SCOPING_DOWN__'
);
    });
   </script>
</head>
<body>
</body>
</html>

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.