on 02-27-2018 10:19 AM
Hello together,
we have extended the SAP CRM Fiori My Account App.
What we have already done:
Add new custom view with a table
Enable the drop down for new view so that you can navigate there
Extend the BUPA OData Service with a Custom Handler Class
Problem:
What have we to do to use a custom navigation property / entity set for our new view? In the app URL i see that the OData Part is automatically there when u navigate to a new view. Example ..../AccountCollection('1')/customView
But where is the mapping in standard code to OData Binding?
Best regards Richard
Hi,
for future reference here my solution.
For our custom view we had to define the following method in the new correspondig controller.
getExpandForBinding: function() {
return "CustomView";
}
This method seems to be calls by the Overview Page. CustomView is the navigation Propery which gets then inserted in the OData batch request as Expand Parameter. .../AccountCollection('1')?$expand=CustomView.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Richard, I would also like to add a new view to be selected from the dropdownlist of MyAccount Overview page, could you please describe how to make that first step? I have implemented the controllerextension "extHookAdaptAvailableSubViews" to remove som entries in the dropdownlist, that works, but here I also try to add one new entry but there is a timeout before the overview page is displayed..I realize that I must make my new entry and (so far) empty view known in the whole application, but how?
Kind regards,
Henrik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.