Take the 2-minute tour ×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

I'm using Eclipse with the Force.com IDE and after I did a "refresh from server" on the src folder, I noticed that I could no longer edit a good many of my apex classes and pages. The packages.xml file is only showing a small portion of the classes that are actually associated with the SalesForce.com instance.

I have no clue what to do. Help?

share|improve this question

3 Answers 3

up vote 10 down vote accepted

Right click on your project folder -> Hover over the "Force.com" menu -> Select Add/Remove Metadata Components -> Click on the Add/Remove button -> Click the "Refresh" Icon, then uncheck and recheck the folders you want in your project.

share|improve this answer

Is the class or page that you are looking for, a part of the package.xml file?

Can you add the class / page names in the package.xml and refresh it again? Or you can also try to extract ALL the classes / pages by using the '*' in the package.xml file.

share|improve this answer

I tried the one mentioned in correct answer. However, I am still getting error saying 'Unable to open or associated metadata file for file - FILE_PATH'.

And Yes, I was getting another Error, 'Fetch SObject not found' which was resolved by above steps. Not sure whey I am still getting this error. :(

Can anyone help here please?

Thank You.

share|improve this answer
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post - you can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post. –  Bartley 3 hours ago

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.