You need to sign in to do that
Don't have an account?
William Terry 12
Trail Head Challenge DisplayUserInfo using dynamic global variables
Can anyone suggest a fix? Thanks in advance for your help.
<apex:page showHeader="false">
<apex:pageBlock title="User Status">
<apex:pageBlockSection columns="1">
{! $User.FirstName } {! $User.LastName } ({! $User.Username })
</apex:pageBlockSection>
</apex:pageBlock>
</apex:page>
Challenge not yet complete... here's what's wrong:
The Visualforce page did not fit the criteria. The first name of the logged in user was not output using dynamic global variables.
<apex:page showHeader="false">
<apex:pageBlock title="User Status">
<apex:pageBlockSection columns="1">
{! $User.FirstName } {! $User.LastName } ({! $User.Username })
</apex:pageBlockSection>
</apex:pageBlock>
</apex:page>
Challenge not yet complete... here's what's wrong:
The Visualforce page did not fit the criteria. The first name of the logged in user was not output using dynamic global variables.
to
and you should be good to go.
If my answer helps resolve your query, please mark it as the 'Best Answer' and upvote it to benefit others and improve the overall quality of Discussion Forums.
Gaurav Kheterpal
Certified Force.com Developer| Developer Forums Moderator| Dreamforce Speaker
All Answers
to
and you should be good to go.
If my answer helps resolve your query, please mark it as the 'Best Answer' and upvote it to benefit others and improve the overall quality of Discussion Forums.
Gaurav Kheterpal
Certified Force.com Developer| Developer Forums Moderator| Dreamforce Speaker
It is asking only user's first name.
Challenge: Create a Visualforce page that displays the first name of the logged-in user.
Here's code:
<apex:page >
{!$User.FirstName}
</apex:page>