ディープ・リンクURLの例

ディープ・リンクURLの例をいくつか紹介します。

ロケールの選択を含むDataSourceFilter

次のリンクでは、sales-discovery-dashboardアプリケーションのdata-resultsページを表示します。

データはDataSourceFilterを使用して絞り込まれ、DesignationがBest BuyのWinesデータ・セットのレコードのみが表示されます。ロケールはスペイン語に設定されます。

http://localhost:8080/web/sales-discovery-dashboard/data-results?doAsUserLanguageId=es_ES&deeplink=[{queryFunctions:[{"class":"DataSourceFilter","filterString":"Designation='Best Buy'","viewKey":"Wines"}]}]

RefinementFilterを使用したページおよびタブ移行

次のリンクでは、sales-discovery-dashboardアプリケーションのdata-resultsページを表示します。

ページには、Chartsという名前のタブ付きコンポーネント・コンテナの2番目のタブが表示されます。

データはRefinementFilterを使用して絞り込まれ、Vintage属性の値が1999のレコードのみが表示されます。

http://localhost:8080/web/sales-discovery-dashboard/data-results?com.endeca.discovery.
pageTransitionTabState=Charts[2]&deeplink=[{"queryFunctions":[{"class":"RefinementFilter","attributeValue":"1999","attributeKey":"Vintage","viewKey":"Wines"}]}]

複数のフィルタ

次のディープ・リンクでは、sales-discovery-dashboardアプリケーションのdata-resultsページに移動します。

データは次のように絞り込まれます。
  • RangeFilterを使用して、P_Priceが50から100のレコードのみを表示します。
  • SearchFilterを使用して、検索語redを含むレコードのみを表示します。
  • navByValueを使用して、RegionがOther Franceのレコードのみを表示します。
http://localhost:8080/web/sales-discovery-dashboard/data-results?deeplink=[
{"queryFunctions":[{"class":"RangeFilter", "attributeKey":"P_Price","rangeOperator":"BTWN","rangeType":"INTEGER","value1":"50","value2":"100","viewKey":"Wines"},
{"class":"SearchFilter","searchInterface":"default","terms":"red","matchMode":"ALL","searchWithin":"true","enableSnippeting":"true","snippetLength":"100","viewKey":"Wines"}]},
{"navByValue":{"viewKey":"Wines","values":{"Region":"Other France"}}}
]