Monthly Archives: November 2019

Dynamic Add or Remove Rows using Lightning Component

Hi, Here we have shown Inserting multiple records using Add Or Remove Row functionality in Lightning Component. If at all Account Name is empty, error message will be displayed in alert message. Apex Controller Lightning Component : addRemoveRowsDynamically Controller Js Helper Js Application Output Share this…WhatsappFacebookEmail

One component Picklist list value display in another component using Events in Lightning

Hi, Here we have shown, Based on picklist value you have selected, selected picklist value will be displayed in the child component using events. Here, we have shown the connection between 2 components. Data will be modified in 2 component based on 1st component picklist value. Apex Controller Lightning Event : component level event Lightning… Read More »

One Pageblocksection to another rendered using ActionFunction in Visualforce page in Salesforce

What is Action Function? apex:actionFunction component provides support for invoking controller action methods directly from JavaScript code using an AJAX request. It is different from actionsupport which only provides support for invoking controller action methods from other Visualforce components. In controller method we are checking if Rating is high then we are setting boolean variable… Read More »

Actionstatus & ActionSupport using Visualforce page

Here we used action status & action support. In this example we are showing some text message to user while AJAX request is in progress using actionstatus component. It shows some different message once request is complete. When user will click on ‘Click here for increment’ or ‘Click here for decrement’, then count will be… Read More »

Use of ActionStatus in Visualforce page salesforce

apex:actionStatus A component that displays the status of an AJAX update request. An AJAX request can either be in progress or complete. Using actionstatus, we can also display some gif (graphic Interchange Format), which shows to user that their request is in progress. Here we have also shown Apex:message after data inserted succesfully. Apex Controller… Read More »

Apex Action Poller in Visualforce page salesforce

What is actionpoller? When we want, the same action to be repeated we use actionpoller… Actionpoller acts as a timer in visualforce page. It is used to send an AJAX request to the server depending on the time interval that we specify in interval attribute (time interval has to be specified or else it defaults to 60 seconds).Each request can… Read More »