function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
DevelopementDevelopement 

Custom Page or window

Hi, 

I need to show a page or a window where I can show my custom message to users just after user login to salesforce.

I am not good in coding so please can anyone help me?

 

examplE: Just after I login to Salesforce I should see a window "Hello" and when I click on continue it should take me to salesofrce home page.

 

Thanks,

Best Answer chosen by Admin (Salesforce Developers) 
SaraagSaraag

You should be able to do this by customizing Home. Under setup->Customize->Home->Home Page Components. Under Custom Components click New button.

Click Next and select  HTML Area

 

Now you will see a text editor, on the right corner of this text editor there would be check box called "Show HTML"; check that.

 

Now you can basically use javascript to display alerts etc

 

e.g (In the box)

 

<script>

  alert("Welcome to my org");

</script>

 

----

once you have this in place, go to home page layouts and edit the one you use and add this component my checking it. You may also need to edit assignments if you have more than one home page layout.

 

Hope this helps.