For advanced customizations and integration with other business systems, Content Server supports several development tools and technologies, such as the following:
In addition to these tools, the proprietary Idoc Script is a server-side custom scripting language for Content Server. It is used to reference variables, to conditionally include content in HTML pages, and to loop over results returned from queries.
Because Idoc Script is evaluated on the server side (rather than the client side), page elements are processed after the browser has made a request, but before the requested page is returned to the client.
Idoc Script is primarily used in the following situations:
for include code. An include defines pieces of code used to build Content Server Web pages. They are defined once in a resource file then referenced by template files as necessary. Includes are used on almost every page of the Content Server Web site.
A super tag can also be used, which defines exceptions to an existing include. The super tag tells the include to start with an existing include and add to it or modify it using the specified code.
for variables. You can use variables to customize the Content Server behavior. Variable values can be stored in an environment resource, such as the config.cfg file and many are predefined in the Content Server. You can also define your own custom variables.
for functions. Many built-in global functions are used in the Content Server. These perform actions such as date formatting or string comparisons. Some functions return results and some are used for personalization functions, such as those found on the My Profile page.
for conditionals. You can use conditionals to test code and include or exclude the code from an assembled Web page.
for looping. Two types of looping are available using Idoc Script: ResultSet looping, in which a set of code is repeated for each row in a ResultSet that is returned from a query and while looping, which is a conditional loop.
in Administration areas, such as Workflow customization, web layouts, archiver and search expressions.
See the Oracle Fusion Middleware Idoc Script Reference Guide for details on usage and for syntax and configuration variable information.