+ Start a Discussion

Show HTML Area checkbox is NOT visible in HTML Area component

Hi All,

I wanted to create new HTML Area Component but at the time of creating am not able to see checkbox (show html area).

If you are on the Summer 14 release, this is documented behaviour.  According to the release notes (bold is mine) :

--- snip ---

New Rich Text Editor for HTML Area Home Page Components

We replaced the rich text editor in HTML Area home page components with a new version that supports more markup
but doesn’t allow HTML to be manually entered.

--- snip ---
Hi Bob,

Then how we can achieve entering html. I want to include a textbox with a button to provide custom search to the customer.

You'd use the new Visualforce Area Home Page Component: 

--- snip ---

New Visualforce Area Home Page Component

The new Visualforce Area home page component lets you create home page components with custom markup, including
JavaScript and CSS, which are now restricted from use in HTML Area home page components. Use Visualforce Area
home page components to add dynamic content to your home page. For example, you can present content from partner
apps, display charts in conjunction with the Analytics API, or add a canvas app to the home page.
Visualforce Area home page components can be added to the narrow or the wide column of the home page layout, and
the referenced Visualforce page can use a standard or custom controller. You can include JavaScript in your Visualforce
page, but because the component is rendered in an iframe on the home page layout, the JavaScript can’t interact with
the page that contains the component.

--- snip ---
Anshul GoyalAnshul Goyal
Actually i want to hide several fields from EDIT layout of the lead page.I tried using a vf page(making width=0% and height=0) in a section, and it is working in lead detail page but not on edit layout page.Is there any other approach as home page will not allow to interact with the lead page as per your discussion thread.
Fernando Cunha FilhoFernando Cunha Filho
I have the same problem. 

I would like to remove the Default Button in the Approval History Related List  "Submit for Approval" from Opportunity Layout. 

This way with de home page :

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
  $j = jQuery.noConflict();
  if(window.location.href.indexOf(".com/006") != -1) {
    $j(document).ready(function() {     

But, with limitation is not possible.
How i can resolved? Any ideia?
You can't do this - the sidebar no longer allows JavaScript to be created to change the standard pages.  
rajashekar rayala 5rajashekar rayala 5
I am having similar issue where I have to disable couple of standard buttons in Event's layout, just wondering if there is any work around.
Gourav MagguGourav Maggu
I need to hide the Save & Close button from Specific record type case edit layout. Can someone help me out?