Skip to main content
Inspiring
October 8, 2023
Answered

Data Merge a paragraph that contains another field placeholder

  • October 8, 2023
  • 2 replies
  • 567 views

So for instance in a paragraph of text I am pulling from my csv I want to be able to populate another field within the data eg.

So lets say the below lines are my <<bodycopy>> paras in my spreadsheet

I want to be able to populate the following cells of <<bodycopy>> with a first name in different spots eg

- Focus Focus Focus! <<Firstname>> is a human dynamo and will go far in the footy world.

- Adventurous, Enthusiastic, Energetic, <<Firstname>> is the Duracell bunny of our group.

- Goal orientated is an understatement – thriving under pressure <<Firstname>> is always there for the team.

I understand I could write the paras in such a way that they always start with first name eg

<<firstname>> <<body copy>> but wondering if there is a workaround to the above. To Give some context I am using the <<bodycopy>> as a bio on a trading cards where I merge in photos, names, teams and bios etc

 

 

This topic has been closed for replies.
Correct answer Robert at ID-Tasker

Can't you split contents of your Paras in your database?

 

<<bodycopy_before>><<Firstname>><<bodycopy_after>>

 

In case anyone might be interested - it will be possible to do it as OP wants in my ID-Tasker - my tool will be able to refer to already imported contents and modify it in any way user wants. 

 

2 replies

Robert at ID-Tasker
Robert at ID-TaskerCorrect answer
Legend
October 8, 2023

Can't you split contents of your Paras in your database?

 

<<bodycopy_before>><<Firstname>><<bodycopy_after>>

 

In case anyone might be interested - it will be possible to do it as OP wants in my ID-Tasker - my tool will be able to refer to already imported contents and modify it in any way user wants. 

 

Inspiring
October 9, 2023

While a little more complex thats a work around I hadn't thought of thankyou. I will look into ID Tasker. Is it sort of like recording an action in photoshop?

Robert at ID-Tasker
Legend
October 9, 2023

You are welcome. 

 

About ID-Tasker - kind of - you need to recreate manually what you do / click in the InDesign, build Task manually from Rules / commands - I'm unable to "record" what you do. 

 

Randy Hagan
Community Expert
Community Expert
October 8, 2023

The problem with your plans is that Data Merge doesn't hold information for future processing.

 

It takes a source document, merges information from a data file with data fields expressed in the source document and creates an output product — usually multiple examples of the source document multiplied by the number of times the longest column of data runs in your data file. So once you run the Data Merge functionality, it is done. A one-time good deal.

 

Perhaps some of the script mavens around here can come up with something that helps you merge multiple data sources into a single file for performing the data merge, but I would think if you have the resources it'd just be easier to use a relational database to merge multiple source documents before you do the Data Merge within InDesign. Then all your data can be applied and you can take full advantage of that one-time good deal that the Data Merge functions offer you.

 

Hope this helps,

 

Randy

Inspiring
October 9, 2023

Thanks for your thoughts - I'll look into it