How could I run the .app created in the Eclipse Force.com IDE?

By run I mean to perform a preview similar to the one I can perform in the developer console.

Here is the best example I was able to find so far. And I was not able to find any manual or examples which would explain the process in more details.

But here are a few questions I got after attempting to do the same as on the video:

  1. What to do if I got an error when trying to Save to Server? The error is the following:

    Unable to save resources: Filepath and/or project cannot be null. Reason: Filepath and/or project cannot be null

This question give me a thought that maybe the problem is that everything was saved automatically and now I am trying to save the project which undergone no changes. So, I tried to set Work online for my project, perform a few tweaks in the project files and then save again and it still gives the same error.

enter image description here

  1. After performing Save to Server the presenter on the video goes to the link to see the result of the saved .app (16:04 time of the video). So, how could I find the link I need to go to to preview me .app? Here it is said that the link should be of type https://yourDomain.lightning.force.com/c/hereAppNameGoes.app. But where can I find my domain? I found the manual how to work with the domain over here.

In a nutshell what I need here is a documentation (or something like manual) on how to preview the .app created in the Eclipse Force.com IDE or answers to the questions above.

  • Is your project in eclipse even connected to your salesforce org? – Jayant Das May 24 '18 at 12:58
  • @JayantDas, how could I check that? When I was creating the project I provided the login, password and security token. Does that mean that the project is connected to the org? – oobarbazanoo May 24 '18 at 13:02
  • Refer to this link for details on setting the properties. Seems like you don't have a connected org and furthermore, you need to login to the org to be able to view whatever you create in eclipse. – Jayant Das May 24 '18 at 13:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.