Skip to main content The Trailblazer Community will be unavailable from 2/1/2025 to 2/2/2025. Please plan your activities accordingly.
On user object - I want to display warning message via VF page, but here the problem is there is no option for Inline VF page on User Layout. is there any workaround?

OR

Apart from VF page is there any other options to display warning?

User object there is no option for Inline VF page
3 answers
  1. Aug 13, 2020, 12:49 PM

    Hi Kristiana, 

    You need to add Standard Controller = User on your visualforce page for it to be visible here. Example below

    <apex:page standardController="User">

    -- SOME MESSAGe --

    </apex:page>

    Once you have this, the page should be available for you in the layout.

     

    Best,

    Vishal

  2. Aug 13, 2020, 5:55 PM

    Thank you Vishal and Anutej for Answer. 

    This approach works - 

    <apex:page standardController="User">

    -- SOME MESSAGe --

    </apex:page>
0/9000