You can disable feedback sections for specific user roles using Page Composer and EL
expressions. This procedure describes how you can disable the Feedback Requests About Me
section from an employee's feedback spotlight page.
Before you start
Create a sandbox with the Structure and Page
Composer tools in it, and activate it.
Here's what to do
-
Open a feedback spotlight page. For example, go to .
-
Click your user name or image in the global header, and select Edit
Pages.
-
Click the Structure tab. A component panel appears at
the end of the page. Drag it to the middle of the page to view the list of page
components.
-
Select the Feedback Requests About Me section heading on
the Feedback page. If a dialog box appears, prompting you to confirm editing of
the component, click Edit.
-
In the component panel, select the panelCollectionEdit
value.
-
On the component panel’s toolbar, click the Show the properties of
panelCollectionEdit icon.
-
In the dialog box that appears, click the Show Component
menu, and select Expression Builder.
-
Type this EL expression and click OK:
#{!(pageFlowScope.params['pLoggedInPersonId'] eq pageFlowScope.params['pWorkerPersonId'])}
-
Click Apply, and then click OK.
-
Click Close on the top right of the page to exit the
Edit Pages mode.
Results:
The Feedback Requests About Me section is now hidden when an
employee views their feedback spotlight page.