Pages 5.5 Mail and Data Merge

Pages 5.5 includes new scripting support for locating and replacing text placeholders. In addition, text placeholders can be "tagged" in the application interface, with script identifiers by selecting the text placeholder to tag and entering its "script tag" in the the new Script Tag field available at the bottom of the More tab in the format sidebar. With this new ability, scripts can replace the text placeholders in a document with data from other sources, including Numbers spreadsheets.


But you don't have to write scripts to take advantage of this new feature!


To make it easy for non-scripters to perform Mail merges, and other automated data merging tasks, there is a free application, the Pages Data Merge application, available at: http://iworkautomation.com/pages/script-tags-data-merge.html


Watch the movie, follow the instructions, and give it a try!

Posted on Oct 17, 2014 2:43 PM

Reply
174 replies

Mar 19, 2015 5:15 PM in response to Sal Soghoian

Hi, The data merge application works great. I am merging in order to print marketing fliers, around 1000. Having them as individual files doesn't work as printing them is too time consuming. I tried using the following to combine them:

<http://macosxautomation.com/automator/combinePDFs/index.html>

both by downloading the work flow and by building it myself following the steps provided. Both ways I receive the same error :

The action “Rename Finder Items: Name Single Item” encountered an error.

Anything I could try to remedy this?

Thank you,

Allison

Mar 20, 2015 8:34 PM in response to Sal Soghoian

I tried it again and it worked! But I am having another problem. I need envelopes when I do the data merge to a Pages file the formatting is correct:


Name

Address

City, State, ZIp


However, if I chose to merge to a PDF file the formatting changes to:


Name

AddressCItySateZIp


which will not work obviously for mailing envelopes. Any idea how to either change the formatting or is it possible to alter the Combine PDF workflow to be a combine pages workflow? I really appreciate you help and how quickly you responded to my initial questions. This is all completely new to me.

Thanks!

Apr 6, 2015 11:50 AM in response to Sal Soghoian

Sal,


I am trying to mail merge but ending up with "There was a problem getting the placeholder tags from the front Pages document." Running Pages 5.5.2, Numbers 3.5.2 and 10.10.2. No placeholder text in tables and only the one pages doc open.


The consol output is "

4/6/15 2:41:23.772 PM discoveryd[2147]: Basic Sockets SetDelegatePID() failed for PID[2810] errno[3] result[-1]

4/6/15 2:43:17.839 PM discoveryd[2147]: Basic Sockets SetDelegatePID() failed for PID[2810] errno[3] result[-1]

4/6/15 2:43:37.539 PM discoveryd[2147]: Basic Sockets SetDelegatePID() failed for PID[2810] errno[3] result[-1]

4/6/15 2:43:58.188 PM Pages Data Merge[4078]: applicationWillFinishLaunching:

4/6/15 2:43:58.188 PM Pages Data Merge[4078]: Checking ASOC framework…

4/6/15 2:43:58.188 PM Pages Data Merge[4078]: (

(

"FIRST ITEM",

"SECOND ITEM",

"THIRD ITEM"

),

(

"FOURTH ITEM",

"FITH ITEM",

"SIXTH ITEM"

)

)

4/6/15 2:43:58.189 PM Pages Data Merge[4078]: Reseting stored export location…

4/6/15 2:43:58.189 PM Pages Data Merge[4078]: Reseting progress values to default…

4/6/15 2:43:58.226 PM Pages Data Merge[4078]: *** -[AppDelegate applicationWillFinishLaunching:]: Pages got an error: every document of application id "com.apple.iWork.Pages" of «script» doesn’t understand the “count” message. (error -1708)

4/6/15 2:44:00.981 PM Pages Data Merge[4078]: GETTING CURRENT DOCUMENT TAGS

4/6/15 2:44:00.984 PM Pages Data Merge[4078]: Problem getting tags

4/6/15 2:44:03.809 PM Pages Data Merge[4078]: OK"


Any thoughts?


Thanks,

Kevin

Apr 6, 2015 1:53 PM in response to Kayak Coach

Also, do have a copy of Pages 09 running?


This error is indicating that there is a problem getting the count of open documents in Pages. That should never happen, and indicates that something is conflicting with the Apple Events communication with Pages.



4/6/15 2:43:58.226 PM Pages Data Merge[4078]: *** -[AppDelegate applicationWillFinishLaunching:]: Pages got an error: every document of application id "com.apple.iWork.Pages" of «script» doesn’t understand the “count” message. (error -1708)

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Pages 5.5 Mail and Data Merge

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.