Overview: we have created a custom plugin for InDesign that allows a user to upload files to our FTP with the same credentials they have for our online based software. When a user clicks "upload package" this allows them to choose where the package should go, once location is selected an InDesign package is automatically created and saved to the users machine, this package is then uploaded to our FTP. Once a file is uploaded to our FTP, the file location is updated in our software. Our software uses the IDML/XML to allow previewing and basic editing.
Issue: When one of these files is opened from our software, image links are broken. We have validated that all images are uploaded in the links folder as part of the package. In digging deeper, the XML references the link location of the users machines that uploaded, not the location of the links folder in the package. If the linked image on the users machine was contained in a folder called links (even if it was linked to a folder outside of the package) the images appear. So what I know is that InDesign is looking for a links folder in order to recover links.
Test Scenario:
- Open new InDesign document
- Place images from disconnected locations (not in a folder called “links”)
Created package (update graphic link checked)
Open files from package (hoping I am prompted to update links) a. opening INDD did not prompt to update links, pointed to package location b. opening IDML did not prompt to update links, pointed to package location
- I compared the XML from the file outside of the package to the file inside of the package, and the XML from inside the package had the updated link location that pointed to the links folder.
Why are my links automatically being updated when an opening an IDML from the package, but this isn’t happening with the packages we send to the FTP? Our FTP utilizes InDesign Server instead of InDesign CC