您可以在用户首次访问 Edge 界面时显示意见征求横幅。意见征求横幅会显示 HTML 格式的文本和一个按钮,用户选择该按钮即可进入登录界面。例如:
如需添加意见征求横幅,请执行以下操作:
通过编辑器打开 ui.properties 文件。 如果该文件不存在,请创建它:
vi /opt/apigee/customer/application/ui.properties
设置以下属性:
# Enable the consent banner:
conf_apigee-base_apigee.feature.enableconsentbanner="true"
# Set the button text:
conf_apigee-base_apigee.consentbanner.buttoncaption="I Agree"
# Set the HTML text:
conf_apigee-base_apigee.consentbanner.body="<h1>Notice and Consent Banner</h1>
<div><p>Enter your consent text here.</p></div>"