A blog containing Salesforce coding examples in detail.It's a place where you can find solutions to the problems that you may face in your daily salesforce coding. Apex classes,visual force page,we services,Integration,plugins,extensions,Lightning web components,Aura components,Email Messages,Sales cloud,service Cloud,Marketing Cloud.
Amazon Affliate Link: https://amzn.to/43zNb70
Play Games
▼
Wednesday, February 3, 2016
How to change tab name( browser tab name) of Visualforce Page
Solution: Use document.title to give title. Visualforce Page :
<apex:page>
<script type="text/javascript">
document.title = 'See Tab Name';
</script>
Hello, This method only works in Salesforce Classic. In Lightning, the document.title does not have any effect on the browser tab name. Is there an alternative for Lightning? Thanks!
Hello,
ReplyDeleteThis method only works in Salesforce Classic.
In Lightning, the document.title does not have any effect on the browser tab name.
Is there an alternative for Lightning?
Thanks!
Use this in your vf page:
Deleteapex:page title="My VF Page"
Delete