I have created a data Type , I have few set of documents generated by system based on case data. all these file details are in one Page list say Documents(it have the pyfilename which I gave in the datatype). when I am uploading I have another pagelist running which has the pyFileType & pyFilename as the uploaded name (user can upload any document from his system) to check the uploaded doc type.
I am looping through Document and D-page results. Irrespective of particular document am upload its looping through all results and giving errors on correct file format too.
Please suggest how do I validate for specific document which am uploading in the list