使用 DVWP 和 XSL 在 MOSS 2007 中创建仪表板

发布于 2024-10-05 23:43:30 字数 1967 浏览 0 评论 0原文

我之前的帖子粘贴在字里行间;

为了创建仪表板,我需要找出获取列表字段中项目计数的方法。如何实时获得相同的信息?

假设我有一个包含以下字段的列表;

季度>>>>批次#>>>> 例如,如果

第一个列表的条目如下所示;

季度>>>>>>>>>>>>>>>>批次#>>>>>>>>>状态

Q1 ------------------------------------B1------------ ------------------------------------- 在现场

Q1 --------------------- ---------------B2 ---------------------------------- --现场

Q1------------------------------------B1 ------- ------------------------------------------包装

Q1-------------------- -----------------B2 -------------------------------- --- 已发货

Q1------------------------------------B2-------- ----------------------------

现已发货,我需要获取一个仪表板列表,其中给出以下结果;

它应该看起来像;

状态>>>>>>>>>>>>第 1 批 >>>>>>>>>>>第 2 批

现场 --------------------------------1-------------------- --------------1

已包装 ------------------------- 1-------- ---------------------------0

已发货-------------------- ---- 0----------------------------------2

请帮助了解如何创建类似以下的仪表板多于。

-------------------------------------------------- -----------------

我就上述问题寻求帮助; 在 sharepoint 2007 中创建仪表板

根据 Ryan 建议我尝试创建 DWVP, 使用 XSL 编码的 Web 部件来创建仪表板。现在我遇到了一个问题。

首先,我创建了一个列表,其中有

状态>>>>第 1 批 >>>>>>>>>>>第2批,作为列表字段

字段中 ----------------X1------------------------ --Y1

包装 -------------------- X2------------------------- -Y2

已发货-------------------------------- X3-------------------------- Y3

在这里,我试图插入 X1、X2 和 X3 的公式,这些公式对于“状态”行中的每个项目都是唯一的,

但是一旦我给出 X1 的公式,同样的公式就会应用于整个列,即 X2 和 X3 : ( 有没有办法为 X2 和 X3 分别创建特定的公式.. Y1、Y2、Y3。

亲切的帮助

问候, 吉本。

my earlier post pasting over here between the lines;

For the creation of a dashboard I need to find out the way to get the count of the items in a field of a list. How to get the same in real time?

Let’s say I have a list with the following fields;

Quarter >>>> Batch# >>>>>> In field/Packed/Shipped

For eg, if the entries for the first list is as given below;

Quarter >>>>>>>>>>>>>>>>> Batch# >>>>>>>>>>>>>>>>>>>>> Status

Q1 ------------------------------------B1------------------------------------ In the field

Q1 ------------------------------------B2 ------------------------------------In the field

Q1------------------------------------B1 ------------------------------------Packed

Q1------------------------------------B2 ----------------------------------- Shipped

Q1------------------------------------B2------------------------------------ Shipped

NOW, I need to get a dashboard list where in it give the below result;

It should look like;

Status >>>>>>>>>>>>>>>>> Batch 1 >>>>>>>>>>>>>>>>> Batch 2

In the field ------------------------1----------------------------------1

Packed ------------------------- 1-----------------------------------0

Shipped------------------------- 0----------------------------------2

Please help upon how to create a dashboard like the above.

-------------------------------------------------------------------

i asked help for above question;
creation of dashboard in sharepoint 2007

as per the Ryan suggested i tried creating a DWVP webpart with XSL coding to create the dashboard. Now i have emcoundered a problem.

First I created a list where in i have,

Status >>>>>>>>>>>>>>>>> Batch 1 >>>>>>>>>>>>>>>>> Batch 2 , as the list fields

In the field ---------------X1--------------------------Y1

Packed -------------------- X2--------------------------Y2

Shipped-------------------- X3--------------------------Y3

here i was trying to inser ta formula for X1, X2 and X3 which are unique as per each item in the row "Status"

But as soon i give a formula for X1, same get applied to the entire colum ie X2 and X3 :(
Is there any way to create specific formula for X2 and X3 too .. Y1, Y2, Y3 repectively.

KIndly help

regards,
Jiben.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

人生戏 2024-10-12 23:43:30

我认为您无法为处理的每一行提供不同的公式。在这种情况下,您所能做的就是构建一个公式,该公式可以根据行的值提供您想要的结果。

I don't think you can provide a different formula for each row that is processed. All you can do in this situation is build a formula that can provide the result you want based on the values of the row.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文