Change the Text at the Top of the Benefits Page

You can show different messages at the top of the Benefits page for specific audiences, such as a special message for new hires and the unaltered message for everyone else.

Before you start

Create a Sandbox and Make It Active

Here's what to do

  1. Go to Navigator > Configuration > Sandboxes.
  2. Enter your sandbox.
  3. Go to Me > Benefits.
  4. On the Settings and Actions menu, click Edit Pages.
  5. Confirm that the edit page header has Edit Layer: Site - SITE.
  6. On the View menu, select Source.
  7. Select the message at the top of the page.
  8. On the Confirm Shared Component Edit dialog box, click Edit.
  9. On the Source pane toolbar, click the Show the properties of Review your benefits package and relevant info before you enroll icon.
  10. On the Component Properties dialog box, in the Value field, select Expression Builder.
  11. On the Expression Editor dialog box, in the Type a value or expression field, enter the expression. For example, this expression shows new hires the message New Hire Benefits Enrollment. Everyone else sees the unaltered message.
    #{pageFlowScope.configurationMap.newHireFlag eq 'N' ? HcmBenefitsTopGenBundle['OText.Reviewyourbenefitspackageandrelevantinfo'] : 'New Hire Benefits Enrollment'}

    Here's how you can append text to the message, rather than showing an entirely different message to new hires:

    #{HcmBenefitsTopGenBundle['OText.Reviewyourbenefitspackageandrelevantinfo']} #{pageFlowScope.configurationMap.newHireFlag ne 'N'? 'New Hire Benefits Enrollment':''}
  12. Click OK.
  13. On the Component Properties dialog box, click Apply.
  14. Click OK.
  15. To render your changes, on the page, click Close.
  16. To verify your changes, on the Sandbox Mode: Edit menu, select Preview as if Published (Context: All).
  17. To publish your changes, on the <YourSandboxName> menu, select Publish.