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
SaiLavuMBLSaiLavuMBL 

Field Name change via Metadata API

Can you deploy field name changes via Force.com IDE? I am trying to overwrite a custom object definition and am getting the following error:

  

 

 

# Deploy Results:

 

Name: objects/Investment__c.object

Action: NO ACTION

Result: FAILED

Problem: There is already a field named Investors on Investor.

 

The source and target object definitions differ for the fields shown below:

 

Source 

 

<fields>

<fullName>Investor_Lookup__c</fullName>

<label>Investor Lookup</label>

<referenceTo>Account</referenceTo>

<relationshipLabel>Investments</relationshipLabel>

<relationshipName>Investors</relationshipName>

<type>Lookup</type>

</fields>

 Target to be overwritten

<fields>

<fullName>Investor_Name__c</fullName>

<description>NEW</description>

<label>Investor Name</label>

<referenceTo>Account</referenceTo>

<relationshipLabel>Investments (Investor Name)</relationshipLabel>

<relationshipName>Investors</relationshipName>

<type>Lookup</type>

</fields>

 

 

Message Edited by SaiLavuMBL on 02-12-2009 04:12 PM
Best Answer chosen by Admin (Salesforce Developers) 
shillyershillyer

Field label changes, but not field name changes - check out this thread.

 

Hope that helps,

Sati