Community articleGetXFormsModels function
Added by IBM contributorIBM on August 15, 2011
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.
GetXFormsModels can only be used when XForms processing is turned on. You cannot use this function on a form that has been opened using the ReadForm 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.


   Function GetXFormsModels() As String()


This function has no parameters.


An array of Strings. Each String contains the ID of a model that is in the form.
Parent topic:
FormNodeP functions