WebSite X5Help Center

 
Adrian B.
Adrian B.
User

Pdf viewer doesnt update file when new pdf file attached  en

Autor: Adrian B.
Visitado 356, Seguidores 1, Compartilhado 0  

I'm using the pdf viewer object on a page. 

If i update the pdf file (same filename) by deleting it on the viewer object "Local file on PC:" by right clicking and choosing "remove", and then click on the file folder to attach the update pdf file; what happens after re-uploading the site is the old pdf file is still presented (yes i cleared my browser cache and also tested from a different browser on another machine).

If I save the pdf file as a new name and choose it instead, then it displays correctly when published.

But I want to keep the old name (so it is the same for seo history? ) - so I have to delete the modified file name and then re-load the updated but old file name - then it works properly as it should.

Always the same issue with every pdf viewer file (on 250 product landing web pages): abthermal.com.

Seems to be an X5 issue?  Pro 16.3.1

Anyone else experience the same issue?

Adrian

Publicado em
3 RESPOSTAS - 1 ÚTIL
John S.
John S.
User

Hello Adrian

You could use iframes instead.

You could also use 2 iframes - one that shows a list of pdf-files in a folder, and the other that is a target iframe.

I have an example here : http://eksempelsite.dk/x52019test/evoluted.html

When you upload a new pdf, then it will automatically be shown, as the list reads all files in a directory.

The script I am working with, also has the ability to upload files ( if set up for this ).

Try to click on one of the pdf-files in my example, and then you will see it open in the target iframe.

I have set it up to show all files and allowed to navigate in folders. It could also be set up to only show PDF-files and only show for a specific folder.

There are more posts where users experience the same as you.

The pdf-object in X5 is only good when it is  a static PDF you want to show.

If the PDF changes or if there is more PDF's ( could be a monthly catalog ) then use iframes instead.

Ler mais
Publicado em de John S.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

(It > En)

1) ... you can send the new PDF (with the same name) on the network with a third FTP client, for example with Filezilla ...
2) ... in the project, for the file name use the URL option ...
3) ... paste the address of the PDF: http://your_site/folder/file_namepdf.pdf?1
4) ... effects the export ...
... after sending the new PDF:  http://your_site/folder/file_namepdf.pdf?2
... and then again: http://your_site/folder/file_namepdf.pdf?3
etc. ... ... .. .. . . . ?4 ... ?5 ... ?6 ... ... ...
.

ciao

.

Ler mais
Publicado em de  ‪ KolAsim ‪ ‪
Adrian B.
Adrian B.
User
Autor

Thank you for the kind replies... I will try them and see,

Adrian

Ler mais
Publicado em de Adrian B.