Initializing help system before first use

Creating a Resource Limits Table

Now that we have navigated to the Homepage design page in Application Studio, we will now create a table of the resource types (material and machine-time) and limits (quantity) for our page.
  1. We will use a local variable named localResourceLimits to contain this table. Create this variable as a local variable beneath the Homepage:
  2. Set the Data Type to Record List:
  3. To set the record definition, use the drop-down list (shown in the lower-right portion of the first screen, and select ResourceLimits_rec from the model's input data. (This record definition was imported automatically when we added the web service to the component earlier in this tutorial.)
  4. Drag a Table Records control from the toolbar into the Main Content area. Set the Source Record List to be localResourceLimits.
  5. To create table columns, go to the Data view and find the ResourceLimits_rec definition. Drag the Resource and Limit fields into the table as shown above.
  6. Note that this action created read-only columns; however, we need this table to be editable. As such, delete the Limit expression from the second row and drag an Input widget into its place. Set the variable to which this is bound to TableRecords1.List.Current.ResourceLimits_rec.Limit: