Skip to main content
AODA_Developer
Inspiring
Apr 16, 2025 7:36 PM UTC
Question

Articles missing after Data Merge

I'm looking for some insight with the InDesign "Data Merge" functionality as it relates to Articles and Tagging in the exported PDF.
 
We have a document layout with placeholders for incoming data, and everything is perfect and Articles are correct. Exporting to PDF (Interactive) works for the base document, and the resulting PDF passes PAC 2024 just fine (albeit with variable names instead of actual data).
 
If we connect to the dataset (a CSV spreadsheet), map the variables to the correct placeholders, and run the merge (to an InDesign document), the resulting multi-page document (one page for each row in the data) has the Articles for the first page, i.e. the very first row of data, but the subsequent pages are NOT articled. So when we Export to an interactive PDF, we're missing Tags on every other page after page 1. The first page is great, it passes the PAC tests 100%, but the rest of the pages fail because they are essentially untagged.
 
Anyone run into this before? I haven't found anything in Adobe's Knowledge Base, and can't figure out if I'm just missing a setting somewhere, or if I've found a fundamental flaw in Adobe's merge engine.

    12 replies

    Mike Witherell
    Community Expert
    Community Expert
    Apr 17, 2025 10:50 PM UTC

    Hate to ask a dumb question, but missing tags upon generation of data merge don't trace back to something simple like a spacebar space in the .csv file, does it?

    Translate
    Mike Witherell
    Robert at ID-Tasker
    Legend
    Apr 17, 2025 10:53 PM UTC
    quote

    Hate to ask a dumb question, but missing tags upon generation of data merge don't trace back to something simple like a spacebar space in the .csv file, does it?


    By @Mike Witherell

     

    But first page is OK. 

     

    Translate
    Robert at ID-Tasker
    Legend
    Apr 17, 2025 10:10 AM UTC

    @AODA_Developer 

     

    Quick question - have you ever used PREVIEW on your template?

     

    Translate
    AODA_Developer
    Inspiring
    Apr 17, 2025 2:13 PM UTC

    Yes, I have used Preview with on the template, and I'm aware of some of the issues that have been reported. However, if I work from a test doc that is "clean", and try running the merge (without using the preview option), the results are the same.

     

    The issue is that InDesign does not replicate the Articles for the generated documents. It only "carries over" the Articles to the very first merged record – any subsequent records/documents do not have the Articles populated correctly (or at all). This is why the PDF from the subsequent "Export to Interactive PDF" is missing the tags on all remaining content (after the first page).

    Translate
    Robert at ID-Tasker
    Legend
    Apr 17, 2025 2:48 PM UTC

    @AODA_Developer

     

    How your document looks like? 

     

    I've a crazy idea - as always 😉 - but would've to see your template first. 

     

    Can you post a screenshot? 

     

    Or you could share your file privately with me - please click my nickname. 

     

    Translate
    Colin Flashman
    Community Expert
    Community Expert
    Apr 17, 2025 5:14 AM UTC

    I've written an article about a similar issue here: https://colecandoo.com/2016/12/17/data-merge-pdf-export-vs-regular-pdf-export/

    That said, I have read your note that you are merging to InDesign first, but looks like you have issues with everything after page one. If you were to merge a 1pp file to a new indesign file, and then merge the next record to another indesign file, do both records articles appear correctly? Wondering if you could use the script mentioned in the article to merge to uniquely named indesign files and then run Peter Kahrel's batch convert script to export to interactive pdfs afterwards.

    Translate
    If the answer wasn't in my post, perhaps it might be on my blog at colecandoo!
    AODA_Developer
    Inspiring
    Apr 17, 2025 2:08 PM UTC

    Thank you for the information Colin! My initial research has taken me down the exact same path as what is described in the article – I'm at the point of of writing a script that can merge individual records to an InDesign file, then export that using the Export to Interactive PDF.

    I don't want to reinvent the wheel again, so I'll look at the scripts you mentioned to see if they can be incorporated into our solution. What really hurts though, is that this "bug/feature" has been present in InDesign since at least 2016, and Adobe hasn't addressed the issue. It's seems like such a simple thing: when merging a document that has been articled, the generated documents should also include thier own set of Articles. That is the proper solution.

    Translate
    Colin Flashman
    Community Expert
    Community Expert
    Apr 18, 2025 6:51 AM UTC

    the paid version of my data merge to single record script will export to interactive PDF. it exports to a temporary indesign file and then exports as an interactive PDF based on the last saved interactive PDF export settings used.

    Translate
    If the answer wasn't in my post, perhaps it might be on my blog at colecandoo!
    Mike Witherell
    Community Expert
    Community Expert
    Apr 16, 2025 8:05 PM UTC

    Is the base document using paragraph styles?

    Translate
    Mike Witherell
    AODA_Developer
    Inspiring
    Apr 17, 2025 12:24 AM UTC

    Yes, the base document – let's call it the "Template" – uses paragraph and character styles to properly format the content. Do the stylesheets impact the Articles and the merge operations in some way?

    Translate