• Guilherme Aguirres
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 1
    Replies
I have a visualforce page:

<apex:page standardController="Quote">
<apex:form >
  <apex:pageBlock title="Teste">
      <apex:pageBlockSection title="Seção" columns="2">
          <apex:inputField value="{!Quote.Name}"/>
          <apex:inputField value="{!Quote.ExpirationDate}"/>
          <apex:inputField value="{!Quote.Status}"/>
          <apex:inputField value="{!Quote.Tipo__c}"/>
      </apex:pageBlockSection>
      <apex:pageBlockButtons >
          <apex:commandButton action="{!save}" value="Salvar"/>
          <apex:commandButton action="{!cancel}" value="Cancelar"/>
          <apex:commandButton action="{!edit}" value="Editar"/>
          <apex:commandButton action="{!delete}" value="Apagar"/>
      </apex:pageBlockButtons>
  </apex:pageBlock>
</apex:form>
</apex:page>

But it is not avaliable to use in a Opportunity button, just in a Quote button, this page will be used to create a quote from the opportunity page in Salesforce1, how do I this?
Hello,
My boss asked me to do a Visualforce page, it needs to have a map, and show the number os sales in each state, information that I have on a report.
It can be a map, a image, anything that shows the states, here in Brazil.
How can I do it?
I have a visualforce page:

<apex:page standardController="Quote">
<apex:form >
  <apex:pageBlock title="Teste">
      <apex:pageBlockSection title="Seção" columns="2">
          <apex:inputField value="{!Quote.Name}"/>
          <apex:inputField value="{!Quote.ExpirationDate}"/>
          <apex:inputField value="{!Quote.Status}"/>
          <apex:inputField value="{!Quote.Tipo__c}"/>
      </apex:pageBlockSection>
      <apex:pageBlockButtons >
          <apex:commandButton action="{!save}" value="Salvar"/>
          <apex:commandButton action="{!cancel}" value="Cancelar"/>
          <apex:commandButton action="{!edit}" value="Editar"/>
          <apex:commandButton action="{!delete}" value="Apagar"/>
      </apex:pageBlockButtons>
  </apex:pageBlock>
</apex:form>
</apex:page>

But it is not avaliable to use in a Opportunity button, just in a Quote button, this page will be used to create a quote from the opportunity page in Salesforce1, how do I this?