Posted in Salesforce

Storage Limit Exceeded

As the name suggests the error is seen when either Data/File limit is exceeded and it will prevent user from inserting records.

To view the Space available goto :-
Setup –> Administer –> Data Management –> Storage Use.

attachment

Solution :-
1. Delete unused records/files.
2. Increase storage limit by contacting SF support.

Advertisements
Posted in Salesforce

Sample Package.xml for Salesforce

<?xml version=”1.0″ encoding=”UTF-8″?><?xml version=”1.0″ encoding=”UTF-8″?><Package xmlns=”http://soap.sforce.com/2006/04/metadata”>    <types>        <members>*</members>        <name>ApexClass</name>    </types>    <types>        <members>*</members>        <name>ApexComponent</name>    </types>    <types>        <members>*</members>        <name>ApexPage</name>    </types>    <types>        <members>*</members>        <name>ApexTrigger</name>    </types>    <types>        <members>*</members>        <name>ApprovalProcess</name>    </types>    <types>        <members>*</members>        <name>BusinessProcess</name>    </types>    <types>        <members>*</members>        <name>CustomApplication</name>    </types>    <types>        <members>*</members>        <name>CustomField</name>    </types>    <types>        <members>*</members>        <name>CustomLabel</name>    </types>    <types>        <members>*</members>        <name>CustomObject</name>    </types>    <types>        <members>*</members>        <name>CustomObjectTranslation</name>    </types>    <types>        <members>*</members>        <name>CustomTab</name>    </types>    <types>        <members>*</members>        <name>Dashboard</name>    </types>    <types>        <members>*</members>        <name>Document</name>    </types>    <types>        <members>*</members>        <name>EmailTemplate</name>    </types>    <types>        <members>*</members>        <name>Layout</name>    </types>    <types>        <members>*</members>        <name>Letterhead</name>    </types>    <types>        <members>*</members>        <name>PostTemplate</name>    </types>    <types>        <members>*</members>        <name>RecordType</name>    </types>    <types>        <members>*</members>        <name>Report</name>    </types>    <types>        <members>*</members>        <name>StaticResource</name>    </types>    <types>        <members>*</members>        <name>Translations</name>    </types>    <types>    <members>*</members>        <name>ValidationRule</name>    </types>    <types>    <members>*</members>        <name>WebLink</name>    </types>    <types>        <members>*</members>        <name>WorkflowAlert</name>    </types>    <types>        <members>*</members>        <name>WorkflowFieldUpdate</name>    </types>    <types>        <members>*</members>        <name>WorkflowRule</name>    </types> <types>        <members>*</members>        <name>Flow</name>    </types>    <types>        <members>*</members>        <name>FlowDefinition</name>    </types> <types> <members>*</members> <name>Profile</name>    </types> <types> <members>*</members>        <name>SharingCriteriaRule</name>    </types> <types>        <members>*</members>        <name>SharingOwnerRule</name>    </types>    <version>36.0</version></Package>

Posted in Salesforce

Salesforce ANT migration tool

1. Download Apache ANT
Link: http://ant.apache.org/bindownload.cgi
2. Download Force.com Migration Tool
Link: https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/forcemigrationtool_install.htm
Link: https://developer.salesforce.com/page/Force.com_Migration_Tool#Force.com_Migration_Tool_Download
3. Setup Classpath in Environment Variables.
4. Unzip the Force.com Migration Tool and add “ant-salesforce” Jar file to ANT lib folder.
5. From the jre lib folder copy paste “tool” Jar file to ANT lib folder.
6. Configure “build.xml” and “build.properties”.

build.properties 
ANT 1

build.xml
ANT 2
7. In cmd navigate to the folder which contains the package.xml and other resource that needs to be deployed and enter command “ant deployMENT*” (* target name from build.xml)