For more information, please refer to this announcement explaining best practices for getting answers to questions.
Unable to hide share performance document option only from one performance document
Summary:
We have tried to hide the "Share & Release" and "Share and Retain" buttons from only one performance document. But it will hide from all the performance documents when the below mentioned EL expression is used.
#{pageFlowScope.pDocumentInfoMap['pPerformanceTaskCode'] != 'SHRPDOC'}
And we have tried the following using to hide from the performance document type as well and these also didn't work.
#{pageFlowScope.pDocumentInfoMap['pDocumentTypeName']!='Mid-Year Review' and pageFlowScope.pDocumentInfoMap['pPerformanceTaskCode'] != 'SHRPDOC'}
#{pageFlowScope.pDocumentInfoMap['pPerformanceTaskCode'] != 'SHRPDOC' and pageFlowScope.pDocumentInfoMap['pDocumentTypeName']!='Mid-Year Review'}
#{pageFlowScope.pDocumentInfoMap['pPerformanceTaskCode'] != 'SHRPDOC' and pageFlowScope.pDocumentInfoMap['pDocumentTypeName']=='Year-End Review'}
I only want to hide this option from the Year-End Performance document type and the same option should be available for the Mid-Year performance document. Any idea on how to hide the Share performance document actions from only one performance document.