• magdiel
  • 0 Points
  • Member since 2011

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
  • 3


Hi Everyone,



I would like to check logged user role with a role of particular record owner. If logged user role is on top of the record owner user role then I would like to show a visualforce page. any idea How to do that it very simply ?


Thanks in advance !

Hi there,


I want to know if it's possible to check if the current user's Role is higher than another user's role through Apex. Is this possible? Thanks.



  • October 21, 2010
  • Like
  • 0

Hey all,


What I am trying to do here is create dynamic columns based on some attributes. However, I am getting a complaint that <apex:column> needs to be the direct child of <apex:pageTable>. Is there any way I can get those columns to repeat through the object's attributes? I found one solution that uses standard HTML <table>'s, etc, but that loses all the SF formatting, which is very important on this project.


Here is what I was trying:


<apex:repeat value="{!AttrDefs}" var="attr">
    <apex:facet name="header">
<apex:outputLabel value="{!attr.Name}"/>
</apex:facet> <apex:inputText value="{!row.col1}" /> </apex:column> </apex:repeat>

Thanks for suggestions!