Skip to main content
Fred.L
Inspiring
September 2, 2025
Question

Breaking link of indesign files added as Links

  • September 2, 2025
  • 1 reply
  • 214 views

Hi everyone,

I’m facing a situation that could potentially make me crazy and I’d appreciate your insights.

Ideally, I’d like to « break the link and pull the content » with an Indesign file that’s visible in the Links panel. However, we can’t do this natively. So, what are my options?

 

Statement :

I understand that Indesign files are complex files and are probably more similarly dealt with like graphics files. We can’t break a link with a graphic; we can only modify or delete it. But since both are in the Indesign ecosystem (the link and the active document), I’m wondering if there’s anything we can do. Most likely, it would involve scripting, which is fine. But where should I start, and what would be the strategy here?

 

Here’s what I have:

- I have a 300+ document that uses 177 Indesign files as links.
- The file needs to be translated.

 

Indesign limitations :

The issue is that Indesign files as links are not directly editable, unlike a .docx file. So, I have to export them one at a time for translation. I could easily script something to export them as IDML and inject them into our CAT software (Computer Aided Translation Software), but it would mean having to deal with an extra 177 files and maintain the structure of the Indesign file as is. Indesign files as links are nowhere near a viable option for me; it brings too many issues to the table.

In a perfect world, I’d like to break the link with the ID file, which would pull the content within the active document. This is what happens with .docx files linked.

 

Quick and dirty option:

- I could manually edit each link (177 of them… I’d prefer not to go on that path).
- I could copy/paste the content from the original textframe into the active document.

 

And then comes scripting, and an idea:

- Would it be possible to run a script that does:

- Look for an .indd as a link.
- Identify the textframe parent.
- Open the .indd link.
- Copy the entire content of the file into the pasteboard.
- Close the file.
- Clean the textframe parent and paste from the pasteboard.

Cleaning the textframe would certainly delete the .indd file from the Links panel (which is fine), and the script would help me get the content I need.

 

Has anyone faced a similar situation? Do you have any other solutions in mind?

 

Thanks for your insights, or even just reading me till the end ^^

1 reply

Willi Adelberger
Community Expert
Community Expert
September 2, 2025

Make a table of contents to the first headline of ech document. InDesign will create links automatically if you check the appropriate option. 

Fred.L
Fred.LAuthor
Inspiring
September 2, 2025

Hey,
Thanks for your reply,

I'm probably missing something and Iprobably wasn't clear enough in my original message.
-> The preferred option is to get the content of the linked indesign file, and get rid of the linked file. What would "using Table of content" help me achieve here exept being able to bring the 1st paragraph of the linked ID file ?

The linked indesign file has many things in it, being formatted text and objects. I fail to see what ToC could help me here, but I may not know something about them ^^

Willi Adelberger
Community Expert
Community Expert
September 2, 2025

Then you have to merge documents into a single one. But you can run into problems regarding different style definitions and different baseline grids. 
Go to layoutmenu and have the original document and the target open and copy pages from the one to the other. 

In rhe definition of the paragraph style where you want to divide the epub or html use the option in the HTML section to make a new document.