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
AbAb 

open a lighning page and send data to webservice

Hello,

I have below use case
When standard picklist is changed a popup opens.
Pop up will be a lightning component with some input values.
There will be a button to send save.
Once the button is clicked, a function in class will be called (ideally a webservice)

an someone guide me on the technical logic to implement ?
Best Answer chosen by Ab
Khan AnasKhan Anas (Salesforce Developers) 
Hi Sandrine,

Greetings to you!

Please refer to the below links which might help you further with the above requirement.

http://sfdcmonkey.com/2017/01/02/http-callout-lightning-component/

http://sfdcode.com/integration/making-third-party-API-calls-from-lightning-components/

https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/js_api_calls_platform.htm

http://www.crmscience.com/single-post/2016/08/09/Bringing-Data-From-REST-to-Your-Salesforce-Lightning-Component-Part-2

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas