未在Infopath中的WCF服务数据连接中填充Sharepoint List 2016中的下拉列表 [英] Drop-down in Sharepoint List 2016 not populating with WCF service data connection in Infopath

查看:51
本文介绍了未在Infopath中的WCF服务数据连接中填充Sharepoint List 2016中的下拉列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在2016年创建了一个SharePoint列表,并使用信息路径2013自定义了它.创建了WCF Rest服务并使用它创建了DataConnection.我已经成功创建了数据连接并创建了UDCX文件.我的网络方法正在返回 数据集并绑定到下拉列表.预览时,下拉菜单中没有数据.同样,在发布并创建新项目后,下拉菜单为空.

您能告诉我我所缺少或做错的吗?

解决方案

请提供有关您的WCF服务的一些信息.

您如何构建WCF服务以及如何设计表单?

此处是一个有关如何构建WCF服务以及如何设计InfoPath表单以使用值读取值的演示WCF服务.尽管这些文章是针对InfoPath 2010的,但它们仍然具有很好的信息.

最好的问候,

Linda Zhang


Hi,

I have created a SharePoint list in 2016 and customized it using Info path 2013. Have created a WCF rest service and created a DataConnection using it. I have successfully created the data connection and created the UDCX file. My web method is returning a dataset and have binded it to drop down. When I preview I am not getting the data in the drop down. Also after publishing and creating a new item the drop down is empty.

Can you please suggest me what I am missing or doing wrong.

解决方案

Hi,

Please provide some information about your WCF service.

How did you build the WCF service and how did you design your form?

Here is a demo about how to build WCF service and how to design InfoPath form to read values using WCF service. Though the articles are for InfoPath 2010, they still have good information.

https://www.codeproject.com/Articles/587994/InfoPath-2010-and-SharePoint-20

https://www.codeproject.com/Articles/594942/InfoPath-and-SharePoint-Integration-us

Best Regards,

Linda Zhang


这篇关于未在Infopath中的WCF服务数据连接中填充Sharepoint List 2016中的下拉列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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