on 05-26-2022 10:42 AM
Hi All,
I followed the My Inbox Cookbook and faced few challenges in adapting it to my APP.
The Version of my Inbox app is
I have a requirement to add parties involved in the My Inbox app for CHARM process in Solution Manager.
I have extended the ODATA SERVICE "/iwpwg/taskprocessing" Version 2 with custom entities and created navigation and Association between "TASK" and "PARTNER" entity. The extended ODATA Service is named as "ZTASK_ENHANCEMENT_SRV".
Association name for TASK to PARTNER : "Assoc_PartiesInvolved"
Navigation name for TASK to PARTNER : "PartiesInvolved".
Implemented the method: CASE_EXPANDED_ENTITY.
Then, I extended the CA_FIORI_INBOX with the newly extended ODATA service.
Here i would like to use the hooks "extHookOnDataLoaded" and "extHookGetEntitySetsToExpand" in the S3Custom controller.
Following are the issues.
1) The extensibility pane doesn't show, "extHookOnDataLoaded",
I manually added defined the function inside the S3Custom. Controller and during the execution, it is never called. Sample code (Intention is to trigger a breakpoint) to check the arguments passed.
extHookOnDataLoaded: function(oData){
var newData;
newData = oData;
},
2) extHookGetEntitySetsToExpand, is returned an array with ["PartiesInvolved"] (Navigation path), yet the ODATA call is not happening for the task collection, when i checked in the NETWORKS, there are no expand calls, as like "COOKBOOK".
extHookGetEntitySetsToExpand: function() {
// Place your hook implementation code here
return ['PartiesInvolved'];
}
Note: I have also tried calling the "Association name", but still it has no effects.
Could you please let me know, where the issue is.
Regards
Sivaraman
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.