[Web Previewer] It can not preview directly on our server.

[Web Previewer] It can not preview directly on our server.

  
Forge Component
(17)
Published on 19 Nov (3 weeks ago) by Rui Mendes
17 votes
Published on 19 Nov (3 weeks ago) by Rui Mendes

HI

I was using it, but found that it could not preview on our own server.

I don't know why?

Hello Eric,

Just a thought.

If the website with the preview is HTTPS, You will not be able to see links in not secured links (http).

If it is a file, which file are you uploading?

Cheers

HI Eduardo:

We embrace this component,But the downloaded component cannot run on our server(doc,pdf,ppt);

I think for two reasons:


Did you tried without the https, but instead with http?

Solution

Hi Eric.

What the component does is use the public APIs from Google and Microsoft to preview the files, based on the URL.

I believe your hkhkgs458 server has firewall rules that prevent the component's communication to the APIs. That's why it works on the eric-du environment.


Hope this helps unlock your situation.

Cheers,

Rui Mendes

Solution

Nice catch, Rui :)

hi all:

I also have a question about file security. If this component is adopted, will my file be posted to a third party, resulting in file leakage.

According to Rui answer, yes. Your file will be sent to the service that does the rendering.