function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
GAURAV SETH 6GAURAV SETH 6 

Facing error when deploying code from force.com IDE to my dev org.

Step 1:I select my project in IDE and do Deploy to server.
Step 2: I given my dev org credentials and presee next.
Step 3: Added project archive and destination archive folder
Step 4: Validate Deployment : showing me several errors:
Problem: Property 'shouldOverrideOrgTheme' not valid in version 38.0
Problem: Property 'isNavAutoTempTabsDisabled' not valid in version 38.0
  Problem: c:BR_Carousel:1,1: ParseError at [row,col]:[2,1]
Message: Content is not allowed in prolog.
Problem: Invalid definition for null:CreateCaseController: null

others too.

I have verified my package.xml which have version 43.0. 
I have taken the code from other dev org as a baseline and want to move it to development org for each developer .
Please guide me, how to resolve thie issues ?
Jayanth ThathapudiJayanth Thathapudi
HI Gaurav,

Can you please let me know the metadata type used in the package.xml?

Thanks,
Jay
GAURAV SETH 6GAURAV SETH 6
1) my package.xml have below version:

<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<version>45.0</version>
2) Should we not deploy lightning component using force.com IDE?
3) Custom objects and custom fields on standard objects can be migrated or not ?

THanks,
Gaurav Seth
GAURAV SETH 6GAURAV SETH 6
I am trying VS code instead of force.com IDE.

If I am deploying code from to new dev org , what elements can I deploy using VS code?

I have custom objects, custom fields on standard objects , Lightning components, apex code , triggers and other settings ?

DO I have to manually create custom objects first on my dev org or do we have any app to assist ?

Thanks,
Gaurav Seth
Ajay K DubediAjay K Dubedi
Hi GAURAV,

This page describes how to deploy with Force.com IDE:

https://developer.salesforce.com/docs/atlas.en-us.eclipse.meta/eclipse/ide_pro_deploy.htm
https://developer.salesforce.com/index.php?title=Deploy_Force.com_Applications_Faster&redirect=no

And if you are trying VS code instead of force.com IDE then you can deploy these elements using VS code:
- Standard Objects
- All Custom Objects
- Standard Picklist Fields
- Custom and Standard Fields
- List Views for Standard Objects
- Packages
- Security Settings
- Assignment Rules, Auto-response Rules, Escalation Rules
- Sharing Rules
- Managed Component Access

you can follow this link for more help :
https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/manifest_samples.htm

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks,
Ajay Dubedi