Posts

Showing posts from January, 2018

Change Owner / Update record using Lightning Custom Button Salesforce

Image
This post is related to changes the Owner or update the record from detail page in lightning. Actually we have standard button to change the owner of the record but when we click on the lighting button it will populate the popup and ask for user to change. But here the requirement is change the logged in user direcly when we click on the button. So here we created Custom lightning component with custom Quick action to complete this task. Standard Change Owner in Lightning In classic saleforce we used custom javascript buttons to execute the functionalites but lighting not support the javascript so here we created custom component with Quick action and added in the pagelayout so we can see it in lighting.and add the button in "Salesforce Mobile and Lightning Experience Actions" section. Add caption Lightning Button Pagelayout Change owner Lightning Button  <!--change owner lighting Component --> Component Name : changeowner.cmp <aura

Salesforce Data migration/Data Consolidation Tricks & Tips

Image
1) Change System TimeZone to UTC. Rightclick on date and time and click on Adjust date/time.in Time Zone select UTC Coordinated Universel time. Adjust date/time for salesforce data migration Adjust date/time for salesforce data migration 2) Update your dataloader time zone as GMT. Salesforce dataloader time Zone  3) Change time zone in salesforce user org to GMT+00:00 Greenwhich mean time GMT 4) While Exporting Data use UTF-8 to avoid special characters. 5) Always Use CSV file format to export and load the data. 6) While loading data keep short date system (yyyy-dd-mm)format in excel. 7) Save files with version names ex : samplefile_v1.csv 8) Turnoff Email Deliverabilities while loading data. 9) Check Field mapping in dataloader and save mapping file (slds) for feature use. 10) Check some records/data manually after load. 11) Store previous record id in any external unique field. 12 ) Learn vlookup in Microsoft excel, i will useful for Mapping

Salesforce Lightning Design System - SLDS

Image
Salesforce Lightning Design System :  Salesforce has 2 desktop user interface. 1) Salesforce classic 2) Lightning Experience Salesforce lightning Design System use to design responsive webpages compatable to all the devices. we know the Salesforce classic very well because we already working from long back.Now we will learn about what is Lightning Experience in Salesforce. Lightning Experience is a easy way to Design application userinterface and develop the functionality. it is completely modern way of designing. What we are doing in salesforce Classic, we can do it in salesforce lightning. but everyone thinking why we need to switch to Lightning ??? 1) We can track sales, services easily and close deals fastly. 2) More user friendly design using SLDS. 3) Less Design and Development Efforts. Lightning design system Salesforce lightning Design System helps to desing beautiful and powerful user friendly applications.It helps to build applications easily. We ca

Salesforce Classic to Lightning Intergration / Lightning Out Salesforce:

Image
What is the use of Lightning Out Salesforce ? Lightning Out is used to add lighting components into the Visualforce Page.it is a flexible and powerful feature provided by salesforce to embeded Lighting components into the any Web page. Once we embed lighting component in any visualforce page/ visualforce component we can see lightning component features in any webpage.this is possible by using lighting Out.we can display lightning component errors/exceptions also in visualforce pages. Is it possible to display ligtning component exceptions/errors in visualforce page ? Yes Is Lightning Out is a iframe ? No Where We can i Use Lighting Out ? Classic / Salesforce1 / Lightning Experience What are steps to create Lightning Out Functionality ? 1) Include <apex:includeLightning/> in the Visualforce to add Lightning components for visualforce javascript library.(Include it in begining of the page) 2) Create lightning application and include it in lighting Use.This is