1

I'm new to using Eclipse and the force.com ide. I seem to be able to edit my classes sync them and save them both to my sandbox and production. But when I create a new class using Eclipse and go through the motions to save it to my sandbox "Save to Server" it appears to work properly. Even in salesforce when I go to deployment status is says one object deployed successfully. But I cannot find it in salesforce and does not appear to be there.

5
  • Have you gone to the users permissions and made sure the relevant profiles can see the object including System Administrator?
    – Dave Humm
    Commented Jun 8, 2016 at 18:04
  • I just looked and it's not in either list available or enabled. I notice in Eclipse under warnings it is specifically saying "Offline Mode. File only saved locally, not to server" even though the sandbox server is saying the deployment was successful it does not appear to be there. I cannot see how to change the file from offline mode
    – Ohmicron
    Commented Jun 8, 2016 at 18:16
  • You force save to server and it's still local only? Are you able to create it in dev console?
    – Adrian Larson
    Commented Jun 8, 2016 at 18:24
  • offline mode to online mode toggle: RMB Project in Eclipse and then select Force.com | Work Off(on)Line
    – cropredy
    Commented Jun 8, 2016 at 18:26
  • @cropredy that was the magic it needed right there. I was thinking I needed to put the new class itself in an online mode not the whole project. If you change your comment to an answer I will check it so you get credit
    – Ohmicron
    Commented Jun 8, 2016 at 18:40

1 Answer 1

2

To turn Eclipse Force.com IDE project from offline to online:

  • Right Mouse Button the Project
  • Choose Force.com | Work Online

Repeat process to work offline

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .