nickbeh Posted July 28, 2020 Posted July 28, 2020 Dear Experts, I have Suppression issue when applied Containing Empty Variables in FusionPro VDP Creator v11.1.2 MAC. Please refer to my sample file and comment details in attached. Download Link: https://drive.google.com/file/d/1gpjVmVvAtNhh1HhIzyWrGj-7QEDaA1_C/view?usp=sharing Regards Nick Quote
Dan Korn Posted July 28, 2020 Posted July 28, 2020 Can you please make the files on Google Drive publicly accessible? Or post a minimal example that reproduces the issue here? Quote
nickbeh Posted July 29, 2020 Author Posted July 29, 2020 Hi Dan, Sorry, this is my first time using the forum and I'm not familiar with the process. I have suppression issue when I enabled "Containing Empty Variables" from Paragraph Formatting->Suppress if: Containing Empty Variables. Refer to my screenshot with comment and sample, The Record 1 & 2 are correct, but Records 3 & 4 are wrong. Download Link: https://drive.google.com/file/d/1gpjVmVvAtNhh1HhIzyWrGj-7QEDaA1_C/view?usp=sharing Quote
Dan Korn Posted July 29, 2020 Posted July 29, 2020 https://drive.google.com/file/d/1gpjVmVvAtNhh1HhIzyWrGj-7QEDaA1_C/view?usp=sharing Again, when I click that link, I get a message saying, "You need access." Your Google Drive share is private. You need to change the settings on that Google Drive folder to let anyone else download them. But it's better to attach files here directly... Sorry, this is my first time using the forum and I'm not familiar with the process. You can attach files here. Click the "Go Advanced" button, then click "Manage Attachments." I have suppression issue when I enabled "Containing Empty Variables" from Paragraph Formatting->Suppress if: Containing Empty Variables. Refer to my screenshot with comment and sample, The Record 1 & 2 are correct, but Records 3 & 4 are wrong. Thanks, the screenshots help. You have Mobile and DID on the same line, i.e. in the same paragraph. The same is true of the line with both Fax and Email. The problem is that the ENTIRE paragraph gets suppressed if ANY empty variable is present. This is by design. The purpose of that "Suppress if containing empty variables" feature is for a paragraph with a single variable and label, not for a paragraph with multiple variables. There are a few ways you could solve this. The simplest would be to put each variable onto its own line (paragraph). You can change the number of columns to 2 on the Frame Properties dialog to get the "two per line" effect. Or, just use two separate frames connected together. The other way is to set the frame's contents in a rule instead. This is a little tricky because of the different formatting (color) of the labels and the variables, but I think this will work: var items = { "M + 65": "Mobile", "D + 65": "DID", "F + 65": "Fax", E: "Email", }; var result = []; for (var i in items) { var item = TaggedDataField(items[i]); if (!item) continue; var label = '<color name="PANTONE 293 U">' + i[0] + '</color>' + i.substr(1); result.push(label + " " + item); } result = result.concat(['', '', '', '']); // pad to four entries return result[0] + '<t>' + result[1] + '<p>\n' + result[2] + '<t>' + result[3]; Though I can't test this since I can't get to your job files. Quote
Recommended Posts
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.