+ Start a Discussion
howard zien hpzienhoward zien hpzien 

how do i get a refresh of object in eclipse


i make changes in my database.  add objects or fields. 

I want to see these changes in eclipse. 

in eclipse,
if i delete my entire org in eclipse,  then reload it, i see new and changed objects.

if i simply click the refresh in eclipse or F5 in eclipse, the changes i made to my database do not appear.
Is this normal?  or am i doing something wrong?
Best Answer chosen by howard zien hpzien
KaranrajKaranraj
In Eclipse Go to Project > click Build Automatically else you have to manually click Force.com >Save to server

User-added image

All Answers

KaranrajKaranraj
Yes.. Refresh or F5 will do refresh the files in your local folder. If you want to fetch data from salesforce then then you have to do refresh from server
howard zien hpzienhoward zien hpzien
i see. 
now i made a change to the xml of a custom object.  I added a custom field.
i saved it.  but how do i get this change to the server.

also, i did the change two times.  the second time i purposely put an error in the xml.
eclipse did not seem to validate my change.  Is this normal?  I thought it was supposed to validate any changes i make.  at least syntax changes.
 
KaranrajKaranraj
In Eclipse Go to Project > click Build Automatically else you have to manually click Force.com >Save to server

User-added image
This was selected as the best answer
howard zien hpzienhoward zien hpzien
that worked great !! thanks so much !!
it also validates the data
 
howard zien hpzienhoward zien hpzien
here's the next step.

in eclipse
i added some fields to a  table called university.
i did this in xml.

i saved these changes  to the SF server.

back in salesforce
Now i went to SF and see the fields in the definition of this table.
When I drag the fields to  the layout section of University they see to work fine.

But.... when i run the form and try to add a record,  the new feilds  fields do not appear on the data entry screen.

Any thoughts why these new fields to not appear on the editing form?