How to remove share and retain button in the Performance Document

Activate the sandbox with the Page Composer tool

1. Click Structure

2. Highlight the button group to get to the node commandToolbarButton: Share and Retain, click Edit.

 
3. Click Show Component for Expression Builder, enter: #{!(pageFlowScope.pDocumentInfoMap['pPerformanceTaskCode'] == 'SHRPDOC' and pageFlowScope.pDocumentInfoMap['pPerformanceRoleCode'] == 'MANAGER')}

4. Click Test and OK, then Apply and OK. Click Close to exit Edit mode.

 

5. Check the result:

 

I hope this blog post was helpful for you. If you have any questions or feedback, please leave a comment below.

Talent Management
Posted by : Mohammad