You need to sign in to do that
Don't have an account?
bbsudbury
Developing and Deploying Apex Classes using SalesForce UI
I am a newbie (to SFDC) and don't see how to create and deploy Apex classes (Initially using to create VisualForce controllers) using web site (I haven't tried Eclipse tool yet).
Basically, documentation from says http://www.salesforce.com/us/developer/docs/apexcode/index.htm:
So either I am just not seeing it, documentation is out of date or for some reason (such as rights), these do not show up as options. I have trial account.
Any guidance apprceciated.
If can't find, I can try the Eclipse route which I'll probably end up using anyway.
Basically, documentation from says http://www.salesforce.com/us/developer/docs/apexcode/index.htm:
However, in my account:The Salesforce user interface. All scripts are compiled when they are saved, and any syntax errors are flagged. You cannot save your code until it compiles without errors. The Salesforce user interface also numbers the lines in a script, and uses color coding to distinguish different elements, such as comments, keywords, literal strings, and so on.
- For a trigger on a standard object, click Body text box.
, click the name of the object, and click Triggers. In the Triggers detail page, click New, and then enter your code in the- For a trigger on a custom object, click Body text box.
, and click the name of the object. In the Triggers related list, click New, and then enter your code in the- For a class, click Body text box.
. Click New, and then enter your code in the
- For a trigger on a standard object, click Body text box. There is no "Triggers" to select.
- For a trigger on a custom object, click Body text box. There is no Triggers list. , and click the name of the object. In the Triggers related list, click New, and then enter your code in the
- For a class, click Body text
box. There is no "Develop - Apex Class" selection. There is "API", "Components", "Pages", "s-Controls" and "Static Resources" but no Apex Class.
So either I am just not seeing it, documentation is out of date or for some reason (such as rights), these do not show up as options. I have trial account.
Any guidance apprceciated.
If can't find, I can try the Eclipse route which I'll probably end up using anyway.
Figured it out myself - logged in wrong edition - figured it was something like that.
Doh.
All Answers
Figured it out myself - logged in wrong edition - figured it was something like that.
Doh.
i am having same problem.........
I am using enterprise edition....
What is is the solution........??
You can create Triggers, Apex Classes, and VisualForce Pages in a Dev or Sandbox org using either the SalesForce.com UI or the Force.com IDE. I, and probably most developers here, highly recommend the IDE.
To deploy Apex code (Trigger, Component, Apex Class) from a Dev or Sandbox org to a Production Org you have to use either the Force.com IDE or the Ant Deployment tool. The IDE is the simplest method, but Ant is useful for large and repetitive deployments. In addition, before deploying you have to write Unit Test classes to 'test' your Apex code to ensure that at least 75% of the code successfully runs before SalesForce.com will allow it to be deployed into a Production Org.
Start here: http://wiki.developerforce.com/index.php/Documentation
Force.com IDE page: http://wiki.developerforce.com/index.php/Force.com_IDE
Mike