Accessing the applications > Accessing Ad Hoc Correspondence > Inline editing in Ad Hoc Correspondence

Inline editing in Ad Hoc Correspondence
The Ad Hoc Correspondence user can be given the possibility to edit texts directly in the Ad Hoc preview instead of using the text editor. To enable inline editing you can use URL parameters or edit the adhoc.properties file:
Using URL parameters – add &inlineEdit=true to the Ad Hoc Correspondence URL.
Editing the properties file – change inline property to application.inline=true.
Inline editing is only applicable when using unpaginated preview in Ad Hoc Correspondence. To be able to edit the texts directly in the Ad Hoc preview, inline styles must be applied to the HTML elements. For example:
<h1 style="color:blue;margin-left:30px;">MyHeading</h1>
StoryTeller specifics
If a StoryTeller Process is used as template for a document definition you must prepare the preview connector for inline styles. The default behavior for StoryTeller is to reference a css file and not to use inline styles. To change to inline styles you must edit the driver settings for the unpaginated preview connector. What to edit depends on whether you have a custom or default preview connector:
Custom preview connector – set Inline CSS = Yes in the HTML unpaginated driver settings.
Default preview connector – edit defaultpreviewconnectors.xml in the following directory:
<StreamServe Installation>\Applications\StreamServer\<version>\Server\bin
To edit defaultpreviewconnectors.xml
1
Open defaultpreviewconnectors.xml in a text editor.
2
Locate the following section: <option name="Inline CSS">No</option>
3
Change to: <option name="Inline CSS">Yes</option>
4
Limitations
OpenText StreamServe 5.6.2 Updated: 2018-01-26