Hi Guys,Welcome back, Today we discuss about Sample Gallery and how can we use sample gallery apps into our salesforce orgs.
Connect ANT tool to salesforce org
In Previous Post we have discussed about how to install ANT tool for windows. Now we need to connect your salesforce org with ANT in your local machine. To deploy and retrive data from salesforce org
For that enter into files where you extracted salesforce ant folder
- Ant-Salesforce β> sample β> open build.properties with notepad
- Replace sf.username: forcelearnXYZ@gmail.com
sf.password: XXXXXXXXXXXXXXXXXXXXXXX
Note : sf.serverurl = https://login.salesforce.com change url into https://test.salesforce.com if you want to use for sandbox
- Create a folder named as target in ANTβs Installation folder inside bin
C:\apache-ant-1.10.2-bin\apache-ant-1.10.2\bin\ - Copy and paste build.xml into new target folder
- create a package.xml in your new folder target
- To get all class into your org we need to use ant retrieveUnpackaged
check folder retrieveTarget to check your classes and trigger - Open Command Prompt in your system and navigate to ANT path type
Ant β retrieveTarget - To get class from org.
Hurry !! π π π Now retrieve all class from org into local machine.
Download: SalesforceQA
Please comments us for more updates and share to other to help. Keep Visiting us for more updates Like us for more updates Fb Page : ForceLearn keep share to help others π π π