Is This Content Helpful?
We're glad to know this article was helpful.
The instructions provided describe how to package a published map that has hyperlinked files. When packaging data for a map published using the Publisher extension for ArcGIS for Desktop, the packaging process does not automatically include files on disk that are associated with feature layers through hyperlinks. It is up to the user to include those files in the package. However, since the paths of the hyperlinked files must be specified in the attribute table of layers having hyperlinks, confusion can arise about how to organize the locations of the hyperlinked files so that the Published Map File (PMF) can find the referenced files.
Below is an example of a way to organize maps and their hyperlinked files. In this example, the hyperlinked files are .jpg images, and all the .jpg files are stored in a single folder called '\Images'. The map is in a folder called '\Map' at the same directory level as the '\Data' folder where the map's data sources are stored. When the map is published, the PMF is placed in the same folder as the map. For example:
Follow the steps below to package a published map that has hyperlinked files:
1. In the Layer Properties dialog box, under the Display tab, check the 'Support Hyperlinks using field' check box. Click the drop-down arrow for the Hyperlink field and select Image1. Click the Document radio button.
As a result of setting these options, when the MXD or PMF is opened, the document successfully links to its data sources and hyperlinked files.
2. Run the Create Data Package tool. An output folder is specified, such as D:\Temp\1160497_pkg. In this example, the data format is 'Compressed and Locked File Geodatabase.'
When packaging, the '\data' and '\pmf' folders are created in an output folder. Any other folders or files are automatically removed from the target folder. The output directory looks like this:
3. Copy the '\Images' folder to the '\data' folder:
4. Copy the packaged output folder (in this case, \1160497_pkg) to the intended target location. Open the PMF in the packaged folder. The hyperlinks should be active and reference the corresponding files in the package.