开发者

SharePoint Content Query Web Part question

I'm using CQW to display announcement list. Only problem I'm facing to provide "Add new announcement" button like the one having in Announcement list.Here is my CQW ,

SharePoint Content Query Web Part question

I've tried adding custom "Add new Announcement" link from SharePoint designer. But this solution looks ugly. Can we provide exact button and the interface which default "Add new announcement" link provides ? Please not it's on web part page.

Here is my SPD if someone 开发者_开发技巧want to see,

SharePoint Content Query Web Part question


Editing the XSLT can be your solution. If the repeating is the only thing that stops you from modifying the XSLT, we have to solve that.

You can stop the repeating by using a check on the current position. Only add the link when the position is 1. Define the current position and use it:

<xsl:param name="CurPos" />
<xsl:if test="$CurPos = 1">
  <![CDATA[ Here your link can be placed ]]>
</xsl:if>
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜