Skip to main content

UI要素の設定

2 タスク

10 分

Visible to: All users
初級 Pega Platform '23 ユーザーエクスペリエンス Constellation 日本語

シナリオ

ロードサイドアシスタンスのリクエストが承認されると、顧客から提供された場所にサービスプロパイダが派遣されます。 このタスクを実行するために、カスタマーサービス担当者(CSR)は、サービスプロバイダーを選択する際に、Service Addressを確認し、変更する機能をリクエストします。

Boolean フィールドとIdentify locationビューをSelect service providerビューに追加し、CSRが顧客から送信されたサービスアドレスを確認できるようにします。 Boolean フィールドが選択されたときにIdentify locationビューが表示されるように設定します。

補足: このチャレンジのフレームワークでは、Pega Platform™のConstellationアーキテクチャを使用します。 従来のUIアーキテクチャでこのチャレンジを実践するには、バージョン8.8のチャレンジの「ボタンにダイナミックな機能を追加する」「フォームコンテンツの表示条件を設定する」を参照してください。

以下の表は、チャレンジに必要なログイン情報をまとめたものです。

ロール ユーザー名 パスワード
アプリケーションデベロッパー author@gogoroad pega123!
補足: 練習環境では、複数のチャレンジの完了をサポートする場合があります。 その結果、チャレンジのウォークスルーに表示される設定は、お客様の環境と完全に一致しない場合があります。

このチャレンジを完了するには、Pegaインスタンスを起動する必要があります。

起動には5分ほどかかることがありますので、しばらくお待ちください。

チャレンジ ウォークスルー

詳細なタスク

1 Select service providerビューにブール値フィールドを追加する

  1. チャレンジのPegaインスタンスに、以下のログイン情報を入力します。
    1. User nameフィールドに「author@gogoroad」と入力します。
    2. Password フィールドに「pega123!」と入力します。
  2. App Studioのナビゲーションパネルで、「Case Types > Assistance Request」をクリックします。
  3. Select service provider ステップをクリックして、右側にコンテキスチャルプロパティパネルを表示します。
  4. コンテキスチャルプロパティパネルで、「Configure View」をクリックしてSelect service providerビューを設定します。
  5. Fields セクションで、「 Add > Fields > Create new field」をクリックしてAdd fieldウィンドウを表示します。
  6. Name フィールドに「Modify service address」と入力します。
  7. Type 」リストで「Boolean」を選択します。
  8. Add field 」ウィンドウで、「Submit」をクリックします。
    Add field window for the Modify service address Boolean field

2 Identify locationビューの条件付き表示を追加して設定する

  1. Fields 」セクションで、「Add > Views > Identify location」をクリックしてから「Add」をクリックします。
  2. Identify locationビューの右側で、「Configure 」をクリックしてView settings: Identify location ウィンドウを表示します。
    Configure button to the right of Identify location
  3. Visibility 」リストで「Custom Condition」を選択します。
  4. Custom Conditionの右側で、「Configure Visibility Condition」をクリックして、Condition Builderウィンドウを表示します。
    Identify view Configure Conditional Visibility button
  5. Field 」リストで「Modify service address」を選択します。
  6. Conditional operatorリストで、デフォルト値の「 is true」をそのまま使用します。
  7. Condition Builder」ウィンドウで、「Submit」をクリックします。
    Condition Builder for the Identify location View
  8. View settings: Identify location 」ウィンドウで、「Save」をクリックします。
  9. Service providerフィールドの左側、ハンドルをクリックし、フィールドをFieldsセクションの一番下の位置にドラッグします。
    Select service provider View fully configured
  10. Submit 」をクリックしてSelect service providerビューに変更を送信します。
  11. Save 」をクリックして、Assistance Requestケースタイプを保存します。

作業の確認

  1. Save and run」をクリックして、Assistance Requestケースインスタンスを作成します。
  2. ケースをEnter customer informationビューに進めます。
  3. Customer IDリストで[email protected]を選択します。
  4. Next 」をクリックしてケースを Identify locationビューに進めます。
  5. Street, City, フィールドとStateフィールドに値を入力し、ケースをSelect service providerビューに進めます。
    Identify location view
  6. Select service providerビューで、Modify service address チェックボックスをクリックします。 
  7. Identify locationビューとともに、以前に入力した「Street」、「City」、「State」の値が表示されていることを確認します。
    Select service provider View with Modify service address selected
  8. Modify service address チェックボックスをオフにし、Identify locationビューが表示されていないことを確認します。
    Select service provider View with Modify service address un-checked

このチャレンジは、下記のモジュールで学習したことを実践するための内容です。


このモジュールは、下記のミッションにも含まれています。

If you are having problems with your training, please review the Pega Academy Support FAQs.

このコンテンツは役に立ちましたか?

改善できるところはありますか?

We'd prefer it if you saw us at our best.

Pega Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice