Introducing GlobalReplace in WordStyling

Today we are introducing GlobalReplace for use in the WordStyling feature. Just like all the regular WordStyling feature, it’s manipulate data coming into Extreme/LiveMerge.

We created this new GlobalReplace to ease the transition from older systems, that did not useĀ the xml bases WordStyling to make search and replace in the global data space.

Where all other WordStyling processes manipulate data from one or more fields, and after the manipulation is done creating a new field for the end-data to go into.. The new GlobalReplace makes a search and replace of the full data, not just a field, and the end-data is the original data instead of a new field.

Just to make a compare between the standard field based Replace process and the GlobalReplace

The field based Replace:

<Process>
<ShowField>false</ShowField>
<ProcessType>Replace</ProcessType> 
<OutputField>outputOfReplacedData</OutputField>
<ProcessInfo>[inputField]</ProcessInfo> 
<StringSearch>xxx</StringSearch>
<StringReplace>zzz</StringReplace>
</Process>

TheĀ global based GlobalReplace:

<Process>
<ShowField>false</ShowField>
<ProcessType>GlobalReplace</ProcessType> 
<StringSearch>xxx</StringSearch>
<StringReplace>zzz</StringReplace>
</Process>

The GlobalReplace does not use the OutputField or the ProcessInfo, both input and output is the data itself.

You can read more about WordStyling and data manipulation here

A cheat sheet where all WordStyling function is shown can be downloaded here

Leave a Reply