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
sfcksfck 

Can't remove metadata components in Force.com IDE

Hi,

 

I want to remove some components from my Eclipse project - for example, some profiles. So I pull up "Add or remove Metadata components", untick the components I want to remove, and refresh the project from server. 

 

But the components remain there! The only way I can make them go away is by deleting and re-loading the whole project.

 

Is this a bug, or what am I doing wrong?

 

Thanks

Best Answer chosen by Admin (Salesforce Developers) 
jhurstjhurst

There are sometimes some tricks with the IDE that can be frustrating.


Normally, if you As a best practice, if you have selected your Metadata components through the mennu, then you can use the synchronize menu to force the project and salesforce.com to resync.


To do this:

 

1. Right click the project folder that you would like to sync and go to Force.com -> Synchronize with Server

2. In the Sync Perspective, expand the folder that you are working with and you should see the difference

3. Right click the individual components/folder or the root project itself (depnding on where you want to apply the change) and right click to select "Apply Server to Project"

 

Your project/folder should now be in sync.


Hope this helps.

Jay