• Sagar Vavale 4
  • 0 Points
  • Member since 2016

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
  • 0
I want to fetch Role name of the Parent Role of current Logged in User in single query

for that currently I am firing 2 queries as follow

UserRole uRole = [Select ParentRoleId, Name, Id From UserRole u where u.Id=:UserInfo.getUserRoleId()];
UserRole Manager_Role = [select Id, Name from UserRole where id=:uRole.ParentRoleId];

I have linked my lightning component with Quick action button,
but width of that pop-up has fixed width, my requirement is I want full screen to be acquire by that component.
through mew window or new tab,
How should I achieve this