Moderator: Phil Barton
I would like to add my own content to the main pane of the default start page without having to fully reimplement the existng functionality of the other panes. How can I make a copy of the default start page so that I may do so?
So what am I missing to get things like fillRecentOrders and starttips working?
* Yes, I have extracted the resources as you suggested and have saved them into a folder that I've then exposed via IIS Manager as a virtual directory. I've tweaked the StartPage title to be something custom and recognizable.
* I have updated the default Select.exe.config file to specify this line (without the LT and GT prefix/suffix): add key="StartPageUrl" value="http://UGTIRAL01SSQL01/SoftProStartPage/Default.htm" /
* I run an instance of SoftPro Select that IS NOT using the /rootsuffix of EXP (i.e. so using the primary produciton hive)
* I confirm that my custom title appears as the tab name of the start page in SoftPro Select (see uploaded attachment)
* The loading animated GIFs never stop their spinning. I see no errors in the Application event log on the server. I don't see anything that stands out in terms of HTTP status codes in the web logs for the server hosting the custom start page.
* I added alert() calls in the Default.htm and hooked up my own window.onerror error handler and it looks like all the objects that are requested are coming back "undefined" and lots of errors fire when methods are called or properties are queried on these objects.
Let me know what else I can provide and thanks,
- Custom Start Page.jpg (52 KiB) Viewed 1002 times
As for the object invocation, the browser's scripting object is programmatically assigned to our service object exposed by the IEnvICE interface inside the shell, when the start page browser is created.
You might try wiping out that virtual directory and starting again, but this time don't modify any of the content at all. Just save every resource file from the assembly directly into a folder and set up a new virtual directory against that new folder. Update your config to reference that new URL and restart Select. To help narrow it down further, you might also try referencing a virtual directory in the IIS host on the same machine that you are running the Select client from, thereby using localhost as your machine name.
HOLD THE PRESSES
Please don't ask me what changed but now my page, as hosted on the server, works fine. Hello? Apparently I've completely lost my mind so please disregard this entire post!
BUT BEFORE THAT HAPPENED THIS WAS MY REPLY (I'll leave it in the thread just because I typed it all!):
That's good to know about the IEnvICE interface. So let me think through this aloud and maybe you can point out the error in my logic:
2) Since all of this code is executing on the client the objects are instantiated on the client and would talk to the database through any connection strings used by the rest of the application. Since the application works one would assume these objects would work as well.
Code: Select all
We're actually using the very URL you specified.
So I think we're doing what we're supposed to.
Sorry for the confusion and for wasting your time!