@Brooks376011229ub1 Ah! Well I’m glad it’s working as-expected. The reason the value doesn’t update when you reload the file is because it’s interactive and keyframable. You’d be pretty unhappy if you keyframed or manually set that value to something specific and it changed every time.
In your case, since you always want to display the max value, you have two options with expressions:
- If you were pointing a text layer to the Number of Rows property before, you could bypass it and instead put this value on your sourceText. Note the “Outline” group is necessary here. If you pick whipped directly to a chapter’s value, you’d see it too.
thisComp.layer("Chapters.csv")("Data")("Outline")("Chapter Titles").numProperties
- If you really wanted the Number of Rows property to show the correct value, you could put this expression on it:
-
thisLayer("Data")("Outline")("Chapter Titles").numProperties
You could then pick whip your text layer’s sourceText to this row, but that’s an unnecessary additional expression.
-David, After Effects Engineering Team