本文介绍了使用SharePoint O356的Infopath 2013 - InfoPath在访问REST WEB SERVICE时反复询问用户名和密码作为接收数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我们正在使用在SharePoint 0365站点上发布的InfoPath 2013.


在此InfoPath中,我们添加了SharePoint REST端点以获取当前用户。


添加了终点:https:\\site-address \sites \SiteName \ _api \web \currentuser。


我们正在加载此数据表单打开时接收当前用户详细信息的连接。


我们在Windows 7计算机上没有遇到任何问题。当Infopath开通时,我们不会要求任何凭证。


但是在某些Windows 10机器中,我们正在获取上面发布的屏幕。即使在输入当前凭证次数后,我们也无法获得此REST端点的当前用户信息。  


我们收到以下错误:


 在这方面你能帮助我吗?


为什么InfoPath只在某些PC上反复询问凭证?





 



解决方案

We are using InfoPath 2013 published on SharePoint 0365 site.

In this InfoPath, we have added SharePoint REST endpoint for getting the current user.

End Point added: https:\\site-address\sites\SiteName\_api\web\currentuser.

We are loading this data connection to receive the current user details while the form is opening.

We are not facing any problem in Windows 7 machine. We are not asking for any credentials when the Infopath is opening.

But in some Windows 10 machine, we are getting the screen posted above. Even after entering current credentials number of times, we are not getting current user information with this REST endpoint.  

We are getting the below error:

 Can you please help me in this regard?

Why is InfoPath asking for credentials again and again in only some PCs?


解决方案


这篇关于使用SharePoint O356的Infopath 2013 - InfoPath在访问REST WEB SERVICE时反复询问用户名和密码作为接收数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-28 12:30