OL Learn

Multiple delimiters for multiple data

Hi all,

I’m new here, so apologies if this is in the wrong place.

I’m trying to work out whether it is possible to have multiple text delimiters for multiple data samples - I have 3 types of text files. They are all the same layout, output by the same system but with different text at the top of each record (Reminder, Invoice, Final Demand).

I want to try and use 1 template across all 3 to reduce the amount of processing that is done. Is this possible?

Thank you in advance.

Hi @gbc20210802, welcome to the OL Learn forum!

I suppose that you’re using the same Data Mapping Configuration file for each type (Reminder, Invoice or Final Demand)? Because an option is to:

  1. Create a record field to which you add a value which determines if the record contains data for a Reminder, Invoice or Final Demand.
  2. Create a Print Context Section for each type.
  3. Create a Conditional Script for each Print Context Section which will for example print the Print Context Section when the specific record field does contain the value which determines that it’s that specific type.

You can link a Conditional Script to a Print Context Section by right-clicking on the name of the Print Context Section (in the Resource pane of the Connect Designer) > “Make Conditional…”. Where the Conditional Script does contains the following settings for example:

Conditional-Script

Thank you for the guidance. I will look into this and report back if it worked for me.