Community articleWriting a Form to Disk
Added by IBM contributorIBM on July 26, 2013
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Once you have finished making the desired changes to the form, you should save it to disk. If you want to retain the original form (calculateAge.xfd), you should save the modified form under a new name. This program saves the modified form as Output.xfd.
  1. Define the method saveForm. This method demonstrates the use of the FormNodeP method writeForm.
  2.    private static void saveForm( ) throws UWIException

  3. Call the Form method writeForm and pass it the new name of the form.
  4.  theForm.writeForm("Output.xfd", null, 0);