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
TNOPPV5 TrunkTNOPPV5 Trunk 

How to convert one record data to XML and send to my personal server

Hi all,

I want to fetch data from last 1000 records of opportunity and want to set that data in XML format. After set it in XML, I want to send it to my personal url or server. ( External server)

That everythin i want to set on button click. 

I am not getting any way to convert the data into XML

Can somone help how can i achieve this requirement?
BalajiRanganathanBalajiRanganathan
On the External Server, you can develop a page/url. which will consume Salesforce REST API or BULK API, which can return the data in Xml and you can link the external URL as custom Link or Button in SFDC.