-
Book Overview & Buying
-
Table Of Contents
Learning Alfresco Web Scripts
By :
It is important to understand the web script URI. The way the web script URI can be represented in a generic form is http[s]://<host>:<port>/[<contextPath>/]/<servicePath>[/<scriptPath>][?<scriptArgs>]
The terms used in the web script URI are explained as follows:
http[s]: This is the protocol to invoke the web script. This could be either http or https.
host: This is the name or address of the server where the web script is deployed.
port: This is the port where the web script is exposed on the server hosting the web scripts.
contextPath: This is the path where the application is deployed to. For data web scripts, this would generally be /alfresco.
servicePath: This is the path where the web script service is mapped with. Generally, this would be /service.
scriptPath: This is the path to the web script as defined in the web script descriptor document *.desc.xml under the <url> tag.
scriptArgs: These are the arguments...
Change the font size
Change margin width
Change background colour