You need to sign in to do that
Don't have an account?
Vijay DOMINIC
[Visualforce Mobile] Implementing Object-Specific Actions with Visualforce Pages
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 :
Thanks
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
Thanks for the help Bryan!
if you need some help here my version : (french speaker so label in french :) )
<apex:page docType="html-5.0" title="ShowAssistantInfo" standardController="Contact" >
<apex:pageBlock >
<apex:outputfield label="Nom de l'assistante" id="nomassistante" value="{!Contact.AssistantName}"></apex:outputfield>
<a href="tel : {!Contact.AssistantPhone}">{!Contact.AssistantPhone}</a>
</apex:pageBlock>
</apex:page>
<apex:page docType="html-5.0" standardController="Contact" title="Assistant Information">
<apex:variable var="AssistantName" value="{!Contact.AssistantName}" />
<apex:variable var="AssistantPhone" value="{!Contact.AssistantPhone}" />
<p>Assistant : {!AssistantName}</p>
<p>Phone : <a href="tel:{!AssistantPhone}">{!AssistantPhone}</a></p>
</apex:page>