Description
Determines the path to the remote files on the application server that is defined for the
current site. The current site is the site that is associated with the document that currently has
focus. If no document has focus, the site that you opened in Dreamweaver is used.
ColdFusion Component Explorer uses this function; see
site.getAppServerAccessType()
Arguments
None.
Returns
If the access type to the application server file is
otherwise, this function returns an empty string.
site.getAppURLPrefixForSite()
Availability
Dreamweaver MX.
Description
Gets the value of the URL prefix that is extracted from the HTTP address defined in the
Local Info section of the site definition dialog. It is the path that appears after the http://
:
hostname
portnumber
Arguments
{ siteName }
The
argument, which is optional, is the name of the site for which you want to get
siteName
the URL prefix. If you do not specify a tie, the function gets the URL prefix for the current
site.
Returns
A string that contains the URL prefix of the currently selected site.
Example
var sitePrefix = site.getAppURLPrefixForSite();
274
Site
and site.getLocalPathToFiles().
/.
, this function returns a path;
local/network
Need help?
Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?