通过 SharePoint Web 服务识别可见列表
全部!我在使用 SharePoint Web Services 识别服务器中可用的列表时遇到一些问题。我使用 GetListCollection 从服务器获取所有列表和关联属性,并过滤“BaseType=0”以识别自定义列表。但是,结果包括“隐藏”自定义列表,例如“内容类型发布错误日志”列表等。
我尝试比较从 GetListCollection 的输出中摘录的两个特定列表的 XML,其中一个是隐藏的,另一个是可见的,但找不到任何差异。
有谁知道是否有单个属性或属性组合将列表定义为隐藏在 GetListCollection 的输出中? (隐藏是指用户无法在列表列表中看到该列表,并且它也不在 SharePoint 的左侧菜单中,如果这有意义的话。)
提前致谢!
编辑:已解决。我像蝙蝠一样盲目。 XML 中的列表标记中有一个 Hidden="True/False" 属性。
all! I'm having some issues using SharePoint Web Services to identify the lists available in my server. I'm using GetListCollection to get all the lists and associated properties from my server, and filtering for "BaseType=0" to identify the custom lists. However, the results include "hidden" custom lists such as the "Content type publishing error log" list, among others.
I've tried comparing the XML for two specific lists excerpted from GetListCollection's output, one of which is hidden and one of which is visible, and can't find any differences.
Does anyone know if there is a single property or combination of properties that defines a list as hidden in GetListCollection's output? (By hidden, I mean users cannot see the list in the list of Lists, and it is not on the left-hand menu in SharePoint, if that makes sense.)
Thanks in advance!
Edit: Resolved. I'm blind as a bat. There's a Hidden="True/False" attribute in the list tag in the XML.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
已解决。我像蝙蝠一样盲目。 XML 中的列表标记中有一个 Hidden="True/False" 属性。
Resolved. I'm blind as a bat. There's a Hidden="True/False" attribute in the list tag in the XML.