cancel
Showing results for 
Search instead for 
Did you mean: 

Extension of SAP Inbox Fiori app CA_FIORI_INBOX

Vinod_Chandran
Active Contributor
0 Kudos

Hi,

I am trying to achieve the following by extending the Inbox fiori app CA_FIORI_INBOX using WebIDE.

  1. Disable the ‘Manage My Substitution’ menu
  2. Rename the ‘Open Task’ button

I can see that the ‘Manage My Substitution’ menu is added in the Main controller but commending this code after extending the controller is not working. I am getting an error saying that cannot find the extended controller (MainCustom.controller.js).

For the renaming I have tried using the custom i18n but did not work either.

Appreciate if someone can shed some light on this.

Thanks for your help.

Regards

Vinod

Accepted Solutions (1)

Accepted Solutions (1)

gill367
Active Contributor

HI Vinod;

I tried the first change it is working fine for me.

I created the extension with empty controller and then in the cust controller. I have commented out d.push(s) as shown below

Save, run and deploy works fine for me

Regards,

Sarbjeet Singh

Vinod_Chandran
Active Contributor
0 Kudos

Thanks Sarbjeet.

I have tried this before but did not work. Can you please detail the steps you have followed?

Thanks

Vinod

Vinod_Chandran
Active Contributor
0 Kudos

Hi Sarbjeet,

Thanks for your help. It is working.

The only difference is that I have tried with 'Extend with a copy of the original controller'.

Have you tried the i18n as well?

Cheers

Vinod

Vinod_Chandran
Active Contributor
0 Kudos

I have done the following for changing the button text of 'Open Task' button.

Created i18n folder and file in the extension project

Given the new button text in the i18n property file

Also given the reference in the Component.js file. The extension project is deployed but text is not changed in the fiori app,

Just wondering whether implementing the hook method 'extHookChangeFooterButtons' of controller 'S3.controller.js' will help in this case?

Thanks

Vinod

gill367
Active Contributor

Hi Vinod;

Do you use wizard to add these files? I have followed the following steps to modify the title and it is working fine for me.

This will create the below folder and files in your extension project.

Modified the below four files for some title.

Save and run to test.

Regards,

Sarbjeet Singh

Vinod_Chandran
Active Contributor
0 Kudos

It worked. Thanks Sarbjeet.

I am not sure why it did not work when did it manually (not through the wizard).

Thanks

Vinod

Answers (0)