Setting Up
Installation
The Document Actions assembly DLL is added by the Studio designer to a Template Project folder:
Example: A6_Postcard\Document Actions\CsvVariableToIndexedVariables.dll
The studio designer can then configure a Job to call the method
CsvSplit(defaultValue)
Studio Project
CSV Variable to Indexed Variables is a Document Actions assembly that allows the Studio designers to configure the Jobs to call the method CsvSplit(defaultValue).

Please make sure the MergeData() method is called AFTER the CsvSplit(). Since the individual changes to variable values are not reflected immediatelly - there must always be a call to MergeData() AFTER the CsvSplit() method. It reflects the variable changes collectively.
The method CsvSplit(defaultValue) accepts one argument:
-
dafaultValue
It is the text which is going to be assigned to indexed variables which are defined but there’s no CSV data left to populate the variable value. It can be an empty string.
Example:
If the Animal variable contains the value of Cat,Dog,Horse,Rabbit
then the defined indexed variables are populated like this:
Animal01 = Cat
Animal02 = Dog
Animal03 = Horse
Animal04 = Rabbit
Animal05 = defaultValue