![]() ![]() A merge of all records works using the example in the scripting addendum, but I cant figure out how to tell it to only merge a single record. I've had a look through InDesign ExtendScript API (10.0) and I can't find any controls for the Data Merge preview itself. Im trying to write a JavaScript that will walk through each record in a data file and merge the record, save the merged document and close it. Youll need two InDesign Files one is your map, and one is your datamerge Frames file. The Data Merge panel now shows your column headings Notice how the text fields have a text icon and the image fields have an image icon. Click the menu button at the top right, and choose Select Data Source Find and select the CSV in your Links folder. ![]() In the Data Merge panel, click on the icon in the upper-right corner, and select Select Data Source. Here are things to try or look into: Export CSV UTF-8 (if you have originally tried. Then Create a Mail Merge and use info from the converted CVS file and set up. In addition, this approach would not keep track of continous pagination. Ive looked and there is no import facility for CVS to PDF form filling. These are:Īpp.() Īpp.()īut who says that I HAVE to use the dataMergeProperties features to export records to only these two file formats? What if I was able to loop through the records with the data merge preview on and export to other file formats using the exportFile function? I've made a script that loops through all records and can export one record at a time using the conventional dataMergeProperties.exportFile, but I can't find any way of controlling how to use the Data Merge preview to cycle through the records one by one to use a normal exportFile. Switch to InDesign and select Window > Utilities > Data Merge to open the Data Merge panel. In InDesign, open the Data Merge panel by clicking Window > Utility > Data Merge. 500 records per merge) will speed the things up (less memory consumption) but you would need to start a merge 4 times and then manually merge the document which takes also forever for 1000 pages (500 records x 2 pages) for each document. So far as I am aware, there are two commands that begin a data merge. ![]()
0 Comments
Leave a Reply. |