You need to sign in to do that
Don't have an account?
Kumar5
Trying ot rendering with two profiles
Hi Team,
please help me the rendering with two profiles first column should not availble for two profiles and secon should n
<apex:column rendered="{!NOT (isProfile1 || isProfile2) }">
<apex:facet name="header">Service </apex:facet>
<apex:inputField value="{!oppEnd_Date__c}" id="End_Date" style="width:130px" />
</apex:column>
<apex:column rendered="{!OR (!isProfile1 || !isProfile2) }">
<apex:facet name="header" > Partner</apex:facet>
<apex:inputField value="{!opp.Partner__c}" id="Partner" style="width:130px" />
</div>
</apex:column>
Thanks for your help in advance.
Thanks,
Kumar
please help me the rendering with two profiles first column should not availble for two profiles and secon should n
<apex:column rendered="{!NOT (isProfile1 || isProfile2) }">
<apex:facet name="header">Service </apex:facet>
<apex:inputField value="{!oppEnd_Date__c}" id="End_Date" style="width:130px" />
</apex:column>
<apex:column rendered="{!OR (!isProfile1 || !isProfile2) }">
<apex:facet name="header" > Partner</apex:facet>
<apex:inputField value="{!opp.Partner__c}" id="Partner" style="width:130px" />
</div>
</apex:column>
Thanks for your help in advance.
Thanks,
Kumar
Hi Kumar,
Make sure that the values of isProfile1 and isProfile2 are set rightly. I tested the logic by making my own VF page and its working fine.
I might be able to help you better if you could just share the code.
All Answers
First column condition seems fine.
For second column use try this:
Let me know if it helps.
Thanks!
Thanks but it is not working, it is showing to other profiles also
Hi Kumar,
Make sure that the values of isProfile1 and isProfile2 are set rightly. I tested the logic by making my own VF page and its working fine.
I might be able to help you better if you could just share the code.