xml 这些示例显示将搜索参数传递到查询字符串或从发布数据传递到节点查询

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了xml 这些示例显示将搜索参数传递到查询字符串或从发布数据传递到节点查询相关的知识,希望对你有一定的参考价值。

<control name="News Listing Using Node Query" showInMenu="true" category="Dev Training" viewingGroup="1">
	<properties>
		<nodeQuery name="NewsArticlesQuery" orderby="Property_DatePublished desc">
			<where property="Type" operator="IsEqualTo" value="News" />
          			<and property="Title" operator="Contains" value="@Request.Querystring.Keywords" />
          			<and property="Data.TaxonomyCategories" operator="Contains" value="@Request.Querystring.category" />
			</nodeQuery>
  </properties>
</control>

<control name="News Listing Using Node Query" showInMenu="true" category="Dev Training" viewingGroup="1">
	<properties>
		<nodeQuery name="NewsArticlesQuery" orderby="Property_DatePublished desc">
			<where property="Type" operator="IsEqualTo" value="News" />
          			<and property="Title" operator="Contains" value="@Request.Form.Keywords" />
          			<and property="Data.TaxonomyCategories" operator="Contains" value="@Request.Form. categoryFilter" />
			</nodeQuery>
  </properties>
</control>

以上是关于xml 这些示例显示将搜索参数传递到查询字符串或从发布数据传递到节点查询的主要内容,如果未能解决你的问题,请参考以下文章

Oracle将多行的两个参数提供给子查询(或从查询到另一个)

在使用get请求时,也可以向请求中传递url参数对吗?

访问报表传递参数到子报表查询

使用 Azure AD 在两者之间登录时,如何将查询字符串参数或 POST 数据传递到重定向站点?

通过 jquery 传递搜索参数

从函数调用传递参数或从变量传递参数之间的 C++ 区别