搜索具有某些值的信息路径表单 [英] Search for infopath form with certain values

查看:108
本文介绍了搜索具有某些值的信息路径表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在表单库的几个字段中查找具有特定值的信息路径表单.某些字段是形式的提升属性,但有些不是.

I would like look for infopath forms with specific values in a few fields in a form library. Some of the fields are promoted properties in the form, but some of them are not.

我知道我可以对升级字段使用SPQuery,但是那些不升级的字段如何?

I know I can use SPQuery for the promoted fields, but how about those are not promoted?

此外,一旦找到表单,我将在表单中显示一些字段(再次,其中一些被升级,而某些则未被升级),如何引用未升级的字段?

In addition, once the forms are found, I will display some of the fields in the form (again, some of them are promoted, some of them are not), how can I make refered to those which are not promoted?

请咨询.

推荐答案

您可以使用InfoPath表单的非升级字段的值进行搜索,因为SharePoint搜索会为xml文件提供完整的内容索引,例如:

You can search using the value of a non-promoted field of an InfoPath form because SharePoint search does a full content index for xml file, like:

但是,在SharePoint 2010的搜索中,如托管属性一样,InfoPath表单的非促销字段不可用.

However, non-promoted fields of InfoPath form are not available in search of SharePoint 2010 like managed property.

如果要在搜索结果中显示非升级字段,则需要将这些字段升级为库列,并为这些属性创建托管属性,然后自定义显示模板.

If you want to display non-promoted fields in search result, you need to promote these fields as library columns and create managed properties for these properties, then customize the display template.

谢谢

温迪


这篇关于搜索具有某些值的信息路径表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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