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

Pulling HTML of Contact and Opportunity Objects

Hey all! 


I need to pull HTML of some custom fields I made on the contact and opportunity objects - is there a way to do this? 


It would be awesome if I could simply pull it like we can pull fields on the lead object!!


Any advice is much appreciated!



Jia HuJia Hu
What do you mean 'pull HTML of some custom fields'?

Do you want to move some custom fields to other objects?
If this is the story, you could use Eclipse to do this.

Thanks for the quick response!


No, I mean I'm integrating salesforce with another system.  I'm trying to get either 'html' or whatever it would be called of the custom fields I need to map to integrate the two systems.


Am I making this too complicated?  :)


Thanks for the help!



Jia HuJia Hu
I guess you can only get the data of each field, and you have to design the layout in the outer system.
Wonder WomanWonder Woman

Hi JG,


Are you integrating the external system by callouts?


What you can do is a VF page with a standard controller on the Contact/Opportunity (depends which object you want this page to appear on) and use apex:outputText for the values you read from the external system.


I hope this helps.