cancel
Showing results for 
Search instead for 
Did you mean: 

My leads fiori crm footer extension

raina_goyal
Participant
0 Kudos

Hi Experts,

I am extending My Leads fiori crm app and i have extended list item attributes on s2 view as below

:

i want to search the lead on the basis of "DGSO" i.e "Sales Organisation".

How to do this extension in s2 controller?

Kindly suggest.

Thanks and Regards

Raina Goyal

Accepted Solutions (0)

Answers (2)

Answers (2)

raina_goyal
Participant
0 Kudos

Hi Experts,

Can anyone suggest me what to do? Y using this extension hook with custom code overriding the the standard code as mentioned in this thread.

Please Help as it is urgent.

Thanks and Regards

Raina

raina_goyal
Participant
0 Kudos

Hi Experts,

Can anybody help me as it is urgent. Please

Thanks and Regards

Raina

Former Member
0 Kudos

Hi Raina,

if you want to extend the footer toolbar functions in the list view use hook name (extendHeaderFooterOptions) in S2.controller.js


Othe wise  if you want to extend extHookGetHeaderFooterOptions is the controller hook where the headerFooterOptions can be extended use hook name (extHookGetHeaderFooterOptions) in S2.controller.js



Regards,

Ashish

raina_goyal
Participant
0 Kudos

Hi Ashish Mahakul

Thank you , i am able to find the extension hook point and i have also extended the s2 controller with the following code:

extHookGetHeaderFooterOptions : function(oHeaderFooterOptions) {

    var oFilterOptions = {

     sSelectedItemKey: this.sFilterSelectedItemKey,

      aFilterItems: [

                  {

      text: "SalesOrganisation",

   key: "New"

                   } 

Also. i am able to see "Sales Organisation" in the filter but extending this S2 controller with this extension hook , is removing the standard functionality used for filter i.e. now i am not able to filter the leads on the basis of "OPEN" which was in standard.

Kindly help.

Thanks and Regards

Raina

                                                               ],

Former Member
0 Kudos

Hi Raina,

You can define attributes like master list title, filters  using hook (extHookGetHeaderFooterOptions) in S2.controller.js  controller.


Regards,

Ashish