Hi All,
I am using template to word doc smart service to create ms word doc from the input template.
We have to replace few fields from the template.
Now the problem I am facing is if the value is there then it's getting populated properly with underline(as there is a underline in the input template) but if there is no value it's getting replaced by blank and because of that there is no underlines available for those fields.
So i want to know is there a way to replace the items only based upon some condition ? like if the value is null just do not touch that ? something like that can be configured ?
Discussion posts and replies are publicly visible
What if you try replacing that replacement key with a string that's just a series of blank spaces? Note, the text inserted into replacement keys is plaintext in the XML internals of the word doc, so this *may* just result in Word ignoring the blank spaces anyway - but I'd recommend you try it first and check.