※Excercise 6 は OPTIONAL です
1. バックアップディレクトリを作成する
2. BPE より、End User Menu というForm を Open する
3. File メニューより Save to Fileを選択し、バックアップをとる
4. <bootcamp>/custom/config/custom/phase1/Rule-areQuestionsAnswered.xml を読み込む
5. End User Menu Form に、このルールを使用する expression を追加する
defvar name="questionsAnswered"> <rule name="areQuestionsAnswered"> <argument name="questions" value="$(waveset.questions)"/> <argument name="loginInterface" value="UI_LOGIN_CONFIG_DISPLAY_NAME_ALL_INTERFACES"/> </rule>
/defvar>
- ) 6. End User Menuに、QuestionsNotAnsweredContainer, QuestionsAnsweredContainer という2つのフィールドを追加する
7. End User Menu の subtitle を authentication questions の解答未作成の場合に表示するロジックを追加する
font color='#ff0000'>You have not supplied answers to your authentication questions.<br/> The answers you supply will be used to verify your identity when you forget your password.<br/></font>
- ) 8. リポジトリへ格納する
9. http://<localhost>:<port>/<app>/debug より Configuration::System Configurationを編集する
Configuration id="#ID#Configuration:SystemConfiguration" … <Extension> <Object> <Attribute name="endUserAccess"> <Object> <Attribute name="Rule"> <List> <Object name="areQuestionsAnswered"/> </List> </Attribute> </Object> </Attribute> …
- )
10. エンドユーザ画面にて、機能変更を確認する。