I'm trying to pass the user id in the url for the visualforce page.

  • 1
  • Question
  • Updated 2 years ago
  • Answered
When logging in, the user id needs to be included in the url for the correct data to populate on this skuid page. The apex code below renders the url as "CAS_Child_Profile&id=0000000000000"

<apex:page standardController="User" recordSetVar="c"
extensions="skuid.Redirects" action="{!redirect}&page=CAS_Child_Profile&id={!User.id}">


Please help!

Photo of Tiara


  • 70 Points

Posted 2 years ago

  • 1
Photo of Bill McCullough

Bill McCullough, Champion

  • 13,822 Points 10k badge 2x thumb

For the 'id' parameter, please try:  {!$User.Id}

If that does not work, then you can access the Running User Id on any Skuid page using their merge variable:  {{$User.userId}}


Photo of Tiara Peele

Tiara Peele

  • 80 Points 75 badge 2x thumb
{!SUser.Id} worked.