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
Mahendiran Jayavarma 24Mahendiran Jayavarma 24 

Is it possible to insert data into other system from visualforce page . It may be a SQL server.

Hi Friends,

I am new to integration.  Actually we have differnt record type in a object. When I choose one of the record type , the appropriate type data needs to be stored in other system . it may be SQL server.

Is it possible to insert data into other system from visualforce page and apex ?

Please advise if any solution ?
Thank you.
 
VinayVinay (Salesforce Developers) 
Hi Mahendiran,

Yes, you can insert data into other systems from VF however you would need to have an apex controller that makes API call to external system based on the criteria given as per your requirement.

Check below references for more details.

https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/calls.htm
https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/apex_api_calls.htm

Hope this helps...

Thanks,