Jump to content

Recommended Posts

Posted
Hi All,
 
I'm trying to use the data merge function for my planner layouts.
I followed instructions from several tutorials but there seems to be an issue upon generating the file, as it keeps skipping data, which throws off the rest of the planner dating.

This is how I've set up the fields in my 2 page spread:

1.jpg.3936f2de1327e674dc5c249ad95d9d2c.jpg


This shows what is generated:
 
2.jpg.34ac9208d448f432cb75427068c94d84.jpg
 
 
Every Friday is missing and the week number is also affected, with some numbers missing. 
Having worked out that there is a pattern to the data that's missing, we adding a line in the excel sheet to act as a spacer, just before each row which has a Friday entry, to see what happens.
This does fix the issue - the only way all the data is completely correct upon generating in Affinity is with spacer rows in my excel file (see below). But this isn't really the solution, as I shouldn't need to have to alter the excel file in this odd way.
 

4.jpg.45f2f5c943f1a01d0009411abc04c080.jpg

 

I also created another basic test file, with just a single page spread.
Interestingly, with 7 days of the week placed on the single page, upon generating the file, there was no issue with these initial 7 days. However, the second page onwards encounters the issue of missing data, and the month and week numbers aren't pulling through correctly:
 
3.jpg.6020d7012a0a787564e8b2deff55703f.jpg

I am using Windows 10. I have the most up to date version of Affinity as it was purchased less than a week ago.
I have an older version of excel - thinking this could be the issue, I purchased the latest version and created the file from scratch, but this did not help.
 
I'd really appreciate any suggestions.
 
Thank you,
Elizabeth 

 
Posted
2 hours ago, E.C. said:
I'd really appreciate any suggestions.

I think this may be due to the "blank" rows in the spreadsheet.

948372926_ScreenShot2022-09-03at9_30_55AM.png.713a97aa439f0106504e586a04e89959.png

We would ideally need to see the Spreadsheet and the Publisher document you use to layout the fields.

Mac Pro (Late 2013) Mac OS 12.7.6 
Affinity Designer 2.6.0 | Affinity Photo 2.6.0 | Affinity Publisher 2.6.0 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Posted

@E.C.,

I just had another thought, perhaps use Column G for the word Notes.

Mac Pro (Late 2013) Mac OS 12.7.6 
Affinity Designer 2.6.0 | Affinity Photo 2.6.0 | Affinity Publisher 2.6.0 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Posted

Sorry if I did not make myself clear - the only way I can make the data import correctly (without missing data), is to include the blank rows in the spreadsheet. To confirm, adding the empty lines fixed the issue, but it's a terrible workaround, and does not actually fix the underlying problem.

Regarding the 'notes', that's not part of the spreadsheet. It's part of the design on the master page.

I'm happy to share the spreadsheet and the publisher file.
 

Posted
2 hours ago, E.C. said:

I'm happy to share the spreadsheet and the publisher file.

That would be great.

Mac Pro (Late 2013) Mac OS 12.7.6 
Affinity Designer 2.6.0 | Affinity Photo 2.6.0 | Affinity Publisher 2.6.0 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Posted
1 hour ago, E.C. said:

Sorry, I'm unsure how to add them?

Click on the choose files... and navigate to where they are on your computer.

1137876967_ScreenShot2022-09-03at2_37_49PM.png.1a6ce120e6f55ecc328d2d55a89f50d8.png   

This is on Safari on Mac OS your window may look different. There may be a hidden Insert which will appear if you hover the mouse over the name of the file. First as it appears, then with the mouse over the file name.

1105180342_ScreenShot2022-09-03at2_43_57PM.thumb.png.488d1989869019661ee7cbc57f74b81e.png

 

920048644_ScreenShot2022-09-03at2_44_06PM.thumb.png.f1559f4ae8a46461f3caac90094dd273.png

 

Mac Pro (Late 2013) Mac OS 12.7.6 
Affinity Designer 2.6.0 | Affinity Photo 2.6.0 | Affinity Publisher 2.6.0 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Posted

I am going to have to get back to this tomorrow. Should work but it isn't.

Bye for now.

Mac Pro (Late 2013) Mac OS 12.7.6 
Affinity Designer 2.6.0 | Affinity Photo 2.6.0 | Affinity Publisher 2.6.0 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Posted
5 hours ago, tudor said:

@E.C. on the right-hand page Data Merge Layout, set the Record Offset to -1.

Thanks Tudor,
I can't see how to do this, but it sounds like it might be a sticking plaster (like my spacers) rather than finding the root of the problem...?

Posted
4 minutes ago, tudor said:

@E.C. I just found the cause of your problems. You have an empty Data merge layout. Delete it. Then you don't have to change anything on the Context toolbar.

Thanks so much!! That has fixed the issue on the first file "test1", however, the second file "test2" still has issues (I've attached the up to date file where I deleted the empty data merge layout).

test2.afpub

Posted
16 minutes ago, tudor said:

Actually, this does fix the days of the week, but you'll have issues with the months

Me again... :) As long as the fields for week # and the month are below the Data Merge Layout in the Layers panel, everything seems to work correctly.

image.png.1b8f7216f488161d68559d3aaa23b700.png

I'm slowly starting to understand how this thing works. It's weird, but logical.

Posted

I edited the Spreadsheet to get rid of the extraneous information. I also added an empty row after each Sunday so as to give a blank record. The reason for the blank row is explained later.
I edited the Publisher document rather extensively. I changed the layout from having the Data Merge Frames being on the Actual Spread to them being on the Master/Parent page. I then exchanged the pair of Data Merge frames for a single one, a two column four row 'table' over the two pages. 
Having 8 cells for a seven day week is the reason I made the change to the spreadsheet, now we have Monday thru Sunday followed by nothing-day. So nothing-day's empty text from the spreadsheet is placed over the Notes image.
I added some Paragraph styles. The Text Frames for the Month and Week number have some text offsets rather than having those offsets be in the Paragraph style's Spacing section. Just a different way of working, better or worse it is giving the same effect.

Caveats: 
I used Apples Numbers application to open the .xlsx document and also to export a CSV file which I used for the Publisher Document. Once I knew it worked I exported from Numbers an .xlsx file for you as well, this should be fine. I don't like having to change file types using different applications but this should be fine. 
The downside of having the Data Merge fields on the Master/Paren page is that the fields are included in the generated document. There may actually be an upside to having them there but I really don't know for sure.

Day and Date book as edited by bruce.zip

That should work.

------------

A bunch of good advice and a great catch on the empty Data Merge by @tudor. [a kudos emoticon]

Mac Pro (Late 2013) Mac OS 12.7.6 
Affinity Designer 2.6.0 | Affinity Photo 2.6.0 | Affinity Publisher 2.6.0 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Posted

Thank you Tudor - I think changing the month and week# to simple text fields has fixed it (and also changing the order).
I'm going to have a play around, recreating more of my spreads, following these rules, and see how I get on 🤞

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.