You are here

app

The app object can be used on both the production and preview tiers to gain access to the correct web application mount points and more.

The following methods are available:

context

Returns the root web application context.

include(path)

Performs a server-side include of a web asset from the default endpoint.

include(path, endpoint)

Performs a server-side include of a web asset from the specified endpoint.

It executes a wrapped server-side include. The result string is returned.

Some example paths include:

   /a/b/c.gif
   /images/test.jpg

Sending feedback to the Alfresco documentation team

You don't appear to have JavaScript enabled in your browser. With JavaScript enabled, you can provide feedback to us using our simple form. Here are some instructions on how to enable JavaScript in your web browser.