You can now insert data using the interfaces generated by the EntityServices pattern. In this exercise we will review some of the other features provided by this pattern.
- Go to the “Products” option in the application’s menu.
- Select a product, and click on the update action.
- Update the product’s price, and confirm the transaction.
- A message similar to the following will be shown.
 |
Feedback Message |
Note: The contents of these messages can be customized in the Transaction Node, in the “After (insert|update|delete) Message” properties.
 |
Feedback Message Configuration |
- Go to the “Products” option in the application’s menu.
- Open the “Grid Settings” menu. Inside it, uncheck the “Type” option.
 |
Grid Settings Menu |
- Click on the “Save” action.
- You can now see how the “Type” column is no longer visible.
 |
After Saving Grid Settings |
Note: Visible columns are stored in the Web Session by default. The developer may extend this behavior to persist this behaviour in the database, using the “K2BPersistGridColumns” procedure.
- Open the “Grid Settings” menu.
- Change the “Rows Per Page” option to “10”.
 |
Grid Settings Rows Per Page Option |
- Click on the “Save” action and see the result in the grid.
You can order the grid by clicking on the column title of an attribute having an associated SimpleOrder in K2BEntityServices instance.
- Click on the "Description" column. See how the order of the elements in the grid changes.
 |
Oder by Grid Column |
- Click on the “PDF Report” and “Export” actions and see their behavior.
 |
Excel and PDF Report Actions |
Note: Reports are generated for WorkWith and SubWorkWith interfaces. Yo can disable this generation in the Modes (WorkWith) node.
|