Jump to content

Recommended Posts

Posted

Hello everyone,

I would like to suggest that Publisher's Data Merge feature be enhanced with the ability to remove blank entries. However, simply removing the blank line for a text merge can leave some messy things behind. I have an idea that we could use a special markup to tell Publisher what to remove with a blank field. That is, we define "field units" with double braces {{ }}. That way the whole "field unit" can be removed if a field is empty.

Case 1: "<field1> <field2>" 

Simple blank removal results for empty field1 (note the space before field2) : " <field2>" 

Proposed "smart" solution using special notation: "{{<field1> }}<field2>"

Results: "<field2>"

Case 2: 

{{<field1> }}<field2>{{
<field3>}}
<field5>
{{<field4> or if you prefer: }}<field5>

Here we have the option to choose to remove some text adjacent to a field (field4) and remove a line break before a field (field3) and preserve the line break (field5).

A simple "Remove blank lines" checkbox would not take into account cases where you might like a line break preserved when a field is missing.

I hope this makes sense! :) 

  • 3 years later...

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.