I have a client who has a custom visualforce page that is embedded on the standard Lead page via page layout. What they would like to do is have this embedded page appear conditionally based upon various criteria in the Lead Object. I have been able to implement this using a Home Page Component that uses javascript to find and hide the embedded content based on certain criteria it finds on screen. I have a couple questions about this technique:
- Is there a better way to accomplish this?
- How will Salesforce look upon this if they decide to create an AppExchange product out of this?
Thanks