Deleting a Row
Sometimes it is necessary to delete a row in a table in a document template if certain conditions are met (or not met).
This can be done by including the tag: “WF:DelRow” in the table row that you want to delete on assembly.
You will need to impose a condition around deleting the row, otherwise the table row will always be removed. So to implement the tag, you need to surround the WF:DelRow with an IF statement like so:
{ MERGEFIELD IfStart:A Condition_yn = 'true' } WF:DelRow { MERGEFIELD IfEnd:A }
Deleting a Column
Similarly sometimes it is necessary to delete a column in a table in a document template if certain conditions are met (or not met).
This can be done by including the tag: “WF:DelCol” in the table row that you want to delete on assembly.
Again, you will need to impose a condition around deleting the row, otherwise the table column will always be removed. So to implement the tag, you need to surround the WF:DelCol with an IF statement like so:
{ MERGEFIELD IfStart:B Condition_yn = 'true' } WF:DelCol { MERGEFIELD IfEnd:B }
Comments
0 comments
Article is closed for comments.