Creating Gloop Models
There are plenty of ways to create Gloop Models. You can always make one from scratch but then, if you already have an existing model, it would be wiser to just generate them from the original source. Fortunately, Gloop is capable of generating Gloop Models provided that the source is:
Regardless of your Gloop Model's source the process for creating a model remains the same; that is:
- Launch the Gloop Model Creation wizard. To do this, right click on the
codefolder (or any folder which is a child of it) of an Integrate Package where you would like the model to reside, then select New, then Gloop Model.
- Enter a name for the Gloop Model, choose the model's source type, and then click Next.
- Provide the source's content if you're not going to create a model from scratch and then click Next. Different source types will have different requirements.
- Click Finish.
New Models anyone?
In Coder Studio, you can press ⌘+N to open the New wizard. Once the wizard appears, you can select
Gloop Model in the Gloop folder, or enter
gloop model in the filter text box to filter out all
other options, leaving only the Gloop Model option to appear. Once the Gloop Model option is selected, you
can press Enter or click on the Finish button.
The generated Gloop Model should now appear in the chosen location under the Coder Navigator view.
By choosing to create an empty Gloop Model, it is your responsibility to populate it with properties. You may add a property by right clicking on the created Gloop Model's canvas and then left clicking the type of property you want to add.
From an Existing Gloop Model
If your source is an existing Gloop Model, you must specify the model's location by entering its URL in the text box provided or by locating it on your file system.
Creating a Gloop Model from an existing Gloop Model is essentially the same as duplicating the source model. Aside from using the Gloop Model Creation wizard, you may opt to simply copy and paste models.
In Coder Studio, you can also import multiple Gloop Model files by simply dropping them on an Integrate
code folder in the Coder Navigator view.
From a JSON String or File
If your source is a JSON String, simply copy and paste the string in the text area displayed. Otherwise, provide the source as a JSON file or a URL that returns JSON data by clicking on the Import button underneath the text area.
From a JSON Schema
If your source is a JSON Schema, you must specify its location by entering its URL or by browsing its location in the file system.
From an XML String or File
If your source is an XML String, simply copy and paste the string in the text area displayed. Otherwise, provide the source as an XML file or a URL that returns XML data by clicking on the Import button underneath the text area.
From an XML Schema
If your source is an XML Schema, you must specify its location by entering its URL or by browsing its location in the file system.