Currently, rich text editor is supported for only Quote and Sales item’s attributes. By default, all the quote and sales item attributes are shown in UI as either text box or text area. But some of these attributes are either holding a long text which is not enough to view with normal text area or require the need of html formatting to be printed in proposal reports. In such scenario, administrator can decide to use rich text editor for these attributes by using annotation “advancedEditor”.
The Quote attributes that is required to be used by rich text editor must be annotated with “advancedEditor”. Usually, this can be done in application-schema-ext.owl. Select 'Administration' > 'Content Management' > 'conf' > 'ontology'
Quote Rich Text Editor Attributes
Below is the sample of quoteExtra attribute marked with advancedEditor annotation. Server restart is required in order to take effect changes.
<owl:DatatypeProperty rdf:about="&ase;quoteExtra">
<rdf:type rdf:resource="&owl;FunctionalProperty"/>
<rdfs:label xml:lang="de">Angebot Extra</rdfs:label>
<rdfs:label xml:lang="en">Quote Extra</rdfs:label>
<ps:advancedEditor rdf:datatype="&xsd;boolean">true</ps:advancedEditor>
<rdfs:domain rdf:resource="&as;Quote"/>
<rdfs:subPropertyOf rdf:resource="&ps;assertion"/>
<rdfs:range rdf:resource="&xsd;string"/>
</owl:DatatypeProperty>
Sales Item Rich Text Editor Attributes
Below is the sample of lineitemtextforETO1 attribute marked as “advancedEditor” annotation. Server restart is required in order to take effect changes.
<owl:DatatypeProperty rdf:about="&ase;lineitemtextforETO1">
<rdf:type rdf:resource="&owl;FunctionalProperty"/>
<rdfs:label xml:lang="en">ETO Text 1</rdfs:label>
<ps:advancedEditor rdf:datatype="&xsd;boolean">true</ps:advancedEditor>
<rdfs:domain rdf:resource="&as;SalesItem"/>
<rdfs:subPropertyOf rdf:resource="&ps;assertion"/>
<rdfs:range rdf:resource="&xsd;string"/>
</owl:DatatypeProperty>
Rich Text Editor Content Preview
With the "Preview" button enhancement in the rich-text editor's toolbar, it allows user(s) to preview content in a resizable window before publishing. This feature enhances user confidence and quality control in creating and editing rich-text report.