title: Only buttons may be used in the CustomButtons
body: <p>Hi i have to Deploy an existing eclipse project to our Developer org when i deploy it it gave me an error</p>
  
  <h1>Deploy Results:</h1>
  
  <p>File Name:    layouts/Account-Account Layout carousel.layout
     Full Name:  Account-Account Layout carousel
     Action:  NO ACTION
     Result:  FAILED
     Problem: Only buttons may be used in the CustomButtons</p>
  
  <p>here is the source code of Account-Account Layout carousel.layout</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;Layout xmlns="http://soap.sforce.com/2006/04/metadata"&gt;
      &lt;customButtons&gt;Edit_Carousel_Test&lt;/customButtons&gt;
      &lt;excludeButtons&gt;DataDotComClean&lt;/excludeButtons&gt;
      &lt;excludeButtons&gt;Submit&lt;/excludeButtons&gt;
      &lt;layoutSections&gt;
          &lt;customLabel&gt;false&lt;/customLabel&gt;
          &lt;detailHeading&gt;false&lt;/detailHeading&gt;
          &lt;editHeading&gt;true&lt;/editHeading&gt;
          &lt;label&gt;Account Information&lt;/label&gt;
          &lt;layoutColumns&gt;
              &lt;layoutItems&gt;
                  &lt;behavior&gt;Edit&lt;/behavior&gt;
                  &lt;field&gt;OwnerId&lt;/field&gt;
              &lt;/layoutItems&gt;
              &lt;layoutItems&gt;
                  &lt;behavior&gt;Required&lt;/behavior&gt;
                  &lt;field&gt;Name&lt;/field&gt;
              &lt;/layoutItems&gt;
              &lt;layoutItems&gt;
                  &lt;behavior&gt;Edit&lt;/behavior&gt;
                  &lt;field&gt;ParentId&lt;/field&gt;
              &lt;/layoutItems&gt;
              &lt;layoutItems&gt;
                  &lt;behavior&gt;Edit&lt;/behavior&gt;
                  &lt;field&gt;AccountNumber&lt;/field&gt;
              &lt;/layoutItems&gt;
              &lt;layoutItems&gt;
                  &lt;behavior&gt;Edit&lt;/behavior&gt;
                  &lt;field&gt;Site&lt;/field&gt;
              &lt;/layoutItems&gt;
              &lt;layoutItems&gt;
                  &lt;behavior&gt;Edit&lt;/behavior&gt;
                  &lt;field&gt;Type&lt;/field&gt;
              &lt;/layoutItems&gt;
              &lt;layoutItems&gt;
                  &lt;behavior&gt;Edit&lt;/behavior&gt;
                  &lt;field&gt;Industry&lt;/field&gt;
              &lt;/layoutItems&gt;
              &lt;layoutItems&gt;
                  &lt;behavior&gt;Edit&lt;/behavior&gt;
                  &lt;field&gt;AnnualRevenue&lt;/field&gt;
              &lt;/layoutItems&gt;
          &lt;/layoutColumns&gt;
          &lt;layoutColumns&gt;
              &lt;layoutItems&gt;
                  &lt;behavior&gt;Edit&lt;/behavior&gt;
                  &lt;field&gt;Rating&lt;/field&gt;
              &lt;/layoutItems&gt;
              &lt;layoutItems&gt;
                  &lt;behavior&gt;Edit&lt;/behavior&gt;
                  &lt;field&gt;Phone&lt;/field&gt;
              &lt;/layoutItems&gt;
              &lt;layoutItems&gt;
                  &lt;behavior&gt;Edit&lt;/behavior&gt;
                  &lt;field&gt;Fax&lt;/field&gt;
              &lt;/layoutItems&gt;
              &lt;layoutItems&gt;
                  &lt;behavior&gt;Edit&lt;/behavior&gt;
                  &lt;field&gt;Website&lt;/field&gt;
              &lt;/layoutItems&gt;
              &lt;layoutItems&gt;
                  &lt;behavior&gt;Edit&lt;/behavior&gt;
                  &lt;field&gt;TickerSymbol&lt;/field&gt;
              &lt;/layoutItems&gt;
              &lt;layoutItems&gt;
                  &lt;behavior&gt;Edit&lt;/behavior&gt;
                  &lt;field&gt;Ownership&lt;/field&gt;
              &lt;/layoutItems&gt;
              &lt;layoutItems&gt;
                  &lt;behavior&gt;Edit&lt;/behavior&gt;
                  &lt;field&gt;NumberOfEmployees&lt;/field&gt;
              &lt;/layoutItems&gt;
              &lt;layoutItems&gt;
                  &lt;behavior&gt;Edit&lt;/behavior&gt;
                  &lt;field&gt;Sic&lt;/field&gt;
              &lt;/layoutItems&gt;
          &lt;/layoutColumns&gt;
          &lt;style&gt;TwoColumnsTopToBottom&lt;/style&gt;
      &lt;/layoutSections&gt;
      &lt;layoutSections&gt;
          &lt;customLabel&gt;false&lt;/customLabel&gt;
          &lt;detailHeading&gt;false&lt;/detailHeading&gt;
          &lt;editHeading&gt;true&lt;/editHeading&gt;
          &lt;label&gt;Address Information&lt;/label&gt;
          &lt;layoutColumns&gt;
              &lt;layoutItems&gt;
                  &lt;behavior&gt;Edit&lt;/behavior&gt;
                  &lt;field&gt;BillingAddress&lt;/field&gt;
              &lt;/layoutItems&gt;
          &lt;/layoutColumns&gt;
          &lt;layoutColumns&gt;
              &lt;layoutItems&gt;
                  &lt;behavior&gt;Edit&lt;/behavior&gt;
                  &lt;field&gt;ShippingAddress&lt;/field&gt;
              &lt;/layoutItems&gt;
          &lt;/layoutColumns&gt;
          &lt;style&gt;TwoColumnsTopToBottom&lt;/style&gt;
      &lt;/layoutSections&gt;
      &lt;layoutSections&gt;
          &lt;customLabel&gt;false&lt;/customLabel&gt;
          &lt;detailHeading&gt;false&lt;/detailHeading&gt;
          &lt;editHeading&gt;true&lt;/editHeading&gt;
          &lt;label&gt;Additional Information&lt;/label&gt;
          &lt;layoutColumns&gt;
              &lt;layoutItems&gt;
                  &lt;behavior&gt;Edit&lt;/behavior&gt;
                  &lt;field&gt;CustomerPriority__c&lt;/field&gt;
              &lt;/layoutItems&gt;
              &lt;layoutItems&gt;
                  &lt;behavior&gt;Edit&lt;/behavior&gt;
                  &lt;field&gt;SLAExpirationDate__c&lt;/field&gt;
              &lt;/layoutItems&gt;
              &lt;layoutItems&gt;
                  &lt;behavior&gt;Edit&lt;/behavior&gt;
                  &lt;field&gt;NumberofLocations__c&lt;/field&gt;
              &lt;/layoutItems&gt;
              &lt;layoutItems&gt;
                  &lt;behavior&gt;Edit&lt;/behavior&gt;
                  &lt;field&gt;Active__c&lt;/field&gt;
              &lt;/layoutItems&gt;
          &lt;/layoutColumns&gt;
          &lt;layoutColumns&gt;
              &lt;layoutItems&gt;
                  &lt;behavior&gt;Edit&lt;/behavior&gt;
                  &lt;field&gt;SLA__c&lt;/field&gt;
              &lt;/layoutItems&gt;
              &lt;layoutItems&gt;
                  &lt;behavior&gt;Edit&lt;/behavior&gt;
                  &lt;field&gt;SLASerialNumber__c&lt;/field&gt;
              &lt;/layoutItems&gt;
              &lt;layoutItems&gt;
                  &lt;behavior&gt;Edit&lt;/behavior&gt;
                  &lt;field&gt;UpsellOpportunity__c&lt;/field&gt;
              &lt;/layoutItems&gt;
          &lt;/layoutColumns&gt;
          &lt;style&gt;TwoColumnsLeftToRight&lt;/style&gt;
      &lt;/layoutSections&gt;
      &lt;layoutSections&gt;
          &lt;customLabel&gt;false&lt;/customLabel&gt;
          &lt;detailHeading&gt;false&lt;/detailHeading&gt;
          &lt;editHeading&gt;true&lt;/editHeading&gt;
          &lt;label&gt;System Information&lt;/label&gt;
          &lt;layoutColumns&gt;
              &lt;layoutItems&gt;
                  &lt;behavior&gt;Readonly&lt;/behavior&gt;
                  &lt;field&gt;CreatedById&lt;/field&gt;
              &lt;/layoutItems&gt;
          &lt;/layoutColumns&gt;
          &lt;layoutColumns&gt;
              &lt;layoutItems&gt;
                  &lt;behavior&gt;Readonly&lt;/behavior&gt;
                  &lt;field&gt;LastModifiedById&lt;/field&gt;
              &lt;/layoutItems&gt;
          &lt;/layoutColumns&gt;
          &lt;style&gt;TwoColumnsTopToBottom&lt;/style&gt;
      &lt;/layoutSections&gt;
      &lt;layoutSections&gt;
          &lt;customLabel&gt;false&lt;/customLabel&gt;
          &lt;detailHeading&gt;false&lt;/detailHeading&gt;
          &lt;editHeading&gt;true&lt;/editHeading&gt;
          &lt;label&gt;Description Information&lt;/label&gt;
          &lt;layoutColumns&gt;
              &lt;layoutItems&gt;
                  &lt;behavior&gt;Edit&lt;/behavior&gt;
                  &lt;field&gt;Description&lt;/field&gt;
              &lt;/layoutItems&gt;
          &lt;/layoutColumns&gt;
          &lt;style&gt;OneColumn&lt;/style&gt;
      &lt;/layoutSections&gt;
      &lt;layoutSections&gt;
          &lt;customLabel&gt;true&lt;/customLabel&gt;
          &lt;detailHeading&gt;false&lt;/detailHeading&gt;
          &lt;editHeading&gt;false&lt;/editHeading&gt;
          &lt;label&gt;Custom Links&lt;/label&gt;
          &lt;layoutColumns/&gt;
          &lt;layoutColumns/&gt;
          &lt;layoutColumns/&gt;
          &lt;style&gt;CustomLinks&lt;/style&gt;
      &lt;/layoutSections&gt;
      &lt;relatedLists&gt;
          &lt;fields&gt;FULL_NAME&lt;/fields&gt;
          &lt;fields&gt;CONTACT.TITLE&lt;/fields&gt;
          &lt;fields&gt;CONTACT.EMAIL&lt;/fields&gt;
          &lt;fields&gt;CONTACT.PHONE1&lt;/fields&gt;
          &lt;relatedList&gt;RelatedContactList&lt;/relatedList&gt;
      &lt;/relatedLists&gt;
      &lt;relatedLists&gt;
          &lt;fields&gt;OPPORTUNITY.NAME&lt;/fields&gt;
          &lt;fields&gt;OPPORTUNITY.STAGE_NAME&lt;/fields&gt;
          &lt;fields&gt;OPPORTUNITY.AMOUNT&lt;/fields&gt;
          &lt;fields&gt;OPPORTUNITY.CLOSE_DATE&lt;/fields&gt;
          &lt;relatedList&gt;RelatedOpportunityList&lt;/relatedList&gt;
      &lt;/relatedLists&gt;
      &lt;relatedLists&gt;
          &lt;fields&gt;CASES.CASE_NUMBER&lt;/fields&gt;
          &lt;fields&gt;NAME&lt;/fields&gt;
          &lt;fields&gt;CASES.SUBJECT&lt;/fields&gt;
          &lt;fields&gt;CASES.PRIORITY&lt;/fields&gt;
          &lt;fields&gt;CASES.CREATED_DATE_DATE_ONLY&lt;/fields&gt;
          &lt;fields&gt;CASES.STATUS&lt;/fields&gt;
          &lt;fields&gt;OWNER_NAME&lt;/fields&gt;
          &lt;relatedList&gt;RelatedCaseList&lt;/relatedList&gt;
      &lt;/relatedLists&gt;
      &lt;relatedLists&gt;
          &lt;fields&gt;TASK.SUBJECT&lt;/fields&gt;
          &lt;fields&gt;TASK.WHO_NAME&lt;/fields&gt;
          &lt;fields&gt;TASK.WHAT_NAME&lt;/fields&gt;
          &lt;fields&gt;ACTIVITY.TASK&lt;/fields&gt;
          &lt;fields&gt;TASK.DUE_DATE&lt;/fields&gt;
          &lt;fields&gt;TASK.STATUS&lt;/fields&gt;
          &lt;fields&gt;TASK.PRIORITY&lt;/fields&gt;
          &lt;fields&gt;CORE.USERS.FULL_NAME&lt;/fields&gt;
          &lt;relatedList&gt;RelatedActivityList&lt;/relatedList&gt;
      &lt;/relatedLists&gt;
      &lt;relatedLists&gt;
          &lt;fields&gt;TASK.SUBJECT&lt;/fields&gt;
          &lt;fields&gt;TASK.WHO_NAME&lt;/fields&gt;
          &lt;fields&gt;TASK.WHAT_NAME&lt;/fields&gt;
          &lt;fields&gt;ACTIVITY.TASK&lt;/fields&gt;
          &lt;fields&gt;TASK.DUE_DATE&lt;/fields&gt;
          &lt;fields&gt;CORE.USERS.FULL_NAME&lt;/fields&gt;
          &lt;fields&gt;TASK.LAST_UPDATE&lt;/fields&gt;
          &lt;relatedList&gt;RelatedHistoryList&lt;/relatedList&gt;
      &lt;/relatedLists&gt;
      &lt;relatedLists&gt;
          &lt;relatedList&gt;RelatedNoteList&lt;/relatedList&gt;
      &lt;/relatedLists&gt;
      &lt;relatedLists&gt;
          &lt;fields&gt;ASSET.NAME&lt;/fields&gt;
          &lt;fields&gt;ASSET.SERIAL_NUMBER&lt;/fields&gt;
          &lt;fields&gt;ASSET.INSTALL_DATE&lt;/fields&gt;
          &lt;fields&gt;ASSET.QUANTITY&lt;/fields&gt;
          &lt;fields&gt;CONTACT.NAME&lt;/fields&gt;
          &lt;fields&gt;ASSET.STATUS&lt;/fields&gt;
          &lt;fields&gt;ASSET.IS_COMPETITOR_PRODUCT&lt;/fields&gt;
          &lt;relatedList&gt;RelatedAssetList&lt;/relatedList&gt;
      &lt;/relatedLists&gt;
      &lt;relatedLists&gt;
          &lt;fields&gt;ACCOUNT.NAME&lt;/fields&gt;
          &lt;fields&gt;OPPORTUNITY.NAME&lt;/fields&gt;
          &lt;fields&gt;PARTNER.ROLE&lt;/fields&gt;
          &lt;relatedList&gt;RelatedPartnerList&lt;/relatedList&gt;
      &lt;/relatedLists&gt;
      &lt;relatedObjects&gt;ParentId&lt;/relatedObjects&gt;
      &lt;showEmailCheckbox&gt;false&lt;/showEmailCheckbox&gt;
      &lt;showHighlightsPanel&gt;true&lt;/showHighlightsPanel&gt;
      &lt;showInteractionLogPanel&gt;true&lt;/showInteractionLogPanel&gt;
      &lt;showRunAssignmentRulesCheckbox&gt;false&lt;/showRunAssignmentRulesCheckbox&gt;
      &lt;showSubmitAndAttachButton&gt;false&lt;/showSubmitAndAttachButton&gt;
      &lt;summaryLayout&gt;
          &lt;masterLabel&gt;00hE0000000JOz5&lt;/masterLabel&gt;
          &lt;sizeX&gt;4&lt;/sizeX&gt;
          &lt;sizeY&gt;0&lt;/sizeY&gt;
          &lt;summaryLayoutStyle&gt;Default&lt;/summaryLayoutStyle&gt;
      &lt;/summaryLayout&gt;
  &lt;/Layout&gt;
  </code></pre>
  
  <p>I am new to Salesforce know basic of visual force and apex can any one please help how to remove this error/problem</p>