Referencing to Files

Top  Previous  Next

When you define the source property of an element such as Image or Script you can use relative or absolute references.

Relative Reference

You define the source file of an element relative to the page it is used.

Examples:

sample.gif 

..\sample.gif

images\sample.gif

..\images\sample.gif

 

Absolute Reference

You cannot reference to a file which is outside the project root or library root. In that sense, absolute means either absolute in the project root or absolute in library root.

Absolute in Library

A "\" character at the beginning of a definition denotes that definition is absolute in the library.

Examples:

\cpn\mor\Common\sample.gif

\sys\moremotion\ROOT\moremotion\face\Ajax\mozilla_blu.gif

 

Absolute in Project

Characters ":\" at the beginning of a definition denotes that definition is absolute in project.

Examples:

:\Site1\images\sample.gif

:\plib\sample.gif

 

 

The first qualifier on an absolute project reference is either a Site name or "plib" which stands for project library.