Select to view content in your preferred language

Hyperlink for a file location

4641
16
07-12-2013 10:48 AM
DougParent2
Deactivated User
Is it possible to generate a working hyperlink to a file location in the pop up attributes? I have tried to enter the file location but it just records it as text.
Tags (2)
0 Kudos
16 Replies
TimWitt
Deactivated User
Doug,

Did you use the hyperlink button, when configuring your "Custom Attribute Display" pop up box?

[ATTACH=CONFIG]25902[/ATTACH]

If you have a filed in your attribute table dedicated to those file locations, you can put the field name in the URL location with {} surrounding it. i.e. {TEXT}

But remember if it is stored on your machine, it will only work for you.

Hope this helps!

Tim
0 Kudos
DougParent2
Deactivated User
I am not able to create a hyperlink by doing this. I am trying to add the link to the attribute table so a person needing to access the data located in the file location will be directed to it. It is still just displaying as text when I try to configure it. I am also not familiar with the custom attribute display.

[ATTACH=CONFIG]25927[/ATTACH][ATTACH=CONFIG]25930[/ATTACH]

The last field with text is DocumentHy which is where I would like the hyperlink.
0 Kudos
TimWitt
Deactivated User
Are you uploading a zipped shapefile to get your layer or is it a hosted feature service?
0 Kudos
DougParent2
Deactivated User
I have been experimenting with a shapefile as a published service and a mxd as a published service from desktop. I just need to be able to create a file location link in the pop up so someone viewing the map can be directed there to view the folder.
0 Kudos
TimWitt
Deactivated User
Once you have uploaded your data to the map you need to configure your pop-up. To get to this follow the instruction in this picture.

[ATTACH=CONFIG]25939[/ATTACH]

Now the pop-up configuration is open. Where it says "Display", change it to "A custom attribute display". Then click "Configure".
Click the small plus on the right side to add the fields you want to show. Once it is time to add the link, click on the add hyperlink button. As URL type in {DocumentHy} and as description use whatever you like. Click "set" and "ok" once your pop-up box is set up. Finally click "Save Pop-Up".

[ATTACH=CONFIG]25940[/ATTACH]

I hope this works for you!
0 Kudos
DougParent2
Deactivated User
These steps are very helpful, but it is not redirecting when I click hyperlink in the pop up.

[ATTACH=CONFIG]25942[/ATTACH]
0 Kudos
TimWitt
Deactivated User
What browser are you using?
What happens when you click on the link?
Can you post an example of a link?
0 Kudos
DougParent2
Deactivated User
I am using Chrome and when I click on the link it does nothing. I have to right click to get an option of where I want it to open. If I have the URL in {brackets} it takes me to an ESRI web page, if I leave the brackets off it takes me to a blank tab. I am not sure why it is opening a web page when I need it to open a folder.

[ATTACH=CONFIG]25943[/ATTACH][ATTACH=CONFIG]25944[/ATTACH][ATTACH=CONFIG]25945[/ATTACH]
0 Kudos
TimWitt
Deactivated User
Try putting "file:" in front of your path.

I.e. file:\\FileServer01\Cad_User
0 Kudos