: Adobe Indesign - Table of Contents with Data Merge content I have about 100+ rows of content in a .csv and I'm bringing it into my Indesign template. That's working fine but I can't figure
I have about 100+ rows of content in a .csv and I'm bringing it into my Indesign template. That's working fine but I can't figure out how to integrate it with the Table of Contents.
Has anybody gotten this to work before?
More posts by @Sue6373160
2 Comments
Sorted by latest first Latest Oldest Best
If I'm understanding the situation correctly, your simplest approach would be to use InDesign's Book feature.
Set up your intro page and TOC as its own document, add your merged document to the book, then select the text frame with the TOC and use Layout > Update TOC.
As you iterate or update the data, you would simply replace the earlier version of your merged document with the new one.
For the future, if this will be a regular gig, consider setting up a tagged InDesign template and importing your data as XML. There's a learning curve, but being able to create an entire styled and formatted document with a single click does somewhat compensate for the pain. :)
It looks like you have merge fields set up, so I won't explain that part.
When you set up your merge, make sure that Product Name, the placeholder, has a paragraph style applied ON the master page (PrName, for example).
When the data merges, all those entries should then be styled PrName. You shouldn't have to style each one manually; it should generate a new document with each entry already styled.
Then set up a Table of Contents (under the Layout menu) using PrName as the paragraph style which InDesign finds for the TOC.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.