how to get all folder in document library with first image url in that folder.
for this i get all folder from document library and then get first file from that library
get all folder and in that success method call my function to get first file from this folder.
but when my function for getfirstfile call it gives me this error
The collection has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested
if i call this function just once then get first file
but when i call function multiple time or in loop then gives me this error
is that problem of async call os jquery?