Quantcast
Channel: SCN: Message List - SAP Fiori
Viewing all articles
Browse latest Browse all 2526

Re: "save as Tile" button in "My Inbox" Fiori app

$
0
0

Hi Riya;

 

It does not seem like possible from any configuration to change the option shown in this button.

It is present in the code itself. It is in S3.Controller.

Check the method  refreshData: function(oRefreshData)

 

that.addShareOnJamAndEmail(); is the method call which adds this option in the footer.

 

addShareOnJamAndEmail: function () {  var oJamOptions = {   oShareSettings : {   object : {   id : window.location.href,   share :  this.getJamDescription()  }   },  };  var oEmailSettings = {   sSubject: this.getMailSubject() ,   fGetMailBody: jQuery.proxy(this.getMailBody, this)   };  var oButtonList = {};  oButtonList.oEmailSettings = oEmailSettings;  oButtonList.oJamOptions = oJamOptions;  /**         * @ControllerHook Modify the footer buttons         * This hook method can be used to add and change buttons for the detail view footer         * It is called when the decision options for the detail item are fetched successfully         * @callback cross.fnd.fiori.inbox.view.S3~extHookChangeFooterButtons         * @param {object} oButtonList - contains the positive, negative buttons and the additional button list.         * @return {void}         */    if (this.extHookChangeFooterButtons) {    this.extHookChangeFooterButtons(oButtonList);       oEmailSettings = oButtonList.oEmailSettings;    oJamOptions = oButtonList.oJamOptions;    }       this.oHeaderFooterOptions = jQuery.extend(this.oHeaderFooterOptions, {  oJamOptions : oJamOptions,  oEmailSettings: oEmailSettings    });       this.refreshHeaderFooterOptions();    },

 

So unless you extend the application, It cannot be changed.

 

Regards,

Sarbjeet Singh


Viewing all articles
Browse latest Browse all 2526

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>