[DOC Generator] Does it support IF conditions?

[DOC Generator] Does it support IF conditions?

  
Forge Component
(3)
Published on 16 Sep by Sagar Nannaware
3 votes
Published on 16 Sep by Sagar Nannaware

Does it support IF conditions?

João Melo wrote:

Does it support IF conditions?

What do you mean by that?


João Melo wrote:

I meant this: https://wordmvp.com/FAQs/MailMerge/MMergeIfFields.htm


I did not try IF condition, but I will try and let you know.



Thing is, when I use IF, I get the following error:

Cannot insert the OpenXmlElement "newChild" because it is part of a tree. 

Can you please take a look at the document attached?

João Melo wrote:

Thing is, when I use IF, I get the following error:

Cannot insert the OpenXmlElement "newChild" because it is part of a tree. 

Can you please take a look at the document attached?

Thanks for letting me know. IF condition is not supported in this version.


João Melo wrote:

Thing is, when I use IF, I get the following error:

Cannot insert the OpenXmlElement "newChild" because it is part of a tree. 

Can you please take a look at the document attached?

Hi,

I have the same problem with Forge component OfficeTemplate. I also need the Word IF-condition so badly, because I have to display some text conditional to the mergefields. Did you find a solution for this problem? 


Kit Lam wrote:

João Melo wrote:

Thing is, when I use IF, I get the following error:

Cannot insert the OpenXmlElement "newChild" because it is part of a tree. 

Can you please take a look at the document attached?

Hi,

I have the same problem with Forge component OfficeTemplate. I also need the Word IF-condition so badly, because I have to display some text conditional to the mergefields. Did you find a solution for this problem? 


Hi Kit Lam,

I will enhance the component soon to support IF condition. 


Regards,

Sagar Nannaware


Sagar Nannaware wrote:

Kit Lam wrote:

João Melo wrote:

Thing is, when I use IF, I get the following error:

Cannot insert the OpenXmlElement "newChild" because it is part of a tree. 

Can you please take a look at the document attached?

Hi,

I have the same problem with Forge component OfficeTemplate. I also need the Word IF-condition so badly, because I have to display some text conditional to the mergefields. Did you find a solution for this problem? 


Hi Kit Lam,

I will enhance the component soon to support IF condition. 


Regards,

Sagar Nannaware


Hi Sagar,

I would appreciate that, since it's a very nice feature of MS Word which we definately should use.

Thanks in advance,

Kit