How to source all the names from a .csv file into multiple text layers?
- October 6, 2025
- 1 reply
- 129 views
Hello, I have a project where I need to showcase multiple rows of names, hundreds of thousands of them, scrolling through a long 15K x 2K resolution screen. These names are going to be sourced from a spreadsheet (I believe sales force), converted into a .csv file.
They don't need to be animated, I was planning to just manually keyframe the scrolling motion myself. I just need each row of names to be connected to their own individual text layer. I found an expression that allows me to take a single text layer and populate all the names in a single column of .csv file:
var filename = "[file-name].csv";
var column_index = 0;
var numberOfRows = thisComp.layer(filename)("Data")("Number of Rows");
var textString = "";
for (var i = 0; i < numberOfRows; i++) {
var cellValue = footage(filename).dataValue([column_index, i]);
textString = textString + cellValue + " ";
}
text.sourceText = textString;
But how do I adjust this expression so that I can use this one .csv file to connect mutliple text layers. I'm assuming I'll need to create multiple columns in the spread sheet?
Here's a screenshot of what I'm looking to achieve as well as a sample .csv file.
