Adding a New Column to the InBasket
Copy
The InBasket Task is a Poly Source Item. To add a new column or a new property to any of the Poly Source Items, you need to add the column or the property to all the other Poly Source Items as well as to the InBasket Task Item.
Adding a new column to the InBasket involves five main procedures, which are described in the following sections.
Let us consider the example of adding a column named Agenda to the newly created Meeting ItemType.
Adding a new column to the New InBasket ItemType
- Log on to Aras Innovator with administrative privileges.
- Navigate to Administration --> ItemTypes.
Search for the newly created InBasket ItemType in the search grid. Select the Item and open for editing.
In our example, we have created the Meeting ItemType. Let us open the Meeting ItemType for editing. The Item window appears.Figure 11.
- Click
to unlock the ItemType. - In the Properties tab, click
to create a new property. A blank row is added in the relationship grid. - Provide the required information for the property. In our example, we add the details for Agenda column.
- Name:
agenda - Label: Agenda
- Data Type: Text
- Name:
- Click
and
.
Adding the column to other Poly Source Items
- Log on to Aras Innovator with administrative privileges.
- Navigate to Administration --> ItemTypes.
- From the grid, search for InBasket Task Item and open the Item for editing.
Click the Poly Sources tab.
The Poly Source Items appear.Figure 12.
You need to edit and add the property to each of the Poly Source Items. Start with the Workflow Task Item.
Right-click on the Workflow Task, click Open. The Workflow Task Item window appears.
- Click
to unlock the Workflow Task Item for editing. In the Properties tab, click
to create a new property.A blank row is added in the relationship grid.
- Provide the required information for the property. Here we add the details for Agenda column.
- Name: agenda
- Label: Agenda
- Data Type: Text
- Click Save, Unlock and Close on the Workflow Task Item window.
- Repeat step 5 to step 9 for Meeting Task.
- Close the InBasket Task Item window.
Rebuilding SQL Views
Rebuilding SQL View for New InBasket ItemType
- Log on to Aras Innovator with administrative privileges.
- Navigate to Administration --> SQLs.
- Search for the Drop SQL View that we created for the new ItemType.
In our example, we created Meeting_Task_Step1_Drop SQL Vie
w. For more information, refer to section SQL Table and View Execution
- Select
Meeting_Task_Step1_Dropin the search grid, right-click and select SQL Execute from the context menu. - Search for the Create Temp SQL View that we created for the new ItemType.
In our example, we createdMeeting_Task_Step02_Create_Temp_view. For more information, refer to section SQL Table and View Execution - Select
Meeting_Task_Step02_Create_Temp_viewin the search grid, right-click and select Edit from the context menu.
The SQLMeeting_Task_Step02_Create_Temp_viewwindow is displayed. Add the following line to the SQL field.
MEETING_TASK.Agenda AS AGENDAFigure 14.
- Click
and
to save and unlock the SQL Item. - Click Actions --> SQL Execute in the SQL window and then close the SQL window.
- Search for the Rename SQL View that we created for the new ItemType. In our example, we created
Meeting_Task_Step03_Rename_View. For more information, refer to section SQL Table and View Execution - Select
Meeting_Task_Step03_Rename_View
in the search grid, use right mouse button (right-click) and select SQL Execute from the context menu.
Rebuilding SQL View for Other Poly Source Items
- Log on to Aras Innovator with administrative privileges.
- Navigate to Administration --> SQLs.
- Rebuild SQL view for Workflow Item Task.
- From the search grid, search
Workflow_Task_Step01_Drop. - Select
Workflow_Task_Step01_Drop
in the search grid, right-click and select SQL Execute from the context menu. - From the search grid, open
Workflow_Task_Step02_Create_Tmp_View. - Click
to edit the Workflow_Task_Step02_Create_Tmp_View. In SQL field, add the following line: CONVERT(NVARCHAR(128), NULL) AS AGENDA,
Figure 15.
- Click
and
to save and unlock the SQL Item. - Click SQL Execute from the Actions menu.
- Close the window.
- From the search grid, search
Workflow_Task_Step03_Rename_View . - Select
Workflow_Task_Step03_Rename_Viewin the search grid, use the right mouse button (right-click) and select SQL Execute from the context menu.
- From the search grid, search
Adding the column to the InBasket Task Item
- Log on to Aras Innovator with administrative privileges.
- Navigate to Administration --> ItemType.
From the grid, search for Workflow Task Item and click
.- Save, unlock, and close the Workflow Task Item.
- Repeat steps 3 and 4 for the Meeting Task Item.
- From the grid, search for InBasket Task Item and click
. In the Properties tab, click
to create a new property.A blank row is added in the relationship grid.
- Provide the required information for the property. In our example, we add the details for Agenda column.
- Name: agenda
- Label: Agenda
- Data Type: Text
Figure 16.
- Click Save, Unlock and Close in the InBasket Task Item window.
Viewing the New Column in Configurable InBasket
- Log on to Aras Innovator with administrative privileges.
- Navigate to My Innovator --> My InBasket.
The InBasket search grid displays the newly added column. In our example, we can now see the newly added column Agenda […].
Figure 17.