Skip to main content
Naomi5DAF
Inspiring
March 13, 2023
Answered

Indesign Data Merge

  • March 13, 2023
  • 2 replies
  • 7637 views

Hi,

I am having probelms data merging multiple records per page. I will attach pics of the files.

My TXT. file doesn't have " " inverted commas; does this matter?

I have saved Excel file as Tab-delimted Text file (TXT). See attached files. But Indesign is not reading my Days fields (i.e. Monday, Tuesday, Wednesday etc) properly, as well as my Dates of the week.  

When I go to create merged documnet I am stopped by error message, "Cannot Create Merged Document Because no placeholders are present." (see attached). What have I done wrong here?

 

And is there a way to insert multiple TXT. files into the one Indesign document as I have multiple Master pages with Multiple placeholder text. Or should I just create a new Indesign doc for each Master page and corresponding TXT date merge file?

 

Thanks so much!

This topic has been closed for replies.
Correct answer Mario Fritsche

Thanks Peter and Mario. If this other way is easier than perhaps I should try that.
I have PM'd you Mario for guidance, thanks for the offer. 👍

quote

Absolutley. Which is waht I was trying to say in my first response. I think I misinterpreted what you were saying.


By @Peter Spier

 


This structure of the table can help.

2 replies

Mario Fritsche
Legend
March 13, 2023

The way Excel is set up, data merging will not work. For this, the structure on the page must be the same, but it is not, because the calendar week is at the top and the weekdays at the bottom.
I would not go the way of a data merge, but either by inserting the data (for this the Excel must be adapted) or a script. If you need help, please contact me via private message.

---Mario
Peter Spier
Community Expert
Community Expert
March 13, 2023

Organization of the spreadsheet is not required to match the layout except that the spreadsheet needs to have a field for every value to be merged. How those are arranged on the document page is entirely up to the designer.

There are other methods of producing this layout that might be simpler than data merge. Simply placing two different text files, one for the page headers, and one for the day numbers, for example, with appropriate styles and keep options to assure that each entry is placed into a new frame, but this still requires creation of the data files.

Mario Fritsche
Legend
March 13, 2023

The layout and structure of a data table makes sense, as it should facilitate the work. In this case, Excel would have to be created in the form "One row = one week", for example.

---Mario
Peter Spier
Community Expert
Community Expert
March 13, 2023

The only way that layout will work is if you modify your data set to merge one record per page. You will need to add a column for each separate day, so you will need columns for Weeks, Date From, Date To, Day 1, Date 1, Day 2, Date 2 ... Day 7, Date 7, then add the extra field headers for the seven weekdays to your Master/Parent page. You shouold wind up with 52 records for one year.

That being said, there's really no need to merge the names of the days since those are the same on every page. Just enter them as static tex on your Master/Parent Page.

Participating Frequently
August 1, 2024

Hello Peter

I wonder if you could help me with a similar issue. I have created the ID file and all the fields correspond with the excel file in csv however, when i click on the field a number 2 appear in the data merge but there is only one field linked to that specific column - see attached.

 

When i click on merge - a window pops up with lots ot errors - see attached

 

Also some of the fields do not merge - the only ones i managed to merge are the A1, A2 and A3 fields. 😞 

 

Any idea as to why this is happening?

 

Many thanks

 

Jackie 

Participating Frequently
August 1, 2024

@JackieO555 

 

Can you show us a screenshot of your CSV file?