如何从Sharepoint检索数据并显示在我的HTML,其他域中托管的CSS Web中? [英] How do i retrieve data from Sharepoint and display in my HTML, CSS web hosted in other domain?

查看:48
本文介绍了如何从Sharepoint检索数据并显示在我的HTML,其他域中托管的CSS Web中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在Sharepoint中为内部社区创建一个表单,以使用他们的Sharepoint帐户填写表单。之后,我想从Sharepoint中提取表单数据,以便在我在域外托管的自定义UI网页中显示。
有没有人知道如何使用REST API做到这一点。我已经探索了针对sharepoint的REST API,但似乎有关于如何提取特定数据的文档,这意味着我不知道Sharepoint
API的BODY中的特定参数。 

Hi, I am trying to create a form in Sharepoint for an internal community to fill up the form using their Sharepoint account. After that, I would like to extract the form data from Sharepoint to be displayed in my customized UI web hosted outside the domain. Is there anyone who knows how to do that with REST API. I have explored the REST API for sharepoint, but it seems there is documentation on how should i extract a specific data which means i do not know the specific parameters in the BODY of the Sharepoint API. 

推荐答案


  1. 在SharePoint中创建列表,并使用其表单进行数据输入。
  2. 使用以下命令访问列表REST API。最大的挑战是来自外部域的身份验证。

我不确定您对BODY的看法,但如果您只是在阅读数据,那么您只需要提供REST查询字符串和可能的HTTP用于身份验证的标头信不需要HTTP正文内容。

I'm not sure what you are ask about BODY, but if you are just reading data then you only need to supply the REST querystring and possibly HTTP header info for authentication. No HTTP body content needed.

我整理了一个REST测试工具,可以帮助您探索使用SharePoint REST API可以完成的工作。

http:// techtrainingnotes。 blogspot.com/2017/04/a-sharepoint-rest-api-tester-with-ajax.html

I put together a REST testing tool that might help you explore what can be done using the SharePoint REST API. http://techtrainingnotes.blogspot.com/2017/04/a-sharepoint-rest-api-tester-with-ajax.html

有关身份验证,请参阅:

https://msdn.microsoft.com/en-us/magazine/dn198245.aspx

For authentication also see:
https://msdn.microsoft.com/en-us/magazine/dn198245.aspx

http://paulryan.com.au/2014/ spo-remote-authentication-rest /

https://docs.microsoft.com/en-us/sharepoint/dev/general-development/build-mobile-apps-for-other-platforms -using-sharepoint

一般情况下:
http://www.bing.com/search?q=sharepoint+rest+authentication

这篇关于如何从Sharepoint检索数据并显示在我的HTML,其他域中托管的CSS Web中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆