Infopath 2013没有指向字段或组的有效位置路径 [英] Infopath 2013 does not point to a valid location path of a field or group

查看:62
本文介绍了Infopath 2013没有指向字段或组的有效位置路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧,这里真的没有什么头绪,我有这个SharePoint列表,其中包含每个人的部门,我将其设置为从该部门接收信息.我还设置了一个txtField调用txtUserName,它获取访问页面的用户的用户名.然后我创建了这个 公式,该公式使我可以使用用户名作为查询来从列表中获得用户部门:

部门[translate(ClaimsAccountName,"ABCDEFGHIJKLMNOPQRSTUVWXYZ","abcdefghijklmnopqrstuvwxyz")=翻译(txtUserName,"ABCDEFGHIJKLMNOPQRSTUVWXYz" yw,"abcdef"

问题是当我去验证公式时,它会自动将其踢退:

"xdXDocument:GetDOM("UPS")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Department/my:txtUserName"没有指向字段或组的有效位置路径.

鉴于我从插入字段或组函数中获得了一切,我只是不知道这是怎么回事?

任何事情都会很棒.


最好的问候,迈克

解决方案

您好dzitam,

根据您的描述,您希望使用用户名作为查询从列表中获得用户部门.

作为建议,您可以使用Web服务获取当前用户的详细信息.

有关更多详细信息,请参阅以下文章:

https://samsharepoint.wordpress. com/2013/04/30/infopath-get-the-current-user-without-write-code/

最好的问候

Lisa Chen


Ok, really no clue here, I have this SharePoint list that contains everyone's department, which I set up to receive information from. I have also set up a txtField call txtUserName, it gets the user name of the user accessing the page. Then I created this formula that would allow me to get the users department from the list using the username as a lookup:

Department[translate(ClaimsAccountName, "ABCDEFGHIJKLMNOPQRSTUVWXYZ", "abcdefghijklmnopqrstuvwxyz") = translate(txtUserName, "ABCDEFGHIJKLMNOPQRSTUVWXYZ", "abcdefghijklmnopqrstuvwxyz")]

The problem is when I go to verify formula, it kicks this back out at me:

"xdXDocument:GetDOM("UPS")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Department/my:txtUserName" does not point to a valid location path of a field or group.

Given that I got everything out of the insert field or group function, I just have no idea how this is happening?

Anything would be great.


Best regards, Mike

解决方案

Hi dzitam,

From your description, you want to get the users department from the list using the username as a lookup.

As an suggestion, you can get the current user’s details using Web Services.

For more detailed information, Refer to the following article:

https://samsharepoint.wordpress.com/2013/04/30/infopath-get-the-current-user-without-writing-code/

Best Regards,

Lisa Chen


这篇关于Infopath 2013没有指向字段或组的有效位置路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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