Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Description

Excerpt

Gets or sets whether IF fields should be evaluated server-side in the WordTemplate.

Signature
C#
C#
<table class="diff-macro"><thead><tr><th class="diff-macro-title">unmigrated-wiki-markup</th></tr></thead><tbody><tr><td class="diff-macro-body"><pre>
 public boolean UpdateIfFields{ get; set; }
{signature}{signature:</pre></td></tr></tbody></table>
} Public
Signature
vb.net
vb.net

<p>Public Property UpdateIfFields() As Boolean
{signature}
{remarks}
If set to {{true}}, all IF fields on the template will be evaluated on the server side by the [WordTemplate|WordTemplate] object.  If set to {{false}}, the IF fields will not be evaluated without user action.
{remarks}
{example}{code:csharp|title=C#}Boolean</p>
Remarks

If set to true, all IF fields on the template will be evaluated on the server side by the WordTemplate object. If set to false, the IF fields will not be evaluated without user action.

Example
Code Block
csharp
csharp
titleC#


          WordTemplate WordTempl = new WordTemplate();
          WordTempl.UpdateIfFields = true;
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}


          Dim WordTempl As New WordTemplate()
          WordTempl.UpdateIfFields = True
        
{code} {example}