+ Start a Discussion


I am trying to place an iframe in Visual force for refer in home page component . but still i am not sure i am getting some error . below is my code. 

public without sharing class iframecontroller {   
Public String encoded{get; set;}       
public String getEncoded()
encoded = EncodingUtil.urlEncode('http://corpdev.corptest.com/ibi_apps/WFServlet?%26IBIAPP_app=acs_reporting%26IBIF_ex=sfdc_am%26IBIMR_proc=is_sfdc_am_db' 'UTF-8');  
   System.debug('encoded= ' + encoded);     

   return null;    }


<apex:page sidebar="false" showheader="false" tabstyle="Account" controller="iframecontroller">
<iframe src="{!encoded}" />

 i am referring this VF page on Home page component. but url is not showing.


any help would be greatly appriciated.