on 10-23-2015 8:40 AM
Hi All,
I am trying to extend my inbox application.
when the item in list is clicked the details to be populated in the details screen.
I am able to extend the xml view of detail screen and add some fields in info icon tab.
i am able to manipulate the values in extended view with extended controller file.
Issue:
To fetch more details from backed I need to know which item is pressed in the list.
Is there any possibility to access the item pressed in the main list and to get existing data of the list.
so that for additional fields I will do another read operation with help of order ID.
Is my approach correct..?
Regards,
Abhiram.
Hi Nalam;
When anything is selected in Master list of the Fiori inbox application.The refresh data method is called in the controller of detail view (S3.controller.js).
refreshData: function(oRefreshData) {
This particular function sets the data in a model named as 'detail'
detail model has a parameter called instanceID which will provide you the ID of the workitem.
so code like below will provide you the required ID.
this.getView().getModel("detail").getData().InstanceID
Then use this id to fetch the additional information,
Regards,
Sarbjeet Singh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
11 | |
8 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.