• Vijay DOMINIC
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 2
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
Hello,
I can't manage to finish this challenge. I got this error : 
" The 'ShowAssistantInfo' page isn't referencing the Assistant Name variable."
I used the <apex:variable> to create the variables but still got the error.

Here is my code :
<apex:page docType="html-5.0" standardController="Contact" title="Assistant Information">
    <apex:variable var="AssistantName" value="{!Contact.Name}" />
    <apex:variable var="AssistantPhone" value="{!Contact.Phone}" />
	<p>Assistant : {!AssistantName}</p>
	<p>Phone : <a href="tel:{!AssistantPhone}">{!AssistantPhone}</a></p>
</apex:page>

Thanks
Hello,
I can't manage to finish this challenge. I got this error : 
" The 'ShowAssistantInfo' page isn't referencing the Assistant Name variable."
I used the <apex:variable> to create the variables but still got the error.

Here is my code :
<apex:page docType="html-5.0" standardController="Contact" title="Assistant Information">
    <apex:variable var="AssistantName" value="{!Contact.Name}" />
    <apex:variable var="AssistantPhone" value="{!Contact.Phone}" />
	<p>Assistant : {!AssistantName}</p>
	<p>Phone : <a href="tel:{!AssistantPhone}">{!AssistantPhone}</a></p>
</apex:page>

Thanks
Can someone please give the complete Visualforce page code? Cannot get mine to work.
Hello,
I can't manage to finish this challenge. I got this error : 
" The 'ShowAssistantInfo' page isn't referencing the Assistant Name variable."
I used the <apex:variable> to create the variables but still got the error.

Here is my code :
<apex:page docType="html-5.0" standardController="Contact" title="Assistant Information">
    <apex:variable var="AssistantName" value="{!Contact.Name}" />
    <apex:variable var="AssistantPhone" value="{!Contact.Phone}" />
	<p>Assistant : {!AssistantName}</p>
	<p>Phone : <a href="tel:{!AssistantPhone}">{!AssistantPhone}</a></p>
</apex:page>

Thanks