Community articlexmlModelUpdate method
Added by IBM contributorIBM on May 2, 2012
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

No abstract provided.


This method updates the XML data model in the form. This is necessary if computes have changed the structure of the data model in some way, such as changing or adding bindings. These sorts of changes do not take effect until the xmlModelUpdate method is called.


   public void xmlModelUpdate( ) throws UWIException;


There are no parameters for this method.


Returns nothing if the call is successful, or throws a generic exception (UWIException) if an error occurs.


The following example uses setLiteralByRefEx to change a binding in the form, so that it binds to a different option. It then calls xmlModelUpdate so that the data model reflects the change.
The sample code uses setLiteralByRefEx to change the binding in the form, then calls xmlModelUpdate so that the XML data model reflects the change.
   private static void setBinding(FormNodeP theForm) throws Exception
         " [bindings] [0] [boundoption]", 0, null, null,

Parent topic:
FormNodeP class