Skip to main content
Participating Frequently
November 22, 2013
Question

Multiple record data merge into paragraph styles-applies the wrong style

  • November 22, 2013
  • 1 reply
  • 45845 views

Hi, I've been working on this project for sometime and everytime I manage to get one part of the workflow to work another seems to break. My agency publishes catalogs in multiple formats: large-print, audio, braille, and HTML. I've been trying to redesing our work process so that the catalogs will be laid out from merged data out of comma-separated file. The data merges have worked fairly well in Word, but InDesign is a challenge. I'm merging multiple records on a page, like a mailing label. The paragraphs need to be formatted and I'm trying to apply a paragraph style to them. After much work, I think I've finally got the data merge to work correctly, but the wrong paragraph styles are applied. I'm going to apply a new master page to the data once the data is merge that uses the paragraph styles for text variable running headers and I need to build a table of contents based on the paragraph styles so I need this to work. Attached are some screenshots.

Master page set up for data merge with paragraph styles:

Here is the merged document with the wrong paragraph styles applied:

I have only a few weeks to get this process ironed out to keep to our rigorous production schedule. If anyone can help I would really appreciate it.

thanks,

Lina

1 reply

Peter Spier
Community Expert
Community Expert
November 22, 2013

Can't really tell from those screen shots what styles are applied to the placeholders....

LinaD36Author
Participating Frequently
November 22, 2013

Peter- All the styles on the screen have been applied.  The data has been merged onto 7 lines and each line has it's own paragraph style. But I think the problem is that some of the fields are empty and don't have data in them. The fields merged are below next to the paragraph style that they are supposed to be merged into:

<<GENRE>> (Genre)

<<SUBJECT_CODE>> (Subject Code)

<<TITLE_ARTICLE>><<TITLE>>(Title)

<<BN>> <<HRS>> hours<<MINS>> minutes (Time)

<<ROLE>> <<AFN>> <<ALN>> <<CONJ>> <<CFN>> <<CLN>> (author)

read by <<NFN>> <<NLN>> (narrator)

<<ANNOTATION>> (annotation)

The problem seems to occur because the Genre and Subject Code fields don't always have data in them and then somehow the Genre style is applied to the Title paragraph.

-Lina

LinaD36Author
Participating Frequently
December 26, 2013

Hallelujah! You found the answer. More in a bit. But I think you figured it out! The text frames have been merged twice, one on top of the other. When I delete all the text frames on top, the ones on bottom seem to be correctly linked. I will go through and double check in a minute, I think this is a tied to the problem of InDesign generating an extra text frame where there was not one in the master page. I will check back with you once I've checked all the pages.

Lina


So delete the extra text frame on the top does reveal a 566 text frames that are correctly linked in order on the bottom! Hurray!

At the end it got kind of strange and I had to reflow the text and apply a the "none" master page to it, but it will still work for me.: