125
Views
8
Comments
[DOC Generator] Does it support IF conditions?
Question
doc-generator
Web icon
Forge asset by Sagar Nannaware

Does it support IF conditions?

2018-07-01 12-36-21
Sagar Nannaware

João Melo wrote:

Does it support IF conditions?

What do you mean by that?


2023-02-10 19-42-59
João Melo
 
MVP
2018-07-01 12-36-21
Sagar Nannaware

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.



2023-02-10 19-42-59
João Melo
 
MVP

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?

Proposta3.docx
2018-07-01 12-36-21
Sagar Nannaware

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.


2018-03-26 21-02-10
Kit Lam

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? 


2018-07-01 12-36-21
Sagar Nannaware

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


2018-03-26 21-02-10
Kit Lam

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




Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.