Skip to main content
Nintex Community Menu Bar
Solved

Drawloop - Blank Mergefield Test

  • April 14, 2016
  • 2 replies
  • 75 views

Forum|alt.badge.img+1

I am looking to check a salesforce field in a MS-Word doc to suppress a blank contact mailing address field,

IF «CONTACT_MAILINGXYZ» <> "" «CONTACT_MAILINGXYZ» ""

doesn't seem to cut it....

What am I missing?

Sorry still a newbie to drawloop.

Best answer by tommy_mckinzie

As you are evaluating a blank field, we recommend enclosing the first tag in quotes as well. It's usually best practice to encompass all evaluations and statements in double quotes. The true statement would also need to be enclosed with double quotes as it appears to be missing in your sample.

Skeleton Structure Sample: IF "" = "" "" ""

e.g. IF "<<Contact_Mailingxyz>>" <> "" "<<Contact_Mailingxyz>>" ""

Here is a link to our documentation in regards to utilizing Conditional Fields in Word:

http://help.nintex.com/en-US/docgen/docservices/#LOOP%20Document%20Services/Conditional%20Text%20in%20Word.htm?TocPath=L…

2 replies

Forum|alt.badge.img+4
  • Nintex Employee
  • Answer
  • April 15, 2016

As you are evaluating a blank field, we recommend enclosing the first tag in quotes as well. It's usually best practice to encompass all evaluations and statements in double quotes. The true statement would also need to be enclosed with double quotes as it appears to be missing in your sample.

Skeleton Structure Sample: IF "" = "" "" ""

e.g. IF "<<Contact_Mailingxyz>>" <> "" "<<Contact_Mailingxyz>>" ""

Here is a link to our documentation in regards to utilizing Conditional Fields in Word:

http://help.nintex.com/en-US/docgen/docservices/#LOOP%20Document%20Services/Conditional%20Text%20in%20Word.htm?TocPath=L…


Forum|alt.badge.img+1
  • Author
  • Novice
  • April 18, 2016

Thanks very much!