jquery 中的共享点列表列

发布于 2024-10-10 05:27:15 字数 60 浏览 0 评论 0原文

如何在 Jquery 中使用共享点列表列。谁能给我提供一个阅读共享点列表列的示例。

谢谢,

How to user sharepoint list columns in Jquery. Can anyone please provide me an example of reading sharepoint list columns.

Thanks,

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(3

铃予 2024-10-17 05:27:15

另一个可能对您有用的开源项目是我的:SPServices。文档有很多例子。

这是一个 jQuery 库,
抽象 SharePoint 的 Web 服务
并使它们更易于使用。它还
包括使用的函数
各种 Web 服务操作
提供更有用(而且很酷)的
能力。它完全适用于客户端
侧面并且不需要安装服务器。

Another open source project that might be useful for you is mine: SPServices. The docs have plenty of examples.

This is a jQuery library which
abstracts SharePoint's Web Services
and makes them easier to use. It also
includes functions which use the
various Web Service operations to
provide more useful (and cool)
capabilities. It works entirely client
side and requires no server install.

2024-10-17 05:27:15

这个开源项目可能会帮助您 - Codeplex - JPoint

Point 是一个开源 JavaScript API
和脚本部署框架
共享点。它利用了速度和
jQuery 操作的敏捷性
Sharepoint 表格和页面,
与 Sharepoint Web 服务通信,
并构建 jPart 插件。

This open source project may help you - Codeplex - JPoint

Point is an open source javascript API
and script deployment framework for
Sharepoint. It leverages the speed and
agility of jQuery to manipulate
Sharepoint forms and pages,
communicate to Sharepoint webservices,
and to build jPart plugins.

爱*していゐ 2024-10-17 05:27:15

我更喜欢代码的简单性,如果您愿意,我觉得您可以通过自己编写代码来对功能有更深入的了解。我建议,根据您的 sharepoint 版本,将 REST 接口与 listdata.svc Web 服务结合使用。这是从列表“employees”读取数据的代码。

$(document).ready(function(){
  $.getJSON('<insert relative url to site containing list>/_vti_bin/listdata.svc/employees', function(data){
    $.each(data.d.results, function(index, value){
      alert(value.<columnName>);
    });
  });
});

I prefer simplicity in code, and if you'd like, I feel that you can get a much larger understanding of functionality by writing the code yourself. I suggest, depending on your sharepoint version, using the REST interface with the listdata.svc web service. Here's the code for reading data from a list "employees".

$(document).ready(function(){
  $.getJSON('<insert relative url to site containing list>/_vti_bin/listdata.svc/employees', function(data){
    $.each(data.d.results, function(index, value){
      alert(value.<columnName>);
    });
  });
});
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文