Skip to main content
Hi 

after little reading i came across below blog which is explaining about inline VF page,i am looking forward to programatically experience how this works but the apex class written in this blog is not working,can someone help me out,i believe the class needs little modification and i am failing do that, help will be highly appreciated.

http://blog.jeffdouglas.com/2009/05/08/inline-visualforce-pages-with-standard-page-layouts/
3 risposte
  1. 14 lug 2015, 16:25
    Hi TheRealist,

    InlineVF page is a page which you can add in standard detail page . 

    1.Basic concept of the inline VF page is that the page should have standard controller as that particular object in which object you need to add .

    2.The inline VF will not visible in edit mode .

    Scenario 1.

    You can use in many cases .suppose you need to display a message in detail page then you can add the vf page which will a modified message.

    Scenario2 .

    You can add a custom related list in one object for which alos you can add inline VF page .

    Scenario3.

    You can add a vf to add attachment in the record in your customised way .

    Scenario4 - You can add a VF button and diaply based on some condition .

    For many more option like this you can add inline VF pages .

    You can add this in Account and check .

     

    <apex:page standardController="Account">

    <apex:panelGroup rendered="{!IF(CONTAINS(Account.Owner.Profile.Name,'System Administrator')),TRUE,FALSE)}">

    <apex:pageMessage id="msg" escape="0" summary="Please do what u want to do" severity="warning" strength="3"/>

    </apex:panelGroup>

    </apex:page>

    To add the inlineVF you have to edit the layout and click on visualforce and drag and drop where ever you need to add .

    Hi TheRealist,InlineVF page is a page which you can add in standard detail page . 1.

    Like above picture you need to select .

    Like above you can add as you need .

    Let me know if it helps .

    Thanks 

    Manoj
0/9000