本文介绍了使用InfoPath创建列表后无法通过OData访问表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!

我使用InfoPath创建了一个SharePoint列表来改进界面.以前,我曾使用OData使用Tableau捕获列.但是,自从我使用InfoPath之后,就无法使用OData REST端点获取列表

I created a SharePoint list using InfoPath to improve the Interface. Previously I have used OData to capture the columns using Tableau. However, ever since I used InfoPath I am not able to get the List using the OData REST endpoints

https://SERVER/_api/web/lists/GetByTitle('LISTNAME')/项目

https://SERVER/_api/web/lists/GetByTitle('LISTNAME')/items

有人知道使用InfoPath进行了哪些更改吗?为什么使用InfoPath时OData REST不可用?

Does anyone know what changed by using InfoPath? Why is the OData REST not available when using InfoPath?

预先感谢!

推荐答案

我试图在我的环境中重新创建该错误,但是无法.

I tried to recreate the error in my environment but couldn't.

我会仔细检查该列表是否实际发布到SharePoint,以及是否尝试通过GUID而不是标题来获取它

I'd double check that the list actually published to SharePoint and if it is try to get it by the GUID instead of the title

https://SERVER/_api/web/lists(guid'abddfadf-dsflsdkfjsdf-asklfjsdklfj')/项目

https://SERVER/_api/web/lists(guid'abddfadf-dsflsdkfjsdf-asklfjsdklfj')/items

要找到列表的GUID,请转到https://SERVER/_api/web/lists,然后对列表名称进行ctrl f操作,并遍历所有XML作为ID.

To find the GUID of the list go to https://SERVER/_api/web/lists then do a ctrl f for the name of your list and look through all that XML for the ID.

希望有帮助.

Stephen


这篇关于使用InfoPath创建列表后无法通过OData访问表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-12 04:08