Jump to content
You must now use your email address to sign in [click for more info] ×

Publisher data merge sub categories


Recommended Posts

I'm creating a directory from a xls file. I've figured out how to get the info (name, address, phone, etc.) into the document with data merge, but the listings have multiple subcategories that need to be separated by headings.

e.g. I have listings for Advertising/Printing then listings for Agriculture/Farm, Banking, and so on. 

How do I format the AP layout to accept this field where ever it occurs? i.e. Have a heading, then a number of listings, next heading, listings and so on. 

Or is this something I'll need to manually build from each subcategory data merge. 

Edited by dtmp
wrong program listed
Link to comment
Share on other sites

Question: You refer to Designer a couple of times. Do you mean Publisher? Designer doesn't support Data Merge.

Edit: In any case, I don't think you can do that with the current Data merge capabilities, except by having one XLSX file per heading, and creating one document per heading, and then merging the documents when you're done.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

3 minutes ago, walt.farrell said:

Designer doesn't support Data Merge.

For the record, you can always open a Designer document with Publisher and add its features as well.

MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2

Link to comment
Share on other sites

I tried using multiple data merge documents for each subcategory, but I think the problem is that you can only have one data merge per page. (some of the categories only have a few entries).

It appears the solution is to do one big data merge, then manually separate the subcategories in the generated document. It saves a bit of time, but that going to be a lot of editing and moving around not to mention when a change is made to the merge document later on. c'est la vie

Link to comment
Share on other sites

  • 2 weeks later...

I have a similar kind of issue.

I'm making a programme for a film festival. Data merge works well, I get everything so that's fine.

The problem I have is that there are different categories. Each category needs an image and title so the first page of a new category needs to be half a page and any following page take up full pages until the next category comes along.

So ideally the data merge setup would be half a page layout followed by a full page layout with an option to set to be the main one.

It wouldn't even have to automatically find the next category, you could use the range setup for that to get each category out of the csv.

What would also be a handy option is instead of creating a new Publisher document when creating the data merge, it would do so in the current document. Could use master pages as the data merge template.

 

Bert

 

 

 

Link to comment
Share on other sites

You're right BertD, Data Merge could use a few more bells and whistles to make it more useful.

What I ended up doing was manipulate my spreadsheet to help the editing go a bit easier.

I put all the entries into one big spreadsheet (almost 350 in all). For each sub-category I placed a dummy entry (I discovered that the data merge ignores blank entries). That left a blank area to add the sub category heading to each section. Of course, I had to go back and forth a few times to get the entries to land on the right page without orphans. (see example pic)

Hopefully, the changes will not be too exhaustive.

 

Screen Shot 2021-04-22 at 11.07.55 AM.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.