Hello everyone,
I am using the StringPairReplacer to find and replace short codes with their corresponding fulltext from a string that may contain multiple codes. It looks something like this
A1, A2(A3), A4 → Fulltext1, Fulltext2(Fulltext3), Fulltext4
with the Replacement Pairs: A1 Fulltext1 A2 Fulltext2 A3 Fulltext4 A4 Fulltext4
This works fine, however the lookup table containing codes-fulltext translations may change in the future and I would like to implement a dynamic solution which doesnt rely on changing the workspace everytime something changes in the translation.
I managed to create the correct text for the replacement pairs field using the SQL Creator from my translation database but am having trouble inserting this string into the appropriate field as it only accepts text and user parameter input.
I am not too familiar with user parameters and cant seem to work out a solution to insert the dynamically created string into the StringPairReplacer.
Does anyone have an idea how to do this?