Skip to Content
avatar image
Former Member

Hide forward button for CA_FIORI_INBOX (Myinbox) App

Hello,

I am very newbie on FIORI developments and my first development on FIORI is to hide the foward button for Approvals Apps (Purchase, Contracts and Requisition).

I created an extension project on WEB IDE for CA_FIORI_INBOX app and made this adjustment on S3Custom.controller.js:

sap.ui.controller("cross.fnd.fiori.inbox.CA_FIORI_INBOXExtension.view.S3Custom", {
extHookChangeFooterButtons: function(oButtonList) {
        oButtonList.aButtonList.getIdForLabel()("XBUT_FORWARD").setVisible(false);
}
});

This below is the Component.js, i made no changes:

jQuery.sap.declare("cross.fnd.fiori.inbox.CA_FIORI_INBOXExtension.Component");
// use the load function for getting the optimized preload file if present
sap.ui.component.load({
name: "cross.fnd.fiori.inbox",
// Use the below URL to run the extended application when SAP-delivered application is deployed on SAPUI5 ABAP Repository
url: "/sap/bc/ui5_ui5/sap/CA_FIORI_INBOX"
// we use a URL relative to our own component
// extension application is deployed with customer namespace
});
this.cross.fnd.fiori.inbox.Component.extend("cross.fnd.fiori.inbox.CA_FIORI_INBOXExtension.Component", {
metadata: {
manifest: "json"
}
});

I deployed to SAPUI5 abap repository and already configured the customizing Catalog and Group for my app extension. The only change that i did was:

  • URL: /sap/bc/ui5_ui5/sap/NAMESPACE/ca_inbox/
  • ID: cross.fnd.fiori.inbox.CA_FIORI_INBOXExtension.Component

When i run the "new app" it seems still running the original code, without running the extension code.

Anyone could help me to fix this problem?

Best Regards.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Oct 10, 2017 at 08:09 AM

    hi

    Did you get any solution to this problem.I am also trying to do the same.

    Thanks

    Monika

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 10, 2017 at 12:23 PM

    Hi Monika,

    Try to configure the URL like:

    /sap/bc/ui5_ui5/sap/<your Z-BSP component name>

    (You can confirm this in SICF tcode, in your gateway system.)

    Also, try to define the component ID like:

    cross.fnd.fiori.inbox.<your extension component> 

    (Check manifest.json in your WEBIDE extension project, on sap.app-id.

    See if this helps you a little more. :)
    Kind regards,
    Garcia

    Add comment
    10|10000 characters needed characters exceeded