Community articleUFLGetXFormsModels function
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


Returns a list of XForms models that are in a form. This is useful for identifying the models in your form before calling a function that uses the modelID parameter, and for keeping track of the models that are contained within a multi-model form.
UFLGetXFormsModels can only be used when XForms processing is turned on. You cannot use this function on a form that has been opened using the UFLReadForm function with either the UFL_SERVER_SPEED_FLAGS flag or the UFL_XFORMS_OFF flag. Use the 0 flag or the UFL_SERVER_SPEED_FLAGS_WITH_XFORMS flag to keep XForms processing turned on.


   r_error UFLGetXFormsModels(
      rchar_P* modelIDs


Table 1. Function parameters
modelIDr_charPThe ID of the model that will be analyzed. If NULL or empty, the default model is analyzed.


OK on success or an error code on failure.
Parent topic:
FormNodeP functions