Let's create a table view for getting 'SIM' details.
In this view we are going to use relationship of objects, we will see how to retrieve child details using parent object details. As in our business we need to retrieve 'SIM' details of respective 'Mobile'.
Here 'Mobile' is Parent, 'SIM' is dependent object of Mobile, and they have a relationship named 'MobileSIMRel'.
Let's do it. Go to 'Component Structure Browser', Select 'Views' -> 'Create'.
Wizard will be open, Click 'Continue'.Provide name of view as 'SIMTable', Click 'Continue'.
Provide BOL Entity as 'Mobile' and Model Nodes 'MobileHeader', Click on 'AppendRow' icon as.
Provide BOL Entity as 'SIM', Model Nodes as 'SIMObject', Higher-Level Model Node as 'MobileHeader', What is this 'MobileHeader'?
This shows that 'SIMObjec't has a parent object 'MobileHeader'.
Fine, provide 'BOL Relation' as 'MobileSIMRel'. Just try to analyse what we are doing here.................
Click 'Continue' till 'Select View Type', Select type of view as 'Table View', Properties as 'Configuration'.Don't don't click continue now. Just see 'Context Node' at the bottom of wizard screen. Select Context Node as 'SIMObject'.Why? b,cos I would like to dispay 'SIMObject' details on the screen not 'Mobile' Details.
Click 'Continue', and 'Complete' it.
Go to 'Configuration' tab, Create 'New Configuration', and add available fields to display fields.
We are done with table view.
What next, Adding 'MobileHeaderView', and 'SIMTable' to Overview page.
In this view we are going to use relationship of objects, we will see how to retrieve child details using parent object details. As in our business we need to retrieve 'SIM' details of respective 'Mobile'.
Here 'Mobile' is Parent, 'SIM' is dependent object of Mobile, and they have a relationship named 'MobileSIMRel'.
Let's do it. Go to 'Component Structure Browser', Select 'Views' -> 'Create'.
Wizard will be open, Click 'Continue'.Provide name of view as 'SIMTable', Click 'Continue'.
Provide BOL Entity as 'Mobile' and Model Nodes 'MobileHeader', Click on 'AppendRow' icon as.
Provide BOL Entity as 'SIM', Model Nodes as 'SIMObject', Higher-Level Model Node as 'MobileHeader', What is this 'MobileHeader'?
This shows that 'SIMObjec't has a parent object 'MobileHeader'.
Fine, provide 'BOL Relation' as 'MobileSIMRel'. Just try to analyse what we are doing here.................
Click 'Continue' till 'Select View Type', Select type of view as 'Table View', Properties as 'Configuration'.Don't don't click continue now. Just see 'Context Node' at the bottom of wizard screen. Select Context Node as 'SIMObject'.Why? b,cos I would like to dispay 'SIMObject' details on the screen not 'Mobile' Details.
Click 'Continue', and 'Complete' it.
Go to 'Configuration' tab, Create 'New Configuration', and add available fields to display fields.
We are done with table view.
What next, Adding 'MobileHeaderView', and 'SIMTable' to Overview page.
No comments:
Post a Comment