Posts

Showing posts from 2017

HOW TO PASS VALUE FROM LIGHTNING COMPONENT TO CLIENT-SIDE CONTROLLER AND CLIENT-SIDE CONTROLLER TO SERVER-SIDE CONTROLLER

Image
Today i will share some simple lightning for those who are the beginner in Lightning. I know the is a lot of stuff for apex and visualforce but there is less resource for learning lightning. So here i am sharing some basic lightning stuff with you. After that chapter you will learn :- - How to take the value from lightning form to client-side controller. -How to  apply css in lightning component. -How to create and pass the value from client-side controller to server-side(Apex) controller. Here i will share the all the code snippet for all. Try to understand the meaning of the code if you can't able to understand please contact me or email me for any doubt. Step 1. Create Lightning app name as SimpleForm Step 2. Create Lightning component give the name FormComponent and paste the below code. <aura:component controller=" SimpleServerSideController ">         <div align="center" class="test">     ...

SALESFORCE INTEGRATION FROM 46ELKS USING REST API

Image
Salesforce Integration with 46elks using Rest Api : Hi Guys, Today i will share the new integration with salesforce.  Basically 46elks provide the service for phone call and send message. That is so simple. for  this you have to create the trail account on 46elks. after creating account on 46elks you will get you api credential  for using the service. So, Here we go....... Here i am sharing some code snippet for that :  Visualforce Page: <apex:page controller="SalesforceElk" tabStyle="Account">     <apex:form id="frm">         <apex:outputText value="{!error}" style="color:green;font-weight:50px"/>          <apex:pageBlock title="Call From Elk">             <apex:pageBlockSection collapsible="false" columns="2" title="Call Information">                 <apex:inputText value="{!callnumber...

Salesforce Integration with Plivo using Rest Api

Image
Visualforce Page: <apex:page controller="PilvoCntrl" tabStyle="Account">     <apex:form id="frm">         <apex:outputText value="{!error}" style="color:green;font-weight:50px"/>          <apex:pageBlock title="Call From Plivo">             <apex:pageBlockSection collapsible="false" columns="2" title="Call Information">                  <apex:commandButton value="Call" action="{!callPlivo}" reRender="frm"/>             </apex:pageBlockSection>        </apex:pageBlock>     </apex:form>   </apex:page> Apex Controller: public class PilvoCntrl{        public String error{get;set;}     public PilvoCntrl(){}          public void callPlivo() { ...

SALESFORCE INTEGRATION FROM TWILIO USING REST API

Integration with twilio using rest api. Using twilio service we can  send message  and  make call  to any numbers(Numbers should be verified from twilio). For doing this we should have little knowledge of  rest api .  Here i share snippet of the code of  Visualforce page and the Apex controller for both sending message and making call : For sending message : Visualforce Page:  < apex:page controller="SendMessage" tabStyle="Send_Message__tab">          < apex:form id="frm" >         < apex:outputText value="{!error}" style="color:green;font-weight:50px"/ >           < apex:pageBlock title="Message Sender" >             < apex:pageBlockSection columns="2" title="Information" collapsible="false" >                           ...