Launchpad/Default Site

Starting Version 5.8, the concepts of a Launchpad and a Default Site were introduced to facilitate user access when the same business has multiple sites, say, an ERP site, a Web Store and an Employee Portal.

Default Site

The default site can be expressly defined in

System Administration->Settings->Defaults

If you do not define a default site, the system automatically determines default site in the following manner:

If there is only one active site in the business, it automatically assumed to be the default site, or lese

If you have an active site named Home in the business, or else

If you have an active site named ERP in the business, or else

Any active site randomly assigned.

Direct Access through URL

To access a site directly from your URL, say, mydomain.com, use

http://mydomain.com to access the directory.

http://myshortname.mydomain.com to access the default site of the business whose short name is myshortname.

http://mysitename.myshortname.mydomain.com to access the site mysitename.

Notes:

(1) For the global directory to work correctly, make sure your system has business id 1 which implements the global directory. Run the following SQL commands from initdb to update the site.

update zbusiness set zorg='Directory of Sites' where zid=1;
update pxskins set xtemplate='Global.html', xcss='Global.css' where zid=1;
update pxsites set xpathsite='' where zid=1;

(2) Copy the index.html from the repository and overwrite the existing one on both da and ROOT contexts.

The Launchpad

The Launchpad is the default Home site for a business which can be used by the internal users to launch various sites in the business. When you launch a site from the Launchpad, you always return to Launchpad. Outside users may be given only the URL directly going to the sites of their interest.

To install Launchpad for a business, after logging in to the ERP site, delete the portal as well as the skin with the name Home, if any. Thereafter, change the page parameter to page=catest to start the test page. Once in catest, Run the command

call caaddhome

Now, if you click on the company name/logo in the Directory or access using http://myshortname.mydomain.com you will be taken to the Launchpad of the business.