on 12-03-2018 10:40 AM
Hi Sandip,
Not sure if you have already found a solution for your problem, but I faced a similar issue recently and I resolved it using the following code,
inside the extended controller,
First I checked if the app is being launched from Outbox or Inbox Tile by checking the launch URL parameter 'outbox',
var oHashChanger = new sap.ui.core.routing.HashChanger();
var sHash = oHashChanger.getHash();
var isOutbox = (sHash.indexOf("outbox=true")!== -1)? true:false;
Then I updated the shell title in the same controller, using the following code.
if (isOutbox === true)
{
sap.ui.getCore().byId("shellAppTitle").setText("My Outbox");
}
If you don't prefer using the 'sap.ui.getCore()' then you can also achieve it by the ShellUIService.
You can find the process to use it in the following link,
https://sapui5.hana.ondemand.com/#/api/sap.ushell.ui5service.ShellUIService/overview
I hope this reply would help you with your issue.
Regards,
Soumalya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Sandip
Normally the title is in component.js file, you can create an extension project for the app and modify it as per the need.
Thanks
Nabheet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Yes, this can be changed either by modifying the i18N or using extended control in WebIDE. I was looking if SAP has provided any solution, and found they have provided a note for this correction.
https://launchpad.support.sap.com/#/notes/2707404
Regards
Sandip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Jorge
Thanks for your reply.
Since we just copied the Inbox Tile and changed the Service URL, hence it still shows My Inbox as App Title. The tile configuration does not have App Title, I think.
So wanted to know if there is any other way to change the App Title?
Regards
Sandip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sandip,
Please check the tile configuration for outbox, it could be something pointing to the wrong title.
If not, attach images with the configuration.
Kind regards,
Jorge
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
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.