Oracle® Fusion Middleware Idoc Script Reference Guide 11g Release 1 (11.1.1) E10726-01 |
|
Previous |
Next |
Home > Idoc Script Reference Guide > Management and Configuratio... > setContentType
Sets the content type for the returned page so the browser renders it properly. For example, a content type (file-format type or MIME type) of text/plain, application/excel, or text/xml.
Type and Usage
Parameters
The only parameter is the content type.
Output
Returns TRUE if the function is successful.
Returns FALSE if the function fails.
Example
<$setContentType("text/plain")$>