![]() In the Data Sources area on the left side of the Forms Designer, click New from XSD icon.Open the form in the Forms Designer (by clicking the form name from the Form and Workflows Homepage).To add the elements to a form’s Data Sources: You may add the elements to as many forms as you wish, but you must work with one form at a time. The elements you choose will be displayed in the form’s Data Sources area on the lower left portion of the Forms Designer. Once you’ve uploaded your schema, the next step is to choose the global elements you want for a particular form. To resolve, edit the form or workflow "Element Name" property and change it from the default "form" to whatever you want to call it. If you add a data source (XSD) to your form/workflow that has the root element name "form" that frevvo uses by default for the palette control XSD, you will see an application error. If you tried to upload an invalid schema, frevvo will not allow the upload and display an error message. You can sort the Schemas list alpahbetically (A-Z or Z-A). If your schema is valid, its name now will appear on the Schemas page. If there are multiple global elements in the zipfile(s) specify exact name (relative to the top level directory separated by the '/' character of the XSD file containing the root schema.Click Browse, locate the schema XSD file or zipfile with multiple related XSDs on disk.(These are optional but highly recommended.) The Name and Description are each limited to 255 characters. On the Upload Schema Page, type a meaningful name for your schema and provide a description.From the Schemas page, click the Add icon.From the Projects page, click the name of the project with the forms that will use the schema.Using Your Schemaīefore you can use global elements from a schema in a form, you must upload the schema XSD file into one of your frevvo projects. To upload a schema: See the chapter Creating a Form Connected to your Database for instructions on generating a schema using the frevvo Database Connector. Click "expand Source" for an example.įirst, you need to generate an xml schema that will be uploaded to frevvo. Controls with patterns such as the Zip will have an auto-generated type with your pattern. A dropdown will be an xsd:simpleType restriction. For example a Quantity control will appear as an xsd:integer. The types are based on which control you selected from the palette. The XSD elements are named after the control names. You can download this XSD by selecting Download Schema from the Action Menu on the Forms and Workflow Homepage. These steps are discussed in detail below.įrevvo automatically generates an XSD schema representation of your form as you drop controls from the frevvo palette to the form designer canvas. Modify the controls (if necessary) to suit your form.Generate form controls from the global elements you added.Choose the global elements you want and add them to your form’s Data Sources.Upload your schema to one of your frevvo projects.If you want items from the schema that are not global elements, edit the schema and make the items global elements before uploading the schema to frevvo.Īt a high level, when you work with schemas you do the following: When you upload a schema to frevvo, you can use any and all global elements in the schema. All XML documents are automatically validated against their schemas. You also will see one XML document for the form itself, which references any controls you dragged in from the palette. When users submit a form that was created wholly or in part from schemas, you will see in the Submissions repository one XML instance document for each global schema element. Or you can create part of the form from schema elements and part from palette controls that have no relation to the elements in your schema. You can create all the controls in your form from the frevvo palette. You can create all the controls in your form from XML schema elements. You can mix and match these two approaches of form creation. This method is typically used when your forms do not need to integrate with a back end system. You can download this XSD from the Forms and Workflows Home Page. As you do this frevvo automatically creates an XSD description of your form's controls. It's very common and easy to create your form by dragging and dropping controls from frevvo' control palette to the form canvas. ![]() By dragging Palette Controls onto the form canvas.In general, frevvo can be created via two different methods: For practical examples of this approach please refer to Creating a Form Connected to your Database.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |