Posts

Showing posts from May 24, 2015

Some Very useful Salesforce Links

http://sfdchack.blogspot.in/ http://blog.jeffdouglas.com/

Create Custom Lookup in salesforce

Image
Requirement : Create a custom Lookup Solution : you need to create two visual force page Create first VF Page and Class Page Code <apex:page controller="LookupMainControllerForFilter" tabstyle="Account"> <script>     var newWin=null;     function openLookupPopup(name, id)     {         var url="/apex/LookupExamplePopup?namefield=" + name + "&idfield=" + id;         newWin=window.open(url, 'Popup','height=500,width=600,left=100,top=100,resizable=no,scrollbars=yes,toolbar=no,status=no');         if (window.focus)          {             newWin.focus();         }                      return false;     }                        function closeLookupPopup()     {        if (null!=newWin)        {           newWin.close();        }       } </script>                      <apex:form >     <apex:pageBlock title="Lookup">       <apex:pageBlockSection columns=&qu