function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ranjitha Prabhu 10Ranjitha Prabhu 10 

The 'ShowAssistantInfo' page isn't referencing the Assistant Phone variable.

I am stuck up with this challenge in Visualforce mobile module,Where in i need to use Visualforce page that must display the assistant's phone number using a 'tel:' hyperlink. am getting the above error
Could you please post your code ?
Your hyperlink markup is strangely written.
Here is my page :
<apex:page standardController="Contact">
    {!contact.AssistantName} <a href="tel:{!contact.AssistantPhone}">{!contact.AssistantPhone}</a>

Ranjitha Prabhu 10Ranjitha Prabhu 10

Pavlo ShchurPavlo Shchur
Could somebody check wether my markup is appropriate or not?
<apex:page standardController="Contact" showHeader="false" standardStylesheets="false" sidebar="false" applyHtmlTag="false" applyBodyTag="false" docType="html-5.0">
    <html xmlns="" xmlns:xlink="" lang="en">
            <meta charset="utf-8" />
            <meta http-equiv="x-ua-compatible" content="ie=edge" />
            <title>SLDS AssistantInfo Page in Salesforce Mobile</title>
            <meta name="viewport" content="width=device-width, initial-scale=1" />
            <apex:slds />
            <div class="slds-scope">
                <div class="myapp">
                    {!contact.AssistantName} <a href="tel:{!contact.AssistantPhone}">{!contact.AssistantPhone}</a>

Use to create VF Page Called "ShowAssistantInfo" and Create a Action in Contact Object and Enable the Quick Action in Page Layout of Contacts.
<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}"/>
Assistant: {!AssistantName}
Phone: <a href="tel:{!AssistantPhone}">{!AssistantPhone}</a>
  <!-- Begin Default Content REMOVE THIS -->
  This is your new Page
  <!-- End Default Content REMOVE THIS -->

Thanks & Regards,
Sakthivel Madesh
@Pavlo Shchur

Yes it is Correct and Executed.