メインコンテンツへスキップ

Pull-Down Menus

DPQL Referenceで
作成者一覧
公開日: 2018年5月22日|最終更新日: 2022年11月3日

Pull-down menus Copy link to Pull-down menus to clipboard

When creating custom stats, you can set up specific values to be dynamically replaced by the user’s selection from a pull-down menu.

The same mechanism is used in the built-in stats which have pulldowns to choose a date range, ticket property, grouping field, order, etc.

image.png

To create a pull-down menu, you need to create a variable in the stat builder for that particular stat, and then put code in two places:

First, create a variable by clicking Add Variable within the stat you want to create.

Determine the ID, this will be used to refer to the variable in the title of the stat - allowing you to create a pull down menu. It will also be referred to in the query itself.

Determine the rest of the variable criteria as necessary.

image.png

Now, add the variable ID to both the title and query.

image.png

  • Title - this is where you can select which value you want for dynamic replacement. A default value is specified here in the variable itself. The format should be ${date}.
  • The query - this is where the actual replacement is made to run the correct query. The general form again is ${date}.
参考になった役に立たない

Pull-Down Menus のページ

Date Ranges
作成者一覧
公開日: 2018年5月22日
最終更新日: 2022年11月3日
Ticket Statuses
作成者一覧
公開日: 2018年5月15日
最終更新日: 2022年11月3日
Field Groups
作成者一覧
公開日: 2018年5月22日
最終更新日: 2022年11月3日
Ordering
作成者一覧
公開日: 2018年5月22日
最終更新日: 2018年5月22日
次のページCross-referencing Table Fields
前のページAccessing Custom Fields

コメントを投稿するには、ログインまたは登録が必要です。

ページ区分