Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

what is the Javascript syntax for EOF in Excel dataconnection?


Level 2
I know how to access each row in Excel dataconnection by :




Now I have to write a loop to process from first row upto last row in the worksheet.

How can I check for EOF condition, is there something like :

xfa.sourceSet.dataConnectionName.eof() ?

Thanks in advance.
2 Replies


Level 10
AWS Excel is not a real database I am not sure that an EOF marker exists. You will have to try it and see. The method you want is:


This returns a boolean value of true if this is the last record in the record set.


Level 2
Thanks Paul,

isEOF() did work!