There are numerous other problems with it other than being static, like:
2. Dynamic title for every view, which does not contains application name.
3. Home Page View does not show the title correctly if user navigates back from any other screen tab.
1.Title shows "-the end-" if the application is refreshed by browser refresh button.
Title showing as -the end- in home screen |
Home page is showing Contact Home Title on navigating back. |
Solutions:
1. Update Title property for all the views in application with correct title or a static title.
This solution requires changing lot of objects in repository and does not fixes issues with home page views.
read more on bookshelf
read more on bookshelf
2. Update the document title using Open UI Postload event.
Although this will cause title to title to flicker from the original title to a static title, but it is the only solution which is as close as to the HI application title.
Change you postload.js or create new custom js and add following script to the application.
If(typeof (SiebelAppFacade.ChangeTitle) == "undefined") {
Namespace('SiebelAppFacade.ChangeTitle');
(function(){
SiebelApp.EventManager.addListner( "postload", OnPostload, this );
function OnPostload( ){
try{
document.title="Siebel Call Center";
}
catch(error)
{
SiebelJS.Log("Error caught in postload: "+error);
}
}
}());}
However this solution does not help in case of record navigation. Choose wisely. Hope it helps.
Thanks - this was very helpful.
ReplyDelete