You need to sign in to do that
Don't have an account?
![sreenivas_cippyali sreenivas_cippyali](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
how to get alert msg when we click on home tab
ex : when the user clicks on home tab i want an alert wishing him good morning
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
ex : when the user clicks on home tab i want an alert wishing him good morning
Well there is,
But this is what we need to do in order make the alert appear, We have to create a component of type HTML and then add it to the home page layout so that it runs everytime:
Here I'm going to walk you through the steps
Creating a Home Page Component
1) Navigate to "Your Name" --> Setup --> Customize --> Home --> Home Page Components
2) Click New on Custom Components
3) Continue to give a name to the Component (this will be displayed on the Layout, haven't found a way to do it invisible) and Type as HTML Area
4) Choose the Component Position (doesnt really matter), and main part is on the right hand top corner of the editor , Click the "Show HTML" Checkbox
5) Paste your Script there , This is what I tried out for testing
you can make it fancy and stuff... SAVE IT
Adding the Component to the Layout.. Does not execute if you don't add it
1) I'm Assuming you use only one Homepage layout throughout the ORG (which may not be the case) , if you don't just have to follow these steps for the remaining layouts
2) Navigate to "Your Name" --> Setup --> Customize --> Home --> Home Page Layouts
3) Click on Edit for the Layout you want to show the alert on
4) There are 2 sections :
Select Wide Components to Show
Select Narrow Components to Show
Your Component will show up on the section you chose on step 4 previously, Click the check box
5) hit Next and you may choose to arrange the components and That's it !! You''re Done !!
See if it works for you , If it does mark it as the answer so that somebody else may benefit from it, if it did not work get back to me
and we'll figure it out ..
Hope it helped !!