Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

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

Signature
C#C#
Wiki Markup
{description}
{excerpt}Gets or sets whether IF fields should be evaluated server\-side in the WordTemplate. 
{excerpt}
{signature:C#}
 public boolean UpdateIfFields{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property UpdateIfFields() As Boolean
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.

{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#}

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

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

{example}
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle