Adding a link to a region
In this recipe, we are going to add an item to the records returned in the Employee Societies page. When a user clicks the button we will capture some key attributes from the row and pass them to the create society page.
To create a link item, we will perform the following actions:
Creating a link item
Capturing the create item event
Creating a link item
We are now going to add an item to the row, which will display a create icon on each row of the employee records in the EmpMasterRN region.
How to do it...
To add an item to create a new society record, perform the following.
In Applications Navigator, click on the
EmpSocietiesPG.xml
page.In the Structure tab, right-click the EmpMasterRN and navigate to New | column from the pop-up menu.
Click the item created and set the ID property of the column to
AddSocietyCol
.Right-click on the
AddSocietyCol
column and navigate to New | Item from the pop-up menu. Set the following properties:ID:
AddSociety
Item Style:
link
ActionType...