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

Recommended Posts

I am having this problem with *multiple* files - I have chosen the shortest example here for help.  The data merge is skipping pages, and not randomly. The skips are occurring in a regular pattern: page, page, skip, page, page, skip, etc.  I don't see anything wrong with the data file. I am baffled as to how to fix this. I've included a screenshot of the merge pattern and of the master page, as well as the CSV file (comma delineated). Any help would be appreciated.  Peace, Leah

Screenshot 2022-06-09 141831 for affinity.jpg

Screenshot 2022-06-09 141939 master page for affinity.jpg

CSV fridays 3Q 2022.csv 3Q 2022 6.26 x 9.25 Friday Pages.afpub

Link to comment
Share on other sites

So, to follow up, I did the merge again on this file and basically manually deleted pages and added pages until all the records were there. (i.e. flogged into submission.) But for this file's bigger siblings, that is not a practical solution. If someone could identify what is wrong with the master page or the data file that is causing the problem in the first place that would be great.  This is what the file is *supposed* to look like after merger, and it's not what I keep getting. Thanks.

Screenshot 2022-06-09 151213 Flogged friday file.jpg

Link to comment
Share on other sites

So here is the skip pattern on a sister file - the dates on each page are correct, but affinity publisher just skipped over pages, omitting the days on those pages, and then picking up on the next page as if nothing had happened, jumping right over the missing dates. It makes no sense to me. 

Screenshot 2022-06-09 154833 weekly overview skip pattern example.jpg

Screenshot 2022-06-09 154912 weekly overview master page.jpg

CSV Data Table 3Q 2022 Weekly Overview.csv 3Q 2022 6.26 x 9.25 Overview Pages.afpub

Edited by LeahKiser
typo
Link to comment
Share on other sites

On the weekly overview, it looks as if the data for the missing days might actually be there - just not visible. I don't know what to make of this, but it's starting to look like a problem with Affinity, not my data. The program may not be replicating the master pages properly.

closeup of weekly overview page screenshot.jpg

Link to comment
Share on other sites

I think Ive worked out why the skipping pages occur, basically you need to start with two pages and have it set up as Facing pages start on the left.

If you have 3 pages it will generate a blank page after every record.

image.thumb.png.6ca1184c3cd77c852da56963d8172213.png

Take a look at this and see if it sorts out the issue for you.

3Q 2022 6.26 x 9.25 Friday Pages Edited document.afpub

iMac 27" 2019 Somona 14.3.1, iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9  
B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Link to comment
Share on other sites

17 minutes ago, firstdefence said:

I think Ive worked out why the skipping pages occur, basically you need to start with two pages and have it set up as Facing pages start on the left.

If you have 3 pages it will generate a blank page after every record.

Take a look at this and see if it sorts out the issue for you.

3Q 2022 6.26 x 9.25 Friday Pages Edited document.afpub

As I suspected, your idea didn't work at all. It literally skipped over days, same as before. Notice the dates and the order they're in.

Screenshot 2022-06-09 172249 idea didn't work.jpg

Link to comment
Share on other sites

I believe I have cracked it, @LeahKiser.  Specify your data merge as follows, in particular, the Merge Pages section at the lower right.  On my Mac, the Data Merge dialog box isn't initially displayed at full height, so it might not be obvious that there's additional functionality tucked away that's critical in this instance.  Hover over the lower boundary and drag down a little to reveal the options shown below.  Specifying the page range consistently generates the results I think you're after, for both examples.

2022-06-09_22-16-25.png.ea9df7c2916de9e356714872cdab7db9.png

 

One other thing - do yourself a favour and stop labelling your data (at least the data from your current sources) as CSV.  It's not comma separated - it's tab separated.  Same idea, but different implementation.  I've always just called such data sources "tab delimited", but Serif describes them on the man pages as ".tsv" files, which I suppose is fair enough.  Rename your data source file accordingly and the import process will go more smoothly.  You won't have to manually change the Delimiter field at the top right of the Data Merge screen - it automatically defaults to "tab" if your naming convention is foo.tsv.

—— Gary ——

Photo/Designer/Publisher: Affinity Store, v2.4.n release

Mac mini (M1, 2020), 16GB/2TB, macOS Ventura 13.4.1(c) • MacBook Pro (Intel), macOS Ventura • Windows 10 via VMware Fusion • iOS: current release

Link to comment
Share on other sites

I've attached the PDF version of my product (I had to go back to your earlier Publisher file to regenerate this).  Every page has Monday to Sunday arrayed across the top.  And I'm pretty certain that every date from June 27th through to October 2nd is correctly presented - along with the associated Hebrew calendar data, where provided.

What is it that you’re missing?  You're saying it's skipping data records - but you're not saying which ones.  I can't see anything wrong in my file here, so I can't work out what you reckon is missing when you try it.  Can you be more specific?

 

3Q 2022 6.26 x 9.25 Overview Pages.pdf

—— Gary ——

Photo/Designer/Publisher: Affinity Store, v2.4.n release

Mac mini (M1, 2020), 16GB/2TB, macOS Ventura 13.4.1(c) • MacBook Pro (Intel), macOS Ventura • Windows 10 via VMware Fusion • iOS: current release

Link to comment
Share on other sites

Hi @LeahKiser - sorry, I see that jump in your earlier screenshot now.

I don't think it's so likely that you being on a Windows machine while I'm on a Mac is likely to be significant.

What version of Publisher are you using?  The difference in our experiences makes me wonder if you're on an older version?

What Data Merge settings are you using?

There are some slight anomalies in your data file.  There are six fields for each record, but you've only got five column headers.  Only two rows, as far as I can see, use the sixth field: Aug-12 (Ketubot 37) and Sep-23 (Ketubot 79).  Adding a suitable column title and the associated data merge field may sort things out on your end.

—— Gary ——

Photo/Designer/Publisher: Affinity Store, v2.4.n release

Mac mini (M1, 2020), 16GB/2TB, macOS Ventura 13.4.1(c) • MacBook Pro (Intel), macOS Ventura • Windows 10 via VMware Fusion • iOS: current release

Link to comment
Share on other sites

I suppose data merge can be set up in a number of different ways.

This would be one possibility (unless I have misunderstood completely your goal):

1) Do not place Data Merge Layout controls on the master page, but on the first actual page to receive data. The master pages only have elements that stay identical on all pages (and do not get generated with merged data).

2) As @firstdefencesuggested above, set up the document to start on the Left page (File > Document Setup) so that data will be merged generating one spread at a time (instead of three pages): the number of pages in the setup document determines the number of pages that each record of data source generates, and you'd want that to be two. Or, alternatively, create a document where the left and right sides of a spread are placed on the same page. (But if you want the final document to have separate pages, then you'd keep the current layout.)

3) After the merge is complete, change the layout of the merged document so that the document starts on the right page, and add one empty page at the start of the document, then change the first page so that it does not get the box from the master.

 

Link to comment
Share on other sites

@LeahKiser,

Looking at the CSV files you have uploaded I noticed they are in fact Tab Separated Values files. Not sure if this is the source of all the problems.

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

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

Link to comment
Share on other sites

1 hour ago, Old Bruce said:

Looking at the CSV files you have uploaded I noticed they are in fact Tab Separated Values files. Not sure if this is the source of all the problems.

No, it is not. CSV can have alternative separators to nominal "comma", so it is perfectly ok to have semicolon or tab as a separator character.

Link to comment
Share on other sites

3 minutes ago, lacerto said:

No, it is not. CSV can have alternative separators to nominal "comma", so it is perfectly ok to have semicolon or tab as a separator character.

Publisher will accept CSV or TSV files, try after changing the C to a T. Also in my limited experience I think you have to tell the merging application what to use as a separator. Otherwise it will default to what is implied by the extension.

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

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

Link to comment
Share on other sites

@GaryLearnTech  OK, I think I figured it out. The problem had to do with the date column and the fact the cells were formatted in date/number instead of text/all.  I don't know why. I changed everything to text and got it to work.  Both of those spreadsheets had a date column format in it whereas the other parts of the planner didn't.  I can't explain it, but it definitely solved the problem to remove the auto-formatting and change everything to straight text. You might file that away in your list of weird cases for future reference, lol.  Peace, L

Link to comment
Share on other sites

11 hours ago, Old Bruce said:

Also in my limited experience I think you have to tell the merging application what to use as a separator. Otherwise it will default to what is implied by the extension.

Yes, you need to specify the separator, if it is not a comma, the app does not sense it. The extension does not necessarily "imply" a comma. E.g. Excel produces by default separators specified by regional settings of the operating system (list separator), and e.g. the Finnish settings specify a semicolon. Many other apps behave identically. That also means that by default many apps cannot read CSV files that have comma as a separator because they assume the operating system specified list separator (Affinity apps do not assume that).

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.