Mapping the Data into the Table
Copy
The next step is to map the data from the query into the table created in the previous sections. This is done by defining the data that should go into each cell and how the data should be handled by the UI. The UI supports 8 types of data.
Figure 9.
Table 1: The UI-upported data types
| Data Type | Description |
| Text | Displays value as plain text |
Decimal | Parses the decimal number to display decimal delimiter as either “.” or “,” |
Date | Parses the data to display as a date. Supports short/long/date/time |
Color | Displays color |
| Item | Displays a hyperlink to the specified Item |
| List | Displays List property value |
| Float | Displays Floating Point Property value |
| Boolean | Displays Boolean property value |
| Integer | Displays an Integer Property value |
Use the following procedure to fill in the sample grid with data:
Double-click in the Part-Name cell and specify the following:
- Cell View Type:
Text - Text Template:
{Part.name}
Figure 10.
NoteBecause there is a recursive structure, the Child Part cell also gets the same mapping.- Cell View Type:
- Double-click the CAD Name and Document Name cells and specify the name properties for both.
Figure 11.
- Double-click the Part Created By Name cell and set the Text Template as
{Part Created By.first_name}{Part Created By.last_name}.
Figure 12.
- Map the State properties for Part, CAD, Document, and Simple MCO to the appropriate cells.
Figure 13.
Double-click on the Simple MCO Created On cell and set the following properties:
- Cell View Type =
Date - Text Template =
{Simple MCO.created_on}
- Cell View Type =
Figure 14.
Double-click the top Part Part TGV cell and set the following properties:
- Cell View Type:
Item - Innovator ItemType Name:
Part - Id Template:
{CAD.id} - Text Template:
{CAD.item_number}
- Cell View Type:
Figure 15.
Repeat these steps to create the same link for CAD Part TGV, Document Part TGV, and Simple MCO Part TGV cells.
Figure 16.
NoteEach item needs the appropriate ArasInnovator ItemType Name and Id Template values.
- Repeat the previous steps to create the same link for Part Created By Part TGV cell, but for text display select the
login_nameproperty.
Figure 17.
- Double-click into the PartBOM-Part TGV cell and set the following:
{BOM.related_id/@keyed_name} - Qty: {BOM.quantity}.
Figure 18.
- Save the Tree Grid View.
Once you have saved the Tree Grid View, you can export the data to either an Excel file or a Word document by clicking on the appropriate icon in the toolbar. For more information about Cell View Types, refer to Section More About Cell View Types.