Libraries¶
Libraries lets administrators register reusable resources such as JavaScript files, stylesheets, or fonts so they can be used throughout the application.
Use this page when forms or scripts depend on shared front-end or script resources.
Typical Uses¶
- add a third-party JavaScript library
- add shared CSS
- add font resources
- make a script available to server-side execution
Resources can be defined either by storing their content directly in Emakin or by linking to an external URL.
Note: If an external URL is used, all users must be able to reach that URL.
Settings Reference¶
Is Enabled?¶
Controls whether the library is active and included.
Name¶
Descriptive name used for identification in administration.
Path¶
URL of the library file. This can point to an external resource or to a file stored in Emakin.
Type¶
Defines the resource type, such as Javascript, CSS, or Font.
Render Type¶
Defines where the library should be available:
- Client Side: included in HTML so client-side JavaScript can use it
- Server Side: available to server-side scripts
The preserved documentation recommends storing the content directly in the Content field when the library is needed on the server side, rather than depending on an external URL.