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.1 documentation.

Hangman variables are special string tokens that are automatically replaced with values when you run an app in CA Agile Central.

Note: This value replacement is not performed when you run 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>

フィードバック

ヘルプをお求めですか?CA Agile Central コミュニティは、セルフサービスとサポートのワンストップ ショップです。CA Agile Central サポートにフィードバックを送信したり、答を見つけたり、他のユーザとのコラボレーションには CA Agile Central コミュニティ にご参加ください。