在InfoPath 2010只读视图中启用控件 [英] Enable the controls in a InfoPath 2010 read-only view
问题描述
嗨 我想向最终用户显示一个只读的信息路径.我创建了一个只读视图,除了文件附件之外,其他所有东西都可以正常工作.在一个只读的信息路径视图中,用户无法下载文件是否有一种方法可以仅针对文件附件使用ovverride?否则,我必须创建一个规则以手动使表单上的每个控件为只读. 谁能对此有所启发?
Hi I would like to display a read-only infopath form the the end-users.I have created a read-only view,everything works perfectly apart from the file attachments.In a a read-only infopath form view , users could not download the file attachments.Is there a way I could ovverride this just for the file attachment?Otherwise ,I have to create a rule to manually make every controls read-only on the form. Can anyone shine some light on this?
推荐答案
这是只读"视图的缺点之一.我还没有找到轻松解决它的方法.我的替代方法是将视图创建为非只读,但在设计过程中使所有控件均为只读.您不必使用规则-只需选中每个规则的复选框即可.是的,这很痛苦,但是您在设计期间只需要做一次(请记住是否添加了任何新字段以使它们也只能读).我还对文本框进行了阴影处理,以使用户不会感到困惑,并认为他们可以进行编辑,并将下拉菜单转换为文本框/标签等.以这种方式查看和打印要容易得多.如果您将文件附件控件设为仅直接在控件上只读,则用户可以保存或打开,但不能删除或覆盖.
That is one of the drawbacks to a "read only" view. I have not found a way around it easily. My alternative is to create the view as non read only but make all the controls read only during design. You don't have to use a rule - just check the box for each one. Yes it is a pain but you only have to do it one time during design (and remember if you add any new fields to make them read only as well). I also shade the text boxes so users don't get confused and think they can edit, and convert dropdowns to text boxes/labels, etc. Much easier to view and print that way. If you make a file attachment control read only directly on the control a user can save or open but not remove or overwrite.
这篇关于在InfoPath 2010只读视图中启用控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!