Writing Assistant for Long Text fields
An administrator can map a long text field to Writing Assistant, and at runtime, users can try different versions and select the one they like most.
In this release, we support mapping Writing Assistant only to one field on a page, and this feature is available in English only.
This provides a way to expose writing Assistant and AI related features to any page.
Steps to Enable
Leverage the Visual Builder Studio to expose your applications. To learn more about extending your application using Visual Builder, visit Oracle Help Center > your apps service area of interest > Books > Configuration and Extension.
Map "writingAssistantTemplate" to any long text field.
If a new extension is generated in previous release, you need to add the following code in the corresponding files for a Custom Object:
field-templates-overlay.html
<template id="writingAssistantTemplate"> <oj-vb-fragment name="oracle_cx_fragmentsUI:cx-note" bridge="[[ vbBridge ]]" :id="[[ $fieldName + '-' + cxcore.utils.generateUID() ]]"> <oj-vb-fragment-param name="dynamicLayoutContext" value="[[ $dynamicLayoutContext ]]"></oj-vb-fragment-param> <oj-vb-fragment-param name="style" value="writingAssistantTemplate"></oj-vb-fragment-param> </oj-vb-fragment> </template>
field-templates-overlay.json
"writingAssistantTemplate": { "title": "Field Template for ai assist on long text fields", "description": "Field Template for ai assist on long text fields", "extensible": "byReference", "@dt": { "type": "field" }, "dependencies": [] },