Hi,
I am trying to open PDF file from a link in ArcGIS Online. Configure the Pop-up as a custom attribute display.
I also configure the IIS folder where the PDF files are stored.
The columns from the layer and the PDF files have the exact same name but when I click on the link of the pop-up
The link open in a new page but I got a blank page, not the pdf.
What im doing wrong, do I need to configure something else?
Thanks for your help!
Diego Llamas
My guess is it is the spaces in the names that are causing problems. It is best practices to never have spaces in file or folder names. because of these kinds of issues.
Actually i have two fields one {NAME} with "MAPA DE CATASTRO" and the number of the grid (with space) and other field {GRID_ID} that just have the number of the grid. I have two PDFs, one with the name and one with the number (with no space "008.pdf") and none of them works. I think it has to be something with IIS or HTTP configuration, or something related with that.
Hi Diego,
I think the issue is that the link is not public. It is for the localhost.
Try this:
1) Upload the pdf file in google-drive with access to everyone.
2) Give the URL link of the pdf file in google-drive to ArcGIS Online.
Can you view the PDF file now?
Is the MIME type (Multipurpose Internet Mail Extensions) correctly defined ("application/pdf") for ,pdf files?
If you specify the URL below in your browser does it open, does it return a blank page or an error?
http://localhost/Builder/PDF/10K/MAPA DE CATASTRO 008.pdf
If you copy a text file (like "test.txt", with some text in it) to the same folder and change the URL to:
http://localhost/Builder/PDF/10K/test.txt
... does that URL open the text file?
Hi Xander,
I return a Blank page, I tried also Default.aspx using http://localhost/Builder/Default.asp and it gave me a blank page also. I checked the MIME type and I have application/pdf defined. I also tried this test in other computer and it worked fine with the exact same steps I previously showed, so it is something with my computer that I have not found yet. I compare all the settings with the other computer and they are the same, it is something specific I haven't found yet.
thanks for your help!
Do you have support for static content?
Anas Ghanem Blog - Don't forget to check "Static content service" in IIS7 installation
Xander,
Yes Static content is selected.