[Web Previewer] Preview does not work without internet or if the domain is not externally accessible

Forge Component
(18)
Published on 2018-11-19 by Rui Mendes
18 votes
Published on 2018-11-19 by Rui Mendes

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

Hi Filipe,

The component uses public APIs to parse the file. This means file need to be available on internet (public or private). Even if it is local, it should have it's own internet accessible URL to make it work.

Regards,

Swatantra