Closed
Excel file empty while parsing
Hi ,
I am trying to parse a excel file using pxParseExcelfIle and I want to log an error in case the file is empty.
Is there any OOTB function or any java code so that we can identify whether the excel while is empty or not?
***Edited by Moderator Marije to add Capability tags***
To see attachments, please log in.
@lakhank7 After parsing an excel if the file contains no data then by using a function @lengthofPagelist is greater then zero on pxResults page can set a customised error. or if you want to validate the uploaded excel file have correct template then need to write java code. pxParseExcelfIle can't validate the template