Author Publishing

How to fetch records through REST API in Visualforce Page using JQuery

How to fetch records through REST API in Visualforce Page using JQuery

In this blog we will learn how to fetch records through REST API in visualforce page using jquery. Let’s get started. Fetch Records through REST API in Visualforce page using Jquery The code is mentioned below: <apex:page> <!– /** * Webkul Software. * * @category Webkul * @author Webkul * @copyright Copyright (c) 2010-2016 Webkul […]

Read More

How to fire Lightning Event from Visualforce Page

How to fire Lightning Event from Visualforce Page

In this blog, we will learn how to fire lightning event from visualforce page. We will be using apex:includeLightning and aura:dependency tags. Let us proceed with knowing about these tags in brief. Tag Reference A brief information about tags. 1) apex:includeLightning : It includes lightning components for Visualforce JavaScript library, lightning.out.js, according to the domain […]

Read More

What is Cross-Site Scripting?

What is Cross-Site Scripting?

In this blog, we will learn about cross-site scripting. Let’s start with what is cross-site scripting. What is Cross-Site Scripting? Cross-Site Scripting or XSS allows an attacker to destroy your existing project, or take advantage of it. XSS injection can be possible when there is a scope for the attacker to insert unauthorized JavaScript, VBScript, […]

Read More

How to create dynamic component on a button click in Lightning

How to create dynamic component on a button click in Lightning

In this blog, we will learn how to create a┬ádynamic component on a button click in Lightning. Let’s get started! Create Dynamic Component on button click To create a dynamic component, first of all, you need to create a Lightning Event, in which you define a parameter of the component type. <!–RemoveComponent.evt–> <aura:event type=”COMPONENT” description=”Event […]

Read More

How to fetch records through REST API in Apex class Salesforce

How to fetch records through REST API in Apex class Salesforce

In this blog we will learn how to fetch records of sObjects through REST API in Apex class in salesforce. Let us get started! prerequisites Whitelist your Salesforce base URL in Remote Sites. Step 1: Copy the Salesforce base URL. For example: “https://c.na40.visual.force.com/”. Step 2: Go to Setup > Security Controls > Remote Site Settings […]

Read More

How to create custom layout for community pages in salesforce

How to create custom layout for community pages in salesforce

In this blog we will learn how to create custom layout for community pages in salesforce using lightning components and using it through community builder. Prerequisites Community should be enabled. Make sure that community template has Builder option. Note : Only Salesforce Tabs + Visualforce template doesn’t have Builder option Important keywords 1) implements=”forceCommunity:layout” – […]

Read More