Query String Parameters

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 App SDK supports query string parameters to aid in the development and customization of apps.
To specify a parameter, append it to the App SDK script and include the following:

<script type="text/javascript" src="/apps/[version]/sdk.js?debug=true"></script>

The following parameters are supported:

Parameter Description
debug Valid values are true/false.
If true the SDK javascript will be included in its uncompressed format.
(Default = false).
showHeader Valid values are true/false.
If false the App Header will be omitted from the top of the app.
(Default = true).

Example

Copy and paste the following into a CA Agile Central custom page to see it in action.

<!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>Query String Parameters Example</title>
   <meta name="Name" content="App Example: Query String Parameters"/>
   <meta name="Version" content="2011.08.06"/>
     <meta name="Vendor" content="CA Agile Central Software"/>
   <script type="text/javascript" src="/apps/1.26/sdk.js?debug=true&showHeader=false"></script>
<script type="text/javascript">
     rally.addOnLoad(function() {
       //App code here
     });
   </script>
</head>
<body>
</body>
</html>

反馈

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