Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{anchor:top}
{toc: class=contents}

h2. Overview概要
{styleclass: Class=topLink}[topページトップ|#top]
{styleclass}
In order to ensure that
*User Prompt* filter value selection is as easy as possible for the user, it's a good idea to cache your filters, creating lists, rather than prompting them to enter values manually. It's also helpful to create dependencies between filters that are related. 

For example, if you have a ユーザープロンプト{*}フィルター値の選択をユーザーにとってできるだけ簡単なものにするには、手動で値を入力するように求めるのではなく、フィルターをキャッシュして一覧を作成するのが賢明です。また、関連するフィルター間の従属関係を作成しておくと役立ちます。

たとえば、「*Product Type* and 」と「*Product Code*」というフィルターがある場合、「Product filter, making the Product Code dependent on Product Type will allow the user to nominate a type, and only see the products that belong to that type, rather than the whole list. Code」を「Product Type」に従属させると、ユーザーがタイプを指定したときに、一覧全体ではなく、そのタイプに属する製品のみを表示できます。

h2. Setup設定
{styleclass: Class=topLink}[topページトップ|#top]
{styleclass}
# Add the required filters to your report
## Make sure the filters are listed in order of dependency; this will make it clearer to the user.
## Leave the filters as User Prompt so they are available for the user.必要なフィルターをレポートに追加します。
## フィルターが従属関係にしたがって表示されていることを確認します。これにより、ユーザーがより理解しやすいものになります。
## ユーザーがフィルターを使用できるように、「ユーザープロンプト」のままにします。
!01addFilters.png!
Inこの例では、「Camp thisRegion」、「Camp example, we've used the Camp Region, Camp Country, and Camp Name as filters, all set to In List in order to allow the user to select multiple values if required.
# Cache the top level filter of the dependency structure
## On the *Data* or *Output* step, click on the *Filter Formatting* menu at the top of the menu ribbon.
## Select the top level filter from the drop down list provided.
## Open the *Entry Style* menu, set the *Entry Type* to *Value List Selection*, and the values to be *Cached Values*.
## Click *Refresh Now* to generate a list of values for the filter.Country」、「Camp Name」がフィルターとして使用され、必要に応じてユーザーが複数の値を選択できるように、すべて「一覧に含む」に設定されています。
# 従属関係構造の第1レベルのフィルターをキャッシュします。
## 「*データ*」ステップまたは「*表示*」ステップで、メニューリボンの上部にある「*フィルターの書式*」メニューをクリックします。
## 表示されたドロップダウンメニューから第1レベルのフィルターを選択します。
## 「*入力スタイル*」メニューを開き、*入力タイプ{*}を「*一覧から値を選択*」に設定して、*値{*}を「*キャッシュされた値*」に設定します。
## 「*今すぐ更新*」をクリックし、フィルター値の一覧を生成します。
!02level1.png|thumbnail,border=1!
# Set the second level filter to be dependent on the top.第2レベルのフィルターが第1レベルに従属するように設定します。
## While in the *Filter Formatting* menu, select the second level filter from the filters list on the left.
## Open the *Display* menu and set the *Display Dependant On* value to the top level filter. 「*フィルターの書式*」メニューで、左側にあるフィルター一覧から第2レベルのフィルターを選択します。
## 「*表示*」メニューを開き、「*従属関係表示*」の値を第1レベルのフィルターに設定します。
!03level2dependant.png|thumbnail,border=1!
# Cache the second level filter as before以前と同様に、第2レベルのフィルターをキャッシュします。
## Repeat step 2 instructions for this filterこのフィルターについて、ステップ2の指示を繰り返します。
!03level2cache.png|thumbnail,border=1!
{color:#CC0000#cc0000}{*Note:}注意:*{color} when the dependency and caching is set up correctly, the second filter will be hidden until a value for the first filter has been selected. Each time values for the first filter are changed, the second filter value list should be refreshed.
# Set the dependency for remaining levels
## For each of the remaining filter levels, you will need set the dependency to the filter level directly above it, and then cache the filter.従属関係とキャッシュが正しく設定されると、第1レベルのフィルターの値が選択されるまで、第2レベルのフィルターは非表示になります。第1レベルフィルターの値が変更されるたびに、第2レベルフィルターの値の一覧が更新されます。
# 残りのレベルについても従属関係を設定します。
## 残りの各フィルターレベルで、そのすぐ上のフィルターレベルへの従属関係を設定してから、そのフィルターをキャッシュする必要があります。
!04level3dependant.png|thumbnail,border=1!
!04level3cache.png|thumbnail,border=1!
Once you've completed these steps, you should have filters available on your report that should display once the level above has a selection, and should refresh when that selection is changed. これらのステップを完了すると、レポートでフィルターが使用可能となり、それらのフィルターは上位レベルでの選択が行われると表示され、その選択が変更されると更新されます。

h2. Use用途
{styleclass: Class=topLink}[topページトップ|#top]
{styleclass}
In this example, *Europe* has been selected as the Region, and the Countries there are records in the database for have been displayed in the second level filter.この例では、地域として「*Europe*」が選択され、データベース内にレコードが存在する国が、第2レベルのフィルターに表示されています。
!05useLevel1.png!
Next, 次に、国として「*Germany* has been selected as the Country, so all the sites within Germany have been displayed.
」が選択されると、ドイツ内のすべてのサイトが表示されます。
!05useLevel2.png!
Finally, the user defines which sites they wish to view and applies the filters.
最終的に、ユーザーは表示するサイトを定義して、フィルターを適用します。
!05useLevel3.png!


\\
\\
{horizontalrule}
{styleclass: Class=topLink}[topページトップ|#top]
{styleclass}