如何使用自定义列筛选 MOSS2007 内容查询 Web 部件?

发布于 2024-08-24 20:12:50 字数 312 浏览 5 评论 0原文

我正在尝试在 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 技术交流群。

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

发布评论

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

评论(1

您的好友蓝忘机已上羡 2024-08-31 20:12:50

您是否尝试过 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.

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