开发者

Task list dataview web part xsl modification

开发者 https://www.devze.com 2023-02-22 10:17 出处:网络
My application is an apporval system.I am creating data view from a task list to show the current status of the doc, and grouping them based on title, if i take the count of items in each group title

My application is an apporval system.I am creating data view from a task list to show the current status of the doc, and grouping them based on title, if i take the count of items in each group title 开发者_如何学Goi get to call it as current level, If within a title group there are no task with status as 'Not started' I need to display that the title/doc is approved. It would be even better if i dont have to show such approved doc in my data view. How to achieve this in SPD by xsl editing


The solution i ended up with was simple...If there are no task with 'Not Started' status for a particular title it will display as Approved. For remaining title it will just display the group count...

<xsl:if test="count($nodeset[@Status='Not Started'])=0">Approved </xsl:if>
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号