Hi Rui,
I was looking at the code and i realized that the preview does not accept local domains to generate excel previews.. That is because the iframe utility is trying to access my link (automatically generated to create the XLS) and it cannot reach it.
So, for me this solution is limited and the description should say that it only works for environments in cloud or externally accessible.
Best regards,
Filipe