Sharepoint Javascript 列表
是否可以在 Sharepoint 中的 Web 表单上使用 JavaScript 迭代调查响应列表?
是否也可以再次使用 javascript 迭代用户组列表?
此外,是否可以创建表格或列表或其他内容来: a) 显示一组用户 b) 使用 JavaScript 显示他们对调查的回复
?
Is it possible to iterate through a survey response list using javascript on a webform in Sharepoint?
Is it also possible to iterate through a user group list as well - again using javascript?
Additionally, is it possible to create a table or list or something to:
a) Display a group of users
b) Display their responses to a survey
using javascript?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
通过网络表单进行迭代
是的,这当然是可能的。 您可以在 Stack Overflow 中搜索标记为 jQuery+SharePoint 的问题或JavaScript+SharePoint 有关示例。 另请参阅最终用户 SharePoint 及其 jQuery 文章以获取更多示例。
使用 JavaScript 创建表格或列表来显示用户及其调查响应
这是 SharePoint 调查列表的开箱即用功能,无需使用 JavaScript。 但是,如果您确实需要使用 JavaScript 检索数据,可以使用文章 使用 jQuery 调用 SharePoint Web 服务,以及文章 适用于所有人的 JQuery:使用 OWSSVR.DLL (RPC) 获取 XML 列表数据。
使用 JavaScript 遍历用户组列表
同样,使用上一节中的两个选项之一应该可以实现这一点。
Iterating through a web form
Yes certainly this is possible. You can search Stack Overflow for questions tagged jQuery+SharePoint or JavaScript+SharePoint for examples to this. Also see End User SharePoint and their jQuery articles for more examples.
Create a table or list to display users and their survey responses using JavaScript
This is out of the box functionality with a SharePoint survey list without needing to use JavaScript. However if you really need to retrieve the data using JavaScript, there is the web service option described in the article Calling the SharePoint Web Services with jQuery, and the RPC option described in the article JQuery for Everyone: Get XML List Data with OWSSVR.DLL (RPC).
Iterate through a user group list using JavaScript
Again, this should be possible using either of the two options from the previous section.