Understanding How to Convert RTF Attachments to HTML Text

You can convert Rich Text Format (RTF) media object attachments to HyperText Markup Language (HTML) text format. Media object attachments are stored in the Media Objects Storage table (F00165). To perform the conversion, you run the Convert RTF to HTML Text program (P98MOHTM), which reads the records in F00165, finds all of the text attachments, and determines what records to convert from RTF to HTML format. The conversion program enables you to convert all of the RTF attachments in F00165 in a single batch run, or you can select a group of records to convert in a batch run. The conversion program reads the text attachments in F00165, generates an equivalent HTML attachment for any RTF attachments in the batch run, and updates the appropriate F00165 records with the converted HTML text.

When the conversion process is finished, the program provides a status of Completed or Partial for the records that were processed in the batch. A status of Partial indicates that one or more records could not be converted in the batch.

The system automatically logs records that failed to convert during the conversion process in the Server Manager JAS log at the SEVERE level. You can log in to Server Manager and see which records failed to convert during conversion process. You can use primary key information (such as OBNM, TXKY, and sequence number) to find the particular attachment in F00165 and manually fix any errors.

Before you begin the conversion process, you can configure the Server Manager JAS log at the DEBUG level to see records that successfully converted during the conversion process. Records that successfully convert are logged at the DEBUG level with the component name RTFTOHTML.