With today’s update TeamDesk now supports MERGEFIELD’s text to be inserted before/after and format modifiers for .DOCX documents.
In addition we have added support for removing the enclosing paragraph, table row or table when field’s value is empty.
To enable this feature, put cursor on a field of interest:
«Na|me»
press Shift-F9 to switch to toggle field code:
{ MERGEFIELD Name \* MERGEFORMAT }
and add suffix to remove the paragraph (#dp), table row (#dr) or table (#dt)
{ MERGEFIELD Name#dp \* MERGEFORMAT }
This feature may help to adjust document layout dynamically based on the presence/absence of some information in the database.
Thank you very much for making this simpler! I had a whole mess of nested fields in some documents in order to accomplish this.