如何使用自定义列筛选 MOSS2007 内容查询 Web 部件?
我正在尝试在 MOSS 中设置一个内容查询 Web 部件,该部件将根据我创建的选择列在页面上显示文档。我创建了一个“页面”列并将其添加为我的网站的核心文档列。我希望 CQWP 做的是过滤基于此页面列显示的文档列表。但是,此列不会在页面上的 CQWP 中显示为过滤器。我尝试按照此问题中的说明进行操作:内容查询 WebPart - 按自定义列分组? 无济于事。有人对我如何实现这一目标有任何想法吗?
I am trying to setup a content query web part in MOSS that will display documents on a page based on a choice column that I created. I have created a "Page" column and added it as a core document column for my site. What I would like the CQWP to do is filter the document list that is displayed based on this Page column. However, this column does not show up as a filter in the CQWP on the page. I tried following the instructions in this question: Content Query WebPart - Grouping by custom column? to no avail. Does anyone have any ideas as to how I can accomplish this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否尝试过 CommonViewFields正如建议中的第二个答案其他问题?您可以在 SharePoint Designer 中编辑属性,或者通过导出 Web 部件、在记事本中更改 CommonViewFields,然后重新导入 Web 部件来编辑属性。如果 CommonViewFields 不起作用,您始终可以直接在 SPD 中或使用导出-记事本-导入来修改筛选器属性。确保您指向包含自定义字段的内容类型。
Have you tried CommonViewFields as suggested in the second answer from that other question? You can edit the property in SharePoint Designer or by exporting the web part, changing the CommonViewFields in Notepad, and then re-importing the web part. If CommonViewFields doesn't work, you can always modify the filter property directly in either SPD or using export-Notepad-import. Be sure you are pointing to a Content Type that includes your custom field.