Is there any reason why the apex:outputField in a visualforce page rendered as a PDF would not be formatting the phone numbers?
<apex:outputPanel rendered="{! generalContact.Phone_Field__c== '' }">
-----
</apex:outputPanel>
<apex:outputPanel rendered="{! generalContact.Phone_Field__c!= '' }">
<apex:outputField value="{! generalContact.Phone_Field__c}"/>
</apex:outputPanel>
Phone number in Lightning view
Phone number in PDF view. Disregard the differences in label; I was required to give the label name 'Work Phone' and, for posting purposes, I put an arbitrary phone name as a stand in for the actual field name. I'm referencing the same field, so this is not the issue at hand. Formatting is.
I am also unable to format the field like an outputText with params since it is not a number/date/time/choice field.
5555555555
according to workbench. I did some reading over how the numbers are stored, and it seems as though it depends on the criteria, although, with the given numbers, that does not appear to be true. help.salesforce.com/… – JRiffe Nov 1 '19 at 20:52