同意バナーを有効にする
ユーザーが最初に Edge UI にアクセスしたときに、同意モードのバナーを表示できます。同意バナーには、HTML 形式のテキストと、ユーザーがログイン画面に進むボタンを選択します。次に例を示します。
同意モードのバナーを追加するには:
- エディタで ui.properties ファイルを開きます。ファイルが存在しない場合は作成します。
> vi
/opt/apigee/customer/application/ui.properties
- 次のプロパティを設定します。
# 同意バナーを有効にします。
conf_apigee-base_apigee.feature.enableconsentbanner="true"
# ボタンのテキストを設定します。
conf_apigee-base_apigee.consentbanner.buttoncaption="同意する{/1}
# HTML テキストを設定します。
conf_apigee-base_apigee.consentbanner.body="<h1>通知と同意バナー</h1><div><p>同意テキストをここに入力します。</p></div>"
- 変更を保存します。
- Edge UI を再起動します。
>
/opt/apigee/apigee-service/bin/apigee-service edge-ui restart
次回ブラウザで Edge UI を開くと、ログインする前に契約に同意する必要があります。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-02-07 UTC。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"必要な情報がない"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"複雑すぎる / 手順が多すぎる"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"最新ではない"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻訳に関する問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"サンプル / コードに問題がある"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"その他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"わかりやすい"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"問題の解決に役立った"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"その他"
}]