开发者

Multiple Groupings within a Content Query Web Part

开发者 https://www.devze.com 2022-12-17 16:07 出处:网络
Does anyone know of a way to do multiple groupings on a content query web part. I have been able to c开发者_如何学Goustomeize everything else, but the sub groupings issue has me.

Does anyone know of a way to do multiple groupings on a content query web part. I have been able to c开发者_如何学Goustomeize everything else, but the sub groupings issue has me.

What I need to do is, first group the list by column1, then within that grouping group on column2.

Any help would be great. Thanks


In the ContentQueryMain.xsl you need to modify the <xsl:template name="OuterTemplate.Body"> but that would end up having you to hardcode which group you want to add. The Extended CQWP and the Enhanced CQWP might give you more options (I could not find a feature list to confirm if you can do multiple groups)

0

精彩评论

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

关注公众号