搜索查询返回结果,但Web部件未在显示模板中显示数据 [英] Search query return result but web part did not show data in display template

查看:92
本文介绍了搜索查询返回结果,但Web部件未在显示模板中显示数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

在编辑内容搜索Web部件并进行测试查询时,它给了我结果,但是当我保存页面时,记录未显示在页面上.

While edit content search web part and do the test Query then it is giving me result, but when i save the page, records are not showing on the page.

我是使用查询字符串参数过滤数据,根据查询字符串参数在页面上显示的数据.

I am Filter data using query string parameter, as per query string parameter showing data on the page.

同一页面适用于其他查询字符串参数,但不仅适用于一个特定查询字符串参数.

Same Page is working for other Query String parameter but not only one Specific Query String parameter. 

这个问题有任何线索吗?

Any Clue for the issue?

预先感谢.

Milan Jain

Milan Jain

推荐答案

嗨米兰,

请检查URL是否在查询字符串中包含特定参数.

Please check whether the URL contain the specific parameter in the query string or not.

尝试像这样使用:

{?MyTest:{QueryString.test}}

或者检查是否使用自定义显示模板.

Or check whether use the custom display template or not.

或者尝试使用内容查询Web部件来检查它是否满足您的要求.

Or try to use Content Query Web Part to check if it meet your requirement.

https://wmostafaw.wordpress.com/2012/06/15/filter-cqwp-using-query-string/

有关带有Query  String的Content Search Web部件的更多信息,供您参考:

More information about Content Search Web Part with Query String for your reference:

https://wonderlaura.com/2015/02/19/content-search-web-part-with-query-string/

如果仍然无法解决问题,建议您提供更多信息(有关重现此问题的步骤)以供进一步研究.

If still not works, I suggest you provide more information(the steps about how to reproduce this issue) for further research.

最好的问候,

丹尼斯


这篇关于搜索查询返回结果,但Web部件未在显示模板中显示数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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