POST
|
Ian, That worked. Thanks so much. This is going to be a huge time saver! rob
... View more
09-08-2015
10:20 AM
|
0
|
1
|
1428
|
POST
|
I think I follow what you are saying but I keep getting an indentation error. This is what I have import webbrowser def OpenLink ( [HYPERLINK] 😞 pathlist = [HYPERLINK] .split(" | ") for path in pathlist: fullpath = "U:\LWATER\SCANNED" + path webbrowser.open(fullpath) return
... View more
09-08-2015
10:06 AM
|
0
|
3
|
1428
|
POST
|
Ian and Blake, Thanks for replying. Using the split method is kind of working. It will open the first file (before the pipe - Blake, thanks for pointing that out. I had no idea.). I would like it to open each file at the same time. I am not sure if that is even possible. Any thoughts? thanks rob
... View more
09-08-2015
08:34 AM
|
0
|
8
|
1428
|
POST
|
Hyperlinks have always been an issue for me. Dynamic hyperlinks are only available in the .mxd which won't work for me. I thought attachments were going to be the way to go until I started researching and found out that the attachement is stored in the geodatase. Unfortunately, this won't work for our workflow. Record maps are constantly being updated which means that every update would result in several steps to keep the attachment up to date. Too bad attachments can't just store the path to the file location, but I digress. So i have been using hyperlinks. This works great when I only have one file linked to a feature class. Unfortunately, we have several features that have multiple files. I have been storing these in my hyperlink field separated by a "|". So I may have the following entry \V09\VBP001.tiff | \V09\VBP006.tiff In these cases the hyperlink tool will not work. I am looking for a way to have my python script to split the above entry and open both files. This is what I have so far import webbrowser def OpenLink ( [FIELD] 😞 path = 'PATH' + [FIELD] webbrowser.open(path) return This works great for hyperlinks that only have one file. I cannot figure out what I need to add to open multiple files separated by the "|" thanks for the help
... View more
09-04-2015
12:58 PM
|
0
|
11
|
4796
|