SlideShare a Scribd company logo
1 of 19
Code repository management
This blog is for an Intermediate developer who is planning to do
Salesforce backup and code management using Git. Unlike Java
Salesforce does not have a code versioning system. I am going to
demonstrate how we can use Git and Eclipse(Local code base) to have this
code management in place.
Code Repository Management
Steps to follow
Step 1 : We have a Requirement to create a new Lead source as Web2. Developer have done some changes based
upon a requirement and have marked the ticket #227 as done in project management tool? Quality Analyst(QA) gal
got this ticket #277 To test in order to test the ticket she created a Lead and set the value of Lead source as ‘Web2’ as
we were told to do so. Screenshot below
Step 2 : QA will 'retrieve' code from Sandbox using Eclipse Force.com IDE tool to do the task.
Next QA will retrieve the class from sandbox in order to do that go to eclipse click File > New > Force.com
Project
Now Type a project name then type your organization’s Username and Password and if you have the security
token you can add it too in the next field but if you don’t have the security token you can create one from your
org or you can whitelist your IP to skip the security token part. Fill the correct details then click Next.
Next step
is to
select the
metadata
you want
to
retrieve
from the
Sandbox
and then
click OK.
You can now see the metadata which you have retrieved in your local system.
Git Remote repository
Salesforce
org
3
5
6 1
2
4
Local Repository
Code sandbox serverCode remote server
Testing
Code retrieval
Deploy to Production
Push
local to
remote
Code from
Git to local
Commit
Question 3 : Describes the steps to ‘commit’ to local repository, what tools did you use?
And
Question 4 : Describes the steps to ‘push’ to remote repository,what tools did you use?
Solution : We used Eclipse to do this task as well
What we did to implement the logic:
Step 1 : First of all we have installed Git plugin for eclipse for deployment and retrieval process. To do so we have followed these
following steps:
1.1. In Eclipse(any version), Go to help > install new software.
Click on Add New button name the Repository(any) and copy and paste this url in the location field url :
http://download.eclipse.org/egit/updates
Next Install the available softwares.
1.2. Now go to Window > Perspective > Open Perspective >
Other or Click on perspective link and select Git from the
available list.
Than click Clone Repository button.
1.3. Enter your Bitbucket URL and User
Information as mentioned in below diagram.
Click Next and Finish. No need to change
other configuration in next window.
To get the BitBucket URL
First Register to Bitbucket create a Repository public/private your choice. On Overview page
https://bitbucket.org/dashboard/overview, look for your repository information.
Mouse hover will give you Repository URL.You can use this URL in Previous step.
1.4. You can see your Bitbucket Repository now in eclipse.
1.5. Now you may want to import the project so you can work on the source code.
Click Windows > Open Perspective > Resource
Then click File >Import > Git > Projects from Git > Existing local repository > Select a Git Repository > Import as General
Project > Next > Finish
1. The code should then appear in your ‘Project Explorer’ window as a normal project
2. Now make changes to your file as you want.
3. Look at ‘Git Staging’ view to see your changed files and Click ‘Commit and Push‘ and in case if you want to commit it
only for your local repository then press the commit button.
Question 5 : Describes the steps taken to deploy code to ‘Salesforce – Production; what tools did you use?
Solution : We used Eclipse Force.com IDE to deploy the code in sandbox. To deploy the code in production right click on
the class or the code which you need to deploy than select Force.com > Deploy to server
After clicking on deploy to server you will be asked for your production credentials.
After filling the details click on the Next button below then you will be asked for Archive Options than either you can select
a destination folder in which you want to store the errors or success messages which occurred or if you are confident
enough than you can skip that part and uncheck the destination field checkbox then click next.
Than it will ask you to validate the selected classes before deployment or you can take a risk and directly click on the next
button below to deploy the code.
And if your confidence was right than you get a success message.
And you are done you have successfully deployed the metadata
in the production.
THANK YOU

More Related Content

What's hot

Visual studio 2012 Preview
Visual studio 2012 PreviewVisual studio 2012 Preview
Visual studio 2012 PreviewRobert MacLean
 
Testing, CI and CD in the real world
Testing, CI and CD in the real worldTesting, CI and CD in the real world
Testing, CI and CD in the real worldRoc Boronat
 
Katalon Studio - GUI Overview
Katalon Studio - GUI OverviewKatalon Studio - GUI Overview
Katalon Studio - GUI OverviewKatalon Studio
 
Automation Testing with KATALON Cucumber BDD
Automation Testing with KATALON Cucumber BDDAutomation Testing with KATALON Cucumber BDD
Automation Testing with KATALON Cucumber BDDRapidValue
 
continous integration and delivery
continous integration and deliverycontinous integration and delivery
continous integration and deliverySamarjeet Saurabh
 
Tutorial - 14 How to insert a verification point from the script explorer usi...
Tutorial - 14 How to insert a verification point from the script explorer usi...Tutorial - 14 How to insert a verification point from the script explorer usi...
Tutorial - 14 How to insert a verification point from the script explorer usi...Yogindernath Gupta
 
Building An Application
Building An ApplicationBuilding An Application
Building An ApplicationProdigyView
 
Continuous Delivery for Mobile platforms (iOS and a bit of Android)
Continuous Delivery for Mobile platforms (iOS and a bit of Android)Continuous Delivery for Mobile platforms (iOS and a bit of Android)
Continuous Delivery for Mobile platforms (iOS and a bit of Android)Rami Rantala
 
Automated cceptance testing using Fitnesse & Selenium
Automated cceptance testing using Fitnesse & SeleniumAutomated cceptance testing using Fitnesse & Selenium
Automated cceptance testing using Fitnesse & Seleniummayurairon
 
TestLink introduction
TestLink introductionTestLink introduction
TestLink introductionDavid Ionut
 
React Native: Is It Worth It? UA Mobile 2017.
React Native: Is It Worth It? UA Mobile 2017.React Native: Is It Worth It? UA Mobile 2017.
React Native: Is It Worth It? UA Mobile 2017.UA Mobile
 
What is Jenkins | Jenkins Tutorial for Beginners | Edureka
What is Jenkins | Jenkins Tutorial for Beginners | EdurekaWhat is Jenkins | Jenkins Tutorial for Beginners | Edureka
What is Jenkins | Jenkins Tutorial for Beginners | EdurekaEdureka!
 
Evernote release process
Evernote release processEvernote release process
Evernote release processReid Baker
 
Selenium and Open Source Advanced Testing
Selenium and Open Source Advanced TestingSelenium and Open Source Advanced Testing
Selenium and Open Source Advanced TestingAustin Marie Gay
 
Selenium C# - The Essential Test Automation Guide
Selenium C# - The Essential Test Automation GuideSelenium C# - The Essential Test Automation Guide
Selenium C# - The Essential Test Automation GuideRapidValue
 
How to run your first selenium test in visual studio 2008 with c
How to run your first selenium test in visual studio 2008 with cHow to run your first selenium test in visual studio 2008 with c
How to run your first selenium test in visual studio 2008 with cTrupti Jethva
 
Addressing Security Regression Through Unit Testing
Addressing Security Regression Through Unit TestingAddressing Security Regression Through Unit Testing
Addressing Security Regression Through Unit TestingChristopher Grayson
 

What's hot (20)

Visual studio 2012 Preview
Visual studio 2012 PreviewVisual studio 2012 Preview
Visual studio 2012 Preview
 
Android app upload
Android app uploadAndroid app upload
Android app upload
 
Testing, CI and CD in the real world
Testing, CI and CD in the real worldTesting, CI and CD in the real world
Testing, CI and CD in the real world
 
Katalon Studio - GUI Overview
Katalon Studio - GUI OverviewKatalon Studio - GUI Overview
Katalon Studio - GUI Overview
 
Automation Testing with KATALON Cucumber BDD
Automation Testing with KATALON Cucumber BDDAutomation Testing with KATALON Cucumber BDD
Automation Testing with KATALON Cucumber BDD
 
continous integration and delivery
continous integration and deliverycontinous integration and delivery
continous integration and delivery
 
Tutorial - 14 How to insert a verification point from the script explorer usi...
Tutorial - 14 How to insert a verification point from the script explorer usi...Tutorial - 14 How to insert a verification point from the script explorer usi...
Tutorial - 14 How to insert a verification point from the script explorer usi...
 
Building An Application
Building An ApplicationBuilding An Application
Building An Application
 
Continuous Delivery for Mobile platforms (iOS and a bit of Android)
Continuous Delivery for Mobile platforms (iOS and a bit of Android)Continuous Delivery for Mobile platforms (iOS and a bit of Android)
Continuous Delivery for Mobile platforms (iOS and a bit of Android)
 
Continuous integration
Continuous integration Continuous integration
Continuous integration
 
Automated cceptance testing using Fitnesse & Selenium
Automated cceptance testing using Fitnesse & SeleniumAutomated cceptance testing using Fitnesse & Selenium
Automated cceptance testing using Fitnesse & Selenium
 
TestLink introduction
TestLink introductionTestLink introduction
TestLink introduction
 
React Native: Is It Worth It? UA Mobile 2017.
React Native: Is It Worth It? UA Mobile 2017.React Native: Is It Worth It? UA Mobile 2017.
React Native: Is It Worth It? UA Mobile 2017.
 
What is Jenkins | Jenkins Tutorial for Beginners | Edureka
What is Jenkins | Jenkins Tutorial for Beginners | EdurekaWhat is Jenkins | Jenkins Tutorial for Beginners | Edureka
What is Jenkins | Jenkins Tutorial for Beginners | Edureka
 
Test Complete
Test CompleteTest Complete
Test Complete
 
Evernote release process
Evernote release processEvernote release process
Evernote release process
 
Selenium and Open Source Advanced Testing
Selenium and Open Source Advanced TestingSelenium and Open Source Advanced Testing
Selenium and Open Source Advanced Testing
 
Selenium C# - The Essential Test Automation Guide
Selenium C# - The Essential Test Automation GuideSelenium C# - The Essential Test Automation Guide
Selenium C# - The Essential Test Automation Guide
 
How to run your first selenium test in visual studio 2008 with c
How to run your first selenium test in visual studio 2008 with cHow to run your first selenium test in visual studio 2008 with c
How to run your first selenium test in visual studio 2008 with c
 
Addressing Security Regression Through Unit Testing
Addressing Security Regression Through Unit TestingAddressing Security Regression Through Unit Testing
Addressing Security Regression Through Unit Testing
 

Similar to Code repository management

Streamlining React Component Development and Sharing with bit.pptx
Streamlining React Component Development and Sharing with bit.pptxStreamlining React Component Development and Sharing with bit.pptx
Streamlining React Component Development and Sharing with bit.pptxShubhamJayswal6
 
Selenium tools-installation
Selenium tools-installationSelenium tools-installation
Selenium tools-installationITeLearn
 
Selenium tools-installation
Selenium tools-installationSelenium tools-installation
Selenium tools-installationIT eLearn
 
DevSecCon SG 2018 Fabian Presentation Slides
DevSecCon SG 2018 Fabian Presentation SlidesDevSecCon SG 2018 Fabian Presentation Slides
DevSecCon SG 2018 Fabian Presentation SlidesFab L
 
How to Install and Set up Android Studio.pptx
How to Install and Set up Android Studio.pptxHow to Install and Set up Android Studio.pptx
How to Install and Set up Android Studio.pptxMSivani
 
DevSecCon Singapore 2018 - Remove developers’ shameful secrets or simply rem...
DevSecCon Singapore 2018 -  Remove developers’ shameful secrets or simply rem...DevSecCon Singapore 2018 -  Remove developers’ shameful secrets or simply rem...
DevSecCon Singapore 2018 - Remove developers’ shameful secrets or simply rem...DevSecCon
 
Devops interview questions 2 www.bigclasses.com
Devops interview questions  2  www.bigclasses.comDevops interview questions  2  www.bigclasses.com
Devops interview questions 2 www.bigclasses.combigclasses.com
 
Using galen framework for automated cross browser layout testing
Using galen framework for automated cross browser layout testingUsing galen framework for automated cross browser layout testing
Using galen framework for automated cross browser layout testingSarah Elson
 
Eclipse IDE, 2019.09, Java Development
Eclipse IDE, 2019.09, Java Development Eclipse IDE, 2019.09, Java Development
Eclipse IDE, 2019.09, Java Development Pei-Hsuan Hsieh
 
MuleSoft Nashik Virtual Meetup#4 - Implementing CI/CD pipeline for deploying ...
MuleSoft Nashik Virtual Meetup#4 - Implementing CI/CD pipeline for deploying ...MuleSoft Nashik Virtual Meetup#4 - Implementing CI/CD pipeline for deploying ...
MuleSoft Nashik Virtual Meetup#4 - Implementing CI/CD pipeline for deploying ...Jitendra Bafna
 
AWS UG Warsaw & Serverless warsztatowo! 19.09.2019 | Hillel Solow's presentation
AWS UG Warsaw & Serverless warsztatowo! 19.09.2019 | Hillel Solow's presentationAWS UG Warsaw & Serverless warsztatowo! 19.09.2019 | Hillel Solow's presentation
AWS UG Warsaw & Serverless warsztatowo! 19.09.2019 | Hillel Solow's presentationServerless User Group Poland
 
"Don’t Run with Scissors: Serverless Security Survival Guide" | Hillel Solow,...
"Don’t Run with Scissors: Serverless Security Survival Guide" | Hillel Solow,..."Don’t Run with Scissors: Serverless Security Survival Guide" | Hillel Solow,...
"Don’t Run with Scissors: Serverless Security Survival Guide" | Hillel Solow,...LCloud
 
Getting started with appium
Getting started with appiumGetting started with appium
Getting started with appiumPratik Patel
 
Introduction to Bitreactive
Introduction to BitreactiveIntroduction to Bitreactive
Introduction to BitreactiveGhassen Chaieb
 
Selenium with testng and eclipse ide
Selenium with testng and eclipse ideSelenium with testng and eclipse ide
Selenium with testng and eclipse ideTestertester Jaipur
 

Similar to Code repository management (20)

Git and git hub basics
Git and git hub basicsGit and git hub basics
Git and git hub basics
 
Streamlining React Component Development and Sharing with bit.pptx
Streamlining React Component Development and Sharing with bit.pptxStreamlining React Component Development and Sharing with bit.pptx
Streamlining React Component Development and Sharing with bit.pptx
 
Selenium tools-installation
Selenium tools-installationSelenium tools-installation
Selenium tools-installation
 
Selenium tools-installation
Selenium tools-installationSelenium tools-installation
Selenium tools-installation
 
DevSecCon SG 2018 Fabian Presentation Slides
DevSecCon SG 2018 Fabian Presentation SlidesDevSecCon SG 2018 Fabian Presentation Slides
DevSecCon SG 2018 Fabian Presentation Slides
 
How to Install and Set up Android Studio.pptx
How to Install and Set up Android Studio.pptxHow to Install and Set up Android Studio.pptx
How to Install and Set up Android Studio.pptx
 
DevSecCon Singapore 2018 - Remove developers’ shameful secrets or simply rem...
DevSecCon Singapore 2018 -  Remove developers’ shameful secrets or simply rem...DevSecCon Singapore 2018 -  Remove developers’ shameful secrets or simply rem...
DevSecCon Singapore 2018 - Remove developers’ shameful secrets or simply rem...
 
Devops interview questions 2 www.bigclasses.com
Devops interview questions  2  www.bigclasses.comDevops interview questions  2  www.bigclasses.com
Devops interview questions 2 www.bigclasses.com
 
Using galen framework for automated cross browser layout testing
Using galen framework for automated cross browser layout testingUsing galen framework for automated cross browser layout testing
Using galen framework for automated cross browser layout testing
 
Eclipse IDE, 2019.09, Java Development
Eclipse IDE, 2019.09, Java Development Eclipse IDE, 2019.09, Java Development
Eclipse IDE, 2019.09, Java Development
 
MuleSoft Nashik Virtual Meetup#4 - Implementing CI/CD pipeline for deploying ...
MuleSoft Nashik Virtual Meetup#4 - Implementing CI/CD pipeline for deploying ...MuleSoft Nashik Virtual Meetup#4 - Implementing CI/CD pipeline for deploying ...
MuleSoft Nashik Virtual Meetup#4 - Implementing CI/CD pipeline for deploying ...
 
AWS UG Warsaw & Serverless warsztatowo! 19.09.2019 | Hillel Solow's presentation
AWS UG Warsaw & Serverless warsztatowo! 19.09.2019 | Hillel Solow's presentationAWS UG Warsaw & Serverless warsztatowo! 19.09.2019 | Hillel Solow's presentation
AWS UG Warsaw & Serverless warsztatowo! 19.09.2019 | Hillel Solow's presentation
 
"Don’t Run with Scissors: Serverless Security Survival Guide" | Hillel Solow,...
"Don’t Run with Scissors: Serverless Security Survival Guide" | Hillel Solow,..."Don’t Run with Scissors: Serverless Security Survival Guide" | Hillel Solow,...
"Don’t Run with Scissors: Serverless Security Survival Guide" | Hillel Solow,...
 
CodeShip
CodeShipCodeShip
CodeShip
 
Getting started with appium
Getting started with appiumGetting started with appium
Getting started with appium
 
Introduction to Bitreactive
Introduction to BitreactiveIntroduction to Bitreactive
Introduction to Bitreactive
 
Jenkins
JenkinsJenkins
Jenkins
 
Selenium with testng and eclipse ide
Selenium with testng and eclipse ideSelenium with testng and eclipse ide
Selenium with testng and eclipse ide
 
CI & CD- mobile application
CI & CD- mobile applicationCI & CD- mobile application
CI & CD- mobile application
 
CI & CD- mobile application
CI & CD- mobile applicationCI & CD- mobile application
CI & CD- mobile application
 

More from Cloud Analogy

Zendesk Integration With Salesforce .pptx
Zendesk Integration With Salesforce .pptxZendesk Integration With Salesforce .pptx
Zendesk Integration With Salesforce .pptxCloud Analogy
 
Salesforce Integration With Mailchimp (1).pptx
Salesforce Integration With Mailchimp (1).pptxSalesforce Integration With Mailchimp (1).pptx
Salesforce Integration With Mailchimp (1).pptxCloud Analogy
 
Top Salesforce Integrations For Businesses In 2022
Top Salesforce Integrations For Businesses In 2022Top Salesforce Integrations For Businesses In 2022
Top Salesforce Integrations For Businesses In 2022Cloud Analogy
 
Top 5 Zoho Products And Their Features.pptx
Top 5 Zoho Products And Their Features.pptxTop 5 Zoho Products And Their Features.pptx
Top 5 Zoho Products And Their Features.pptxCloud Analogy
 
SAP vs Oracle: Which ERP System Should You Choose In 2022?
SAP vs Oracle: Which ERP System Should You Choose In 2022?SAP vs Oracle: Which ERP System Should You Choose In 2022?
SAP vs Oracle: Which ERP System Should You Choose In 2022?Cloud Analogy
 
5 Low-Code Tools To Increase Salesforce Admins Productivity
5 Low-Code Tools To Increase Salesforce Admins Productivity5 Low-Code Tools To Increase Salesforce Admins Productivity
5 Low-Code Tools To Increase Salesforce Admins ProductivityCloud Analogy
 
Tips To Make The Most Out Of Salesforce CRM
Tips To Make The Most Out Of Salesforce CRMTips To Make The Most Out Of Salesforce CRM
Tips To Make The Most Out Of Salesforce CRMCloud Analogy
 
5 Tips For Salesforce Admin In 2022
5 Tips For Salesforce Admin In 20225 Tips For Salesforce Admin In 2022
5 Tips For Salesforce Admin In 2022Cloud Analogy
 
Trailhead Badges To Earn In 2022
Trailhead Badges To Earn In 2022Trailhead Badges To Earn In 2022
Trailhead Badges To Earn In 2022Cloud Analogy
 
HubSpot And Slack Integration
HubSpot And Slack IntegrationHubSpot And Slack Integration
HubSpot And Slack IntegrationCloud Analogy
 
Multi-Factor Authentication In Salesforce
Multi-Factor Authentication In SalesforceMulti-Factor Authentication In Salesforce
Multi-Factor Authentication In SalesforceCloud Analogy
 
5 Myths About Salesforce CRM
5 Myths About Salesforce CRM5 Myths About Salesforce CRM
5 Myths About Salesforce CRMCloud Analogy
 
6 Sales Promotion Tips For Marketing Success
6 Sales Promotion Tips For Marketing Success6 Sales Promotion Tips For Marketing Success
6 Sales Promotion Tips For Marketing SuccessCloud Analogy
 
How Marketing Cloud Latest Features Can Improve Your Campaign Performance
How Marketing Cloud Latest Features Can Improve Your Campaign PerformanceHow Marketing Cloud Latest Features Can Improve Your Campaign Performance
How Marketing Cloud Latest Features Can Improve Your Campaign PerformanceCloud Analogy
 
Important Salesforce Trends to Watch Out for in 2022
Important Salesforce Trends to Watch Out for in 2022Important Salesforce Trends to Watch Out for in 2022
Important Salesforce Trends to Watch Out for in 2022Cloud Analogy
 
How To Build Your Sales Career In The Salesforce Ecosystem
How To Build Your Sales Career In The Salesforce EcosystemHow To Build Your Sales Career In The Salesforce Ecosystem
How To Build Your Sales Career In The Salesforce EcosystemCloud Analogy
 
Best Sales Metrics Every Sales Leader Should Know
Best Sales Metrics Every Sales Leader Should KnowBest Sales Metrics Every Sales Leader Should Know
Best Sales Metrics Every Sales Leader Should KnowCloud Analogy
 
Common Salesforce CPQ Implementation Challenges
Common Salesforce CPQ Implementation ChallengesCommon Salesforce CPQ Implementation Challenges
Common Salesforce CPQ Implementation ChallengesCloud Analogy
 
5 Accurate Sales Forecasting Strategies To Predict Your Revenue
5 Accurate Sales Forecasting Strategies To Predict Your Revenue5 Accurate Sales Forecasting Strategies To Predict Your Revenue
5 Accurate Sales Forecasting Strategies To Predict Your RevenueCloud Analogy
 
How To Utilize Slack As A Secret Weapon For Your Sales Team
How To Utilize Slack As A Secret Weapon For Your Sales TeamHow To Utilize Slack As A Secret Weapon For Your Sales Team
How To Utilize Slack As A Secret Weapon For Your Sales TeamCloud Analogy
 

More from Cloud Analogy (20)

Zendesk Integration With Salesforce .pptx
Zendesk Integration With Salesforce .pptxZendesk Integration With Salesforce .pptx
Zendesk Integration With Salesforce .pptx
 
Salesforce Integration With Mailchimp (1).pptx
Salesforce Integration With Mailchimp (1).pptxSalesforce Integration With Mailchimp (1).pptx
Salesforce Integration With Mailchimp (1).pptx
 
Top Salesforce Integrations For Businesses In 2022
Top Salesforce Integrations For Businesses In 2022Top Salesforce Integrations For Businesses In 2022
Top Salesforce Integrations For Businesses In 2022
 
Top 5 Zoho Products And Their Features.pptx
Top 5 Zoho Products And Their Features.pptxTop 5 Zoho Products And Their Features.pptx
Top 5 Zoho Products And Their Features.pptx
 
SAP vs Oracle: Which ERP System Should You Choose In 2022?
SAP vs Oracle: Which ERP System Should You Choose In 2022?SAP vs Oracle: Which ERP System Should You Choose In 2022?
SAP vs Oracle: Which ERP System Should You Choose In 2022?
 
5 Low-Code Tools To Increase Salesforce Admins Productivity
5 Low-Code Tools To Increase Salesforce Admins Productivity5 Low-Code Tools To Increase Salesforce Admins Productivity
5 Low-Code Tools To Increase Salesforce Admins Productivity
 
Tips To Make The Most Out Of Salesforce CRM
Tips To Make The Most Out Of Salesforce CRMTips To Make The Most Out Of Salesforce CRM
Tips To Make The Most Out Of Salesforce CRM
 
5 Tips For Salesforce Admin In 2022
5 Tips For Salesforce Admin In 20225 Tips For Salesforce Admin In 2022
5 Tips For Salesforce Admin In 2022
 
Trailhead Badges To Earn In 2022
Trailhead Badges To Earn In 2022Trailhead Badges To Earn In 2022
Trailhead Badges To Earn In 2022
 
HubSpot And Slack Integration
HubSpot And Slack IntegrationHubSpot And Slack Integration
HubSpot And Slack Integration
 
Multi-Factor Authentication In Salesforce
Multi-Factor Authentication In SalesforceMulti-Factor Authentication In Salesforce
Multi-Factor Authentication In Salesforce
 
5 Myths About Salesforce CRM
5 Myths About Salesforce CRM5 Myths About Salesforce CRM
5 Myths About Salesforce CRM
 
6 Sales Promotion Tips For Marketing Success
6 Sales Promotion Tips For Marketing Success6 Sales Promotion Tips For Marketing Success
6 Sales Promotion Tips For Marketing Success
 
How Marketing Cloud Latest Features Can Improve Your Campaign Performance
How Marketing Cloud Latest Features Can Improve Your Campaign PerformanceHow Marketing Cloud Latest Features Can Improve Your Campaign Performance
How Marketing Cloud Latest Features Can Improve Your Campaign Performance
 
Important Salesforce Trends to Watch Out for in 2022
Important Salesforce Trends to Watch Out for in 2022Important Salesforce Trends to Watch Out for in 2022
Important Salesforce Trends to Watch Out for in 2022
 
How To Build Your Sales Career In The Salesforce Ecosystem
How To Build Your Sales Career In The Salesforce EcosystemHow To Build Your Sales Career In The Salesforce Ecosystem
How To Build Your Sales Career In The Salesforce Ecosystem
 
Best Sales Metrics Every Sales Leader Should Know
Best Sales Metrics Every Sales Leader Should KnowBest Sales Metrics Every Sales Leader Should Know
Best Sales Metrics Every Sales Leader Should Know
 
Common Salesforce CPQ Implementation Challenges
Common Salesforce CPQ Implementation ChallengesCommon Salesforce CPQ Implementation Challenges
Common Salesforce CPQ Implementation Challenges
 
5 Accurate Sales Forecasting Strategies To Predict Your Revenue
5 Accurate Sales Forecasting Strategies To Predict Your Revenue5 Accurate Sales Forecasting Strategies To Predict Your Revenue
5 Accurate Sales Forecasting Strategies To Predict Your Revenue
 
How To Utilize Slack As A Secret Weapon For Your Sales Team
How To Utilize Slack As A Secret Weapon For Your Sales TeamHow To Utilize Slack As A Secret Weapon For Your Sales Team
How To Utilize Slack As A Secret Weapon For Your Sales Team
 

Recently uploaded

#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 

Recently uploaded (20)

#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 

Code repository management

  • 2. This blog is for an Intermediate developer who is planning to do Salesforce backup and code management using Git. Unlike Java Salesforce does not have a code versioning system. I am going to demonstrate how we can use Git and Eclipse(Local code base) to have this code management in place. Code Repository Management
  • 3. Steps to follow Step 1 : We have a Requirement to create a new Lead source as Web2. Developer have done some changes based upon a requirement and have marked the ticket #227 as done in project management tool? Quality Analyst(QA) gal got this ticket #277 To test in order to test the ticket she created a Lead and set the value of Lead source as ‘Web2’ as we were told to do so. Screenshot below
  • 4. Step 2 : QA will 'retrieve' code from Sandbox using Eclipse Force.com IDE tool to do the task. Next QA will retrieve the class from sandbox in order to do that go to eclipse click File > New > Force.com Project Now Type a project name then type your organization’s Username and Password and if you have the security token you can add it too in the next field but if you don’t have the security token you can create one from your org or you can whitelist your IP to skip the security token part. Fill the correct details then click Next.
  • 5. Next step is to select the metadata you want to retrieve from the Sandbox and then click OK.
  • 6. You can now see the metadata which you have retrieved in your local system. Git Remote repository Salesforce org 3 5 6 1 2 4 Local Repository Code sandbox serverCode remote server Testing Code retrieval Deploy to Production Push local to remote Code from Git to local Commit
  • 7. Question 3 : Describes the steps to ‘commit’ to local repository, what tools did you use? And Question 4 : Describes the steps to ‘push’ to remote repository,what tools did you use? Solution : We used Eclipse to do this task as well What we did to implement the logic: Step 1 : First of all we have installed Git plugin for eclipse for deployment and retrieval process. To do so we have followed these following steps: 1.1. In Eclipse(any version), Go to help > install new software. Click on Add New button name the Repository(any) and copy and paste this url in the location field url : http://download.eclipse.org/egit/updates
  • 8. Next Install the available softwares.
  • 9. 1.2. Now go to Window > Perspective > Open Perspective > Other or Click on perspective link and select Git from the available list.
  • 10. Than click Clone Repository button. 1.3. Enter your Bitbucket URL and User Information as mentioned in below diagram. Click Next and Finish. No need to change other configuration in next window.
  • 11. To get the BitBucket URL First Register to Bitbucket create a Repository public/private your choice. On Overview page https://bitbucket.org/dashboard/overview, look for your repository information.
  • 12. Mouse hover will give you Repository URL.You can use this URL in Previous step. 1.4. You can see your Bitbucket Repository now in eclipse.
  • 13. 1.5. Now you may want to import the project so you can work on the source code. Click Windows > Open Perspective > Resource Then click File >Import > Git > Projects from Git > Existing local repository > Select a Git Repository > Import as General Project > Next > Finish 1. The code should then appear in your ‘Project Explorer’ window as a normal project 2. Now make changes to your file as you want. 3. Look at ‘Git Staging’ view to see your changed files and Click ‘Commit and Push‘ and in case if you want to commit it only for your local repository then press the commit button.
  • 14. Question 5 : Describes the steps taken to deploy code to ‘Salesforce – Production; what tools did you use? Solution : We used Eclipse Force.com IDE to deploy the code in sandbox. To deploy the code in production right click on the class or the code which you need to deploy than select Force.com > Deploy to server
  • 15. After clicking on deploy to server you will be asked for your production credentials.
  • 16. After filling the details click on the Next button below then you will be asked for Archive Options than either you can select a destination folder in which you want to store the errors or success messages which occurred or if you are confident enough than you can skip that part and uncheck the destination field checkbox then click next.
  • 17. Than it will ask you to validate the selected classes before deployment or you can take a risk and directly click on the next button below to deploy the code.
  • 18. And if your confidence was right than you get a success message. And you are done you have successfully deployed the metadata in the production.