Using Dynamic Converter Template Selection Rules Sample Fragments for Native Documents

Working With Content Files 10-7 The Insert Dynamic Conversion dialog see Insert Dynamic Conversion Dialog on page A-111 appears. 3. Select the conversion definition from the menu, or enter the name of a new conversion definition.

4. Click OK.

5. The conversion definition is now part of the region template. A wcmDynamicConversion tag see the Technical Reference Guide for Site Studio is written to the Region Template and the name of the conversion definition is a parameter in the tag. You can now assign a native document by using the Assign Content dialog see Assign Content Dialog on page A-83, or the contributor can add the native document. The wcmConversionDefinition tag can also be written in source view directly. With native documents, you do not have the kind of formatting control over the final web page like you do with contributor data files which can be precisely controlled in an element. As such, you should spend time designing conversion templates specific to your site and then encouraging contributors to use styles in the native document that you can map to styles in the conversion template.

10.8.4 Using Dynamic Converter Template Selection Rules

When you have native documents on your site, one thing you must do is specify a conversion definition to control the look and feel of those documents on the Web site. You can specify conversion templates or rules which govern the use of conversion templates in the conversion definition by using the Native Document Conversion Settings dialog see Native Document Conversion Settings Dialog on page A-46. The available templates and rules that appear in this dialog must be set up ahead of time using the Dynamic Converter Template Selection Rules page. To access the Template Selection Rules page you must have the dynamic converter component installed on your content server. From the main menu of the server, select Administration then Dynamic Converter Admin and then Template Selection Rules. 10-8 Oracle Fusion Middleware Users Guide for Site Studio Designer Figure 10–8 Dynamic Converter Template Selection Rules Page On the Template Selection Rules page, you can create and edit rules, layouts, and more. For more information, see the Administrator’s Guide for Dynamic Converter.

10.8.5 Sample Fragments for Native Documents

In the Toolbox, under Other Fragments, there are a few fragments designed specifically for native documents that you can use. Each fragment enables you to add a native document directly to the page template outside of a placeholder and perform a dynamic conversion using a conversion template and layout from Dynamic Converter. ■ Dynamic Conversion : Adds a converted document to your page template. It includes three parameters that you can use to specify the document, a conversion template, and a conversion layout. ■ Dynamic Conversion IFrame : Similar to the first fragment except that it adds the converted document in an IFrame so that you can scroll through the entire document without scrolling down the web page. It includes several parameters that you can use to specify the document, the template, and the attributes of the IFrame. ■ Random Conversion . Performs a random dynamic conversion of native documents based on a query specified in the content server. It includes four Working With Content Files 10-9 parameters that you can use to specify a query, a query limit, and the conversion templates. While fragments offer many methods of incorporating native documents, you may find it more useful to directly assign the native document to placeholders. For more information on these fragments, see Other Fragments on page C-24.

10.8.6 Using Direct Delivery