AnsweredAssumed Answered

Field Calculator - Adding HTML and changing File Paths

Question asked by Nomkins on Jul 9, 2014
Latest reply on Jul 10, 2014 by Nomkins

Howdy,

I am using ArcMap 10.2.

In my data, I have an "Image" field that contains a file path.

I am wanting to add HTML content to both ends of this field.

The end result, a frame that displays the Image when using the HTML Popup Tool.

The tricky part is that I need to replace part of the File Path in the process.

Instead of a mapped drive, I need to replace the first part of the File Path with the name of a server which the picture resides.

 

Example Original "Image" path: C:\Folder\Folder\Picture.jpg

Example Changed "Image" path: \\\\\Server\Folder\Folder\Picture.jpg

Example Changed "Image" path with Frame: <img alt="File" src="\\\\\C:\Folder\Folder\Picture.jpg" width="416" height="312"/>

 

Being new to ArcGIS, perhaps I am over my head with this undertaking.

Surely there is a way to do this in bulk to all of my Features.

Any ideas?

Outcomes