下拉列表更改的事件未在Sharepoint网站中触发 [英] Dropdown list changed event not firing in sharepoint site

查看:82
本文介绍了下拉列表更改的事件未在Sharepoint网站中触发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,
谷歌搜索后我没有得到任何解决方案,我面临一个问题.问题是发布到共享点站点后未触发下拉列表更改事件.但是在infopath 2010表单预览中,它可以完美运行,我将属性设置为完全受信任的表单,始终回发.
在我的表单中,有三个字段
1) DDLFirst,
2) txtFirst
3) DDLSecond(重复表)
数据连接是 webservice数据连接,第一步使用SOAP数据连接,我要填写 First Dropdownlist .然后根据第一个下拉列表选择,使用信息路径规则,操作和过滤器,填充 textboxFirst 控件.并根据来自文本框的值填充 secondDropdownlist(在重复表中).
它在预览模式下可以正常工作,但是在发布到sharepoint 2010网站后,下拉更改事件根本没有触发.
我如何发布下面的表格的步骤如下:
输入网站网址后,在发布向导中,我选择以下两个选项
a)允许使用网络浏览器填写此表单.
b)管理员批准的表单类型.
发布表单后,我从那里去了sharepoint中央管理员,我正在上传最近发布的通知.上传后,我单击验证"按钮,我收到一条警告消息:
过滤器表达式位于外部数据上,无法验证. Web浏览器表单可能不支持它."

经过长时间分析,我确认以上消息是发布后未触发下拉列表更改事件的根本原因.
任何帮助将不胜感激,像我一样,许多谷歌猎人将得到帮助.如何修复上面突出显示的警告消息.

下拉列表更改的事件未触发.

Dear all,
I am facing a problem not getting any solution after googling. The problem is dropdown changed event is not firing after publish to the sharepoint site. But in infopath 2010 form preview it works perfectly, I set property like the fully trusted form, always postback.
In my form there three fields
1)DDLFirst,
2)txtFirst,
3)DDLSecond(repeating table)
Data connection is webservice data connection, at first step using SOAP data connection I am filling the First Dropdownlist. Then using infopath rules, action and filter, based on First Dropdownlist selection filling the textboxFirst control. And based on value coming the textbox populating the secondDropdownlist(in repeating table).
Its perfectly working fine in preview mode but after publishing to the sharepoint 2010 site the dropdown changed event is not at all firing.
How I published the form below are the steps:
After entering the site URL, in publishing Wizard I am selecting the below two option
a)Enable this form to be filled out by using a web browser.
b)Administrator approved form type.
After publishing the form I went to the sharepoint central admin from there I am uploading the recently published inform. After uploading I am clicking on the verify button , there I am getting an warning message:
"The Filter expression is on external data and could not be validated. It may not be supported in web browser forms."

After analyzing for long time I confirmed above message is the root cause for not firing the dropdown list changed event after publishing.
Any help would be highly appreciated and like me many google hunter will be helped. How to fix the above highlighted warning message.

Dropdown list changed event not firing.

推荐答案

1. Right click on the the dropdown list control.
2. Select browser forms tab.
3. Change value to 'Always'.

<a href="http://blogs.microsoft.co.il/blogs/dudin/archive/2011/12/08/vsta-infopath-2010-dropdown-list-event-not-firing.aspx">Solution by Dudi Nissan</a>


这篇关于下拉列表更改的事件未在Sharepoint网站中触发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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