Salesforce CLI Installation, Commands, Configuration and Advantages

The Salesforce CLI is a powerful command line interface that simplifies development and build automation when working with your Salesforce org. Use it to: Aggregate all the tools you need to develop with and perform commands against your Salesforce org Synchronize source to and from scratch orgs Create and manage orgs Import and export data …

Continue reading Salesforce CLI Installation, Commands, Configuration and Advantages

Advertisements

Key Points for Successful Digital Transformation

What is Digital Transformation? Digital transformation is the integration of digital technology into all areas of a business, resulting in fundamental changes in how a business operates and the value they deliver to their customers. Digital transformation offers organisations an opportunity to understand the modern-day buyer, engage with them and deliver on their expectations of …

Continue reading Key Points for Successful Digital Transformation

2019 Best Places to work- By Glass door

Here is the latest ranking of Top 100 best companies rated by Glassdoor. And Salesforce stands at 11th Position(with 4.4 rating) Full rankings: You can see the full list at Glassdoor. We’ve also shared all of them below. Bain & Company Zoom Video Communications In-N-Out Burger Procore Technologies Boston Consulting Group LinkedIn Facebook Google Lululemon Southwest Airlines …

Continue reading 2019 Best Places to work- By Glass door

New way to work on salesforce(Salesforce Simplified)

Thanks Rajni kanth Roy for reaching me to share your salesforce extension tool in my blog. Hope many salesforce developers will use this extension and get promoted. Here we got new way to work on salesforce to complete your daily development work faster, easier, funnier and in brand new way. Problem statements Let me ask …

Continue reading New way to work on salesforce(Salesforce Simplified)

Installation and Usage of GitHub

Installation and Usage of GitHub 1. Go to https://desktop.github.com/. 2. Download GITHUB desktop Client. 3. Open the downloaded file. 4. Click Sign Into GitHub.com 5. Enter your username and password and login.   How to use GITHUB as version control in Salesforce? 1. Go to https://github.com/. 2. Create an account or use your existing account. 3. Create …

Continue reading Installation and Usage of GitHub

Import CSV file data using Apex & VF page

Here is the sample example how to import csv file data into salesforce. VF Page: <apex:page sidebar="false" controller="ImportCSVFile"> <apex:form > <apex:sectionHeader title="Upload CSV data File"/> <apex:pageBlock > <center> <apex:inputFile value="{!FileContent}" filename="{!Filename}" /> <apex:commandButton action="{!ReadFile}" value="Upload File" id="theButton" style="width:70px;"/> <br/> <br/> <font color="red"> <b>Note: Please use the standard template to upload Accounts.</b> </font> </center> <apex:pageblocktable value="{!uploadedAccounts}" …

Continue reading Import CSV file data using Apex & VF page

Upload the file from external system into salesforce

This is sample example how to fetch one file in google system (example: Live Agent guide) Url: https://resources.docs.salesforce.com/sfdc/pdf/live_agent_dev_guide.pdf and uploading as a attachment into contact record in salesforce. Apex Class: Public class UploadFileintoSalesforce{ public static blob fetchfile(String fileurl){ Http h = new Http(); HttpRequest req = new HttpRequest(); fileurl = fileurl.replace(' ', '%20'); //Set the end point URL req.setEndpoint(fileurl); req.setMethod('GET'); req.setHeader('Content-Type', 'application/pdf'); req.setCompressed(true); req.setTimeout(60000); HttpResponse res  = h.send(req); system.debug('Response  ' + res.getBody()); blob Fileret = res.getBodyAsBlob(); return Fileret; } public static Id createAttachment(blob fileContent, String recordId, String fileType){ //for pdf files content type should be pdf //for jpeg file content type should be image/jpeg Attachment attach = new Attachment(); attach.ParentId = recordId; attach.Name = 'FileAttached.pdf'; attach.Body = fileContent; attach.contentType = fileType; insert attach; …

Continue reading Upload the file from external system into salesforce