You need to sign in to do that
Don't have an account?
Include vf page in Home Page Components
Hi All,
I need to add vf components in Customer Portal Home Page layout. Please see below my code
HTML Link:
<iframe src="/apex/Custom_Home" frameborder="0" width="100%"></iframe>
Vf page:
<apex:page ">
<c:newsTopics />
</apex:page>
Vf component:
<apex:component controller="CustomerPortalStartPageController">
<apex:pageBlock title="Top 5 Topics" >
<apex:pageBlockTable value="{!newsTopics}" var="top5">
<apex:column>
<apex:outputLink value="{!news.Article_URL__c}">{!news.Title__c}</apex:outputLink>
</apex:column>
</apex:pageBlockTable>
</apex:pageBlock>
</apex:component>
However, when i see home page, its just showing the iframe code..not actual vf page.
Any suggestions?
Regards,
R
Hi Ranjith,
Can you try by adding height attribute into HTML link ?
like
<iframe src="/apex/Custom_Home" frameborder="0" height="230" width="100%"></iframe>