拉力投资组合应用程序?
我正在寻找 Rally 中操纵最近发布的新 Portfolio 对象的自定义应用程序的示例。在基本层面上,我想使用 Cardboard 组件显示 Portfolio 对象。这可能吗,有没有例子。当前的 SDK 没有引用我可以找到的新 Portfolio 对象。
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- Copyright (c) 2010 Rally Software Development Corp. All rights reserved -->
<html>
<head>
<title>App Example: Card Board Custom Styling</title>
<meta name="Name" content="App Example: Card Board Custom Styling" />
<meta name="Vendor" content="ADSK - Rally Software" />
<script type="text/javascript" src="/apps/1.26/sdk.js"></script>
<script type="text/javascript">
function onLoad() {
var cardboard;
var rallyDataSource = new rally.sdk.data.RallyDataSource('__WORKSPACE_OID__',
'__PROJECT_OID__',
'__PROJECT_SCOPING_UP__',
'__PROJECT_SCOPING_DOWN__');
var cardboardConfig = {
types: ["PortfolioItem", "HierarchicalRequirement"],
attribute: "InvestmentCategory",
fetch:"Name,FormattedID,Owner,ObjectID"
};
cardboard = new rally.sdk.ui.CardBoard(cardboardConfig, rallyDataSource);
cardboard.display(dojo.body());
}
rally.addOnLoad(onLoad);
</script>
<style type="text/css">
/*Make cards have bold text on a white background*/
.cardboard .cardContent {
background-color:#fff;
font-weight:bold;
}
/*Make column headers smaller and green*/
.cardboard .columnHeader {
color: #6AB17D;
font-size:12px;
}
/*Hide the owner avatar*/
.cardboard .cardOwner {
display:none;
}
</style>
</head>
<body>
</body>
</html>
I am looking for examples of custom apps in Rally that manipulate the new Portfolio object recently released. At a basic level I would like to display Portfolio objects using the Cardboard Component. Is that possible, are there any examples out yet. The current SDK doesn't reference the new Portfolio object that I can find.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- Copyright (c) 2010 Rally Software Development Corp. All rights reserved -->
<html>
<head>
<title>App Example: Card Board Custom Styling</title>
<meta name="Name" content="App Example: Card Board Custom Styling" />
<meta name="Vendor" content="ADSK - Rally Software" />
<script type="text/javascript" src="/apps/1.26/sdk.js"></script>
<script type="text/javascript">
function onLoad() {
var cardboard;
var rallyDataSource = new rally.sdk.data.RallyDataSource('__WORKSPACE_OID__',
'__PROJECT_OID__',
'__PROJECT_SCOPING_UP__',
'__PROJECT_SCOPING_DOWN__');
var cardboardConfig = {
types: ["PortfolioItem", "HierarchicalRequirement"],
attribute: "InvestmentCategory",
fetch:"Name,FormattedID,Owner,ObjectID"
};
cardboard = new rally.sdk.ui.CardBoard(cardboardConfig, rallyDataSource);
cardboard.display(dojo.body());
}
rally.addOnLoad(onLoad);
</script>
<style type="text/css">
/*Make cards have bold text on a white background*/
.cardboard .cardContent {
background-color:#fff;
font-weight:bold;
}
/*Make column headers smaller and green*/
.cardboard .columnHeader {
color: #6AB17D;
font-size:12px;
}
/*Hide the owner avatar*/
.cardboard .cardOwner {
display:none;
}
</style>
</head>
<body>
</body>
</html>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您想使用 PortfolioItems 制作纸板,您可以使用此处找到的示例并制作一些细微调整。
首先,您需要更改
为
您还需要将属性更改为投资组合项目对象上的属性之一。
属性列表可以在此处找到。所有投资组合项目的共同点是投资类别。所以你可以将线路
改为
If you want to make a cardboard using PortfolioItems you can take the example found here and make some minor adjustments.
First you will need to change
to be
you will also need to change the attribute to one of the attributes on your portfolio item object.
The list of attributes can be found here. An attribute that is common to all Portfolio Items is InvestmentCategory. So you would change line
into