Show the Terms and Conditions page when a Specific Marketing\Sales\Service User Login in to the Salesforce Org.


Try this Process:


1. Create different login flows for different profiles.

    Setup => Search Login Flow in Quick find => New => Select Type as Visualforce Page =>
    Enter Name => Select User Licence of the profile which you want to use => Select a Dummy Visual force Page.

2. Create a Visualforce Page.

    VisualForce Page:


    <apex:page sidebar="false" showHeader="false">
    
      <style>
        p { font-style: Times New Roman; font-size: 15px;}
        </style>
    
    <html>        
        <body>
            <p>[PLACE HOLDER PRIVACY POLICY] </p>
        </body>
        
    </html>
</apex:page>


3. Edit Login Flow and replace the New Visualforce page.

4. Now Login with any one of the Profile Sales/Service/Marketing to test the scenario.

    

Comments