Salesforce Cookies #2

      No Comments on Salesforce Cookies #2

Now using Lightning Design System in Lightning Application is easier – No static resource is required to include CSS files. An application automatically gets Lightning Design System styles and design tokens if it extends force:slds. Same behaviour can be accomplished in Visualforce pages with the help of apex:slds component. Include  in a Visualforce page to use Lightning Design System stylesheets in the… Read more »

Salesforce Cookies #1

      No Comments on Salesforce Cookies #1

Accessing record ID in the Lightning component is very simple. Just use following things. Implements force:hasRecordId interface in the component as follows. <aura:component implements=”flexipage:availableForRecordHome,force:hasRecordId” access=”global”> Define an aura:attribute as follows. <aura:attribute name=”recordId” type=”String” description=”The ID of the record to be displayed. Provided by force:hasRecordId interface.”/>

Lightning Component – Display records in a dynamic table using FieldSet on any object

Recently, while answering on developer forums. I came across a question where someone asked about a lightning component to display records in the table using a fieldset. I tried to put my effort to create a generic lightning component which can be used with any object and a fieldset. After the release of new components like Lightning:RecordEditForm, this has become… Read more »

Display Google Map in the formula field using geo-location fields

I came across a question on the answer community where someone is looking for a solution to display the google map on detail page using geolocation field. I thought it’s a good topic to write about so everyone will get benefitted. Use case – I have a geolocation field on the Account object for storing the client’s office location, now… Read more »

Platform Cache – Using it to store the access token if there is no refresh token mechanism provided

In my last post, I explained pretty much about the Platform cache and that was more theoretical. This post explains a use case where I used the Platform cache in my project. I had a challenge while working on a 3rd party application integration using OAuth 2 where I couldn’t refresh the access token as this mechanism has not been implemented by… Read more »

Salesforce Platform cache – A booster in the application performance and for the developers as well

If you ever been in Java and .Net development and have moved to salesforce then you must had been missing one feature which is Session Management. This is something which every Salesforce developer waited for so long. It’s quite close to what we have in other server programming languages but with some limitations due to the multitenant environment of Salesforce…. Read more »