We’ve migrated our documentation to a new site, which means some URLs have changed.
Audience

ページ情報出力

概要

こちらのワークスペースは、インデックスされている記事一覧を出力することができます。

image-20220221-021549.png

作成方法:

  1. ワークスペースへアクセスします。

  2. 「ウィジェットの追加」をクリック一覧出力します。

  3. 「ウィジェットの選択」をクリックします。

  4. 「外部コンテンツ」をクリックし、ウィジェットタイトルを入力し、「追加ボタン」をクリックします。

追加されたウィジェットのテキストボックスに以下を入力します。

https://onboarding.piano.io/public/insight-widgets/jps-newArticles.html?start={{start}}&stop={{stop}}&site={{site}}

オプションパラメータ:

名前

タイプ

内容

searchQuery

String

/document/search APIのqueryフィールド

searchFilter


/document/search APIのfilterフィールド

customFields

Array

/document/search APIのresultFieldsフィールド

sortOrder

String

publishtimeの日付でソートします。

descending又はascending ※デフォルト:descending-降順

count

String

結果を表示する件数 ※デフォルト:100、最大1,000

5. 右側の「表示」ボタンを押します。また、ウイジェットのサイズを適切なサイズに広げます。




Last updated: