I'm working with following document I want to retrieve name from the first document of array kiran and print it in a table... here is what i have tried where ProductManager is my collection and define... if statement depends on existence of data in array, but how to not lose first ...