You need to sign in to do that
Don't have an account?

Eclipse 's wizard won't select Apex control to create new S-Control
I'm on page 44 in the force.com Cookbook, at number 2. Inside the Eclipse package explorer I'd selected New > Other > Wizard Selection > Apex > Apex Control to create a new s-control, but upon clicking "Next" (to specify the name and label for the s-control) nothing happens.
How do I address this problem? I'd arleady restarted Eclipse (3.2.2).
Thanks.
A.
How do I address this problem? I'd arleady restarted Eclipse (3.2.2).
Thanks.
A.
First, I'm on Eclipse 3.3.0 (I know, 3.2.2 is what's recommended).
Next, I have a project open, and expanded (clicking on + left of it, shows Apex Classes, etc.).
I do happen to have a number of S-Controls, so I don't know that it works if you're starting with that folder empty.
I have highlighted the project name.
Then, I right clicked on white space within the Package Explorer window, chose New, Other, Apex, S-Control - and it took me into the dialog box to choose type, name, etc. I then followed thru & it did create the S-Control - it opened an editor with html head tag naming the script elements.
Which version of the toolkit are you using?
Can you send me the toolkit's log containing the new S-Control action? You can find the log here: $workspace/.metadata/.plugins/com.appexchange.toolkit/salesforce-toolkit.log.
-Chris
cwall@salesforce.com
I am not sure what the version of the Apex toolkit I have. It was "installed" per the instructions on page 16, number 5, in the Cookbook, when finding and installing new features, after I launched my new copy of Eclipse.This was just about a week ago. I could not find Apex toolkit anywhere in my local files, even though it's listed in the Wizard Selection window.
As for the toolkit's log, I couldn't find this either. In the $workspace/.metadata/.plugins/ directory, there are only files that began with "org.eclipse..." Nothing with "Apex" in the file name.
I had already attempted to Find and Install twice, thinking perhaps the first attempt was incomplete. Any ideas?
thanks!
I tried your suggestion with one s-control captured from the first book Creating On-Demand Applications, the Candidtate Map, which I had saved it as a .html file. But, I couldn't get it to appear in the left window. It opens only in the middle window and I don't see any option to save it as a project.
This is where I got stuck. When I click on Apex Control (there is no "S-Control," but I presume it was renamed in the version I am using) and then Next, nothing happens.
thanks for replying!
I'm still trying to figure how how to "reload all scontrols" in Eclipse. I have one S-Control I could load, but not sure how to do it in Eclipse.
I'm such a dork...
thanks!