I did that so my rule now looks like this:
var returnString = " ";
var input = FusionPro.Composition.inputFileName;
var ex = new ExternalDataFileEx(input, ',');
var records = ex.recordCount;
for (var i = 1; i <= records; i++)
{
beerList = new FPRepeatableComponent("Craft");
beerList.AddTextVar(Field("Beer"), Field("Style"));
returnString += beerList;
}
return returnString;
----------------
However, now it's repeating the same record multiple times on the page and created separate pages for each record. What I am looking to get is more than one record on the same page.
Thanks.