• subra_SFDC
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 2
    Likes Received
  • 0
    Likes Given
  • 6
    Questions
  • 1
    Replies
How open link in child browser on iOS and android application? 
Hi,

I have created custom  field that is email in Custom object. I need to display email field in custom object A when i save the button.Code is working fine but email field not saved in Custom object .Why this happening.could you give any suggestion thanks in advance.

My VF code:
<apex:page Controller="kathir">
<apex:form >
    <apex:pageBlock title="Universal Containers">
      
            <apex:outputLabel value="Email Address" for="hh"/>
            <apex:inputText value="{!Email}" id="hh"/>
            <apex:commandButton value="save" action="{!save}"/>
      
</apex:pageBlock>
    </apex:form>
</apex:page>

Controller:
public class kathir{    public PageReference save() {        return null;    }    public String email{ get; set; }    public String getAccount() {        return null;    }    public String account { get; set; }public string Name{get;set;}{}public string Information{get;set;}{}}
Hi Folks , 

Can any one help out .I shall appreciate your help.

What is the use of query locator and iterable in batch apex and when do we use them?


Thanks in ADVANCE.



Getting Error - Customer Metric does not exist.

 

I Want to create a visualforce page "Customer Metric".

I have a customer Metric object with all the field already created on salesforce.

Then i wanted to create a visualforce page for the same to make dynamic page such as shrinking the section.

The code which i created is

 

<apex:page standardController="Customer Metric" sidebar="false">
    <apex:sectionHeader title="Edit Customer Metric" subtitle="{!Customer Metric.name}"/>
    
<apex:form >
        
<apex:pageBlock title=" Customer Metric Edit" id="thePageBlock" mode="edit">
            
     <apex:pageMessages />
            
            <apex:pageBlockButtons >
                
                   <apex:commandButton value="Save" action="{!save}"/>
                
                   <apex:commandButton value="Cancel" action="{!cancel}"/>                
            
            </apex:pageBlockButtons>
            

<apex:actionRegion >

                
  <apex:pageBlockSection title="Basic Information" columns="1">

                     <apex:inputField value="{!Customer_Metric.name}"/>
               
         <apex:pageBlockSectionItem >
                     <apex:outputLabel value="Products"/>
               

                 <apex:outputPanel >

                          <apex:inputField value="{!Customer_Metric.Products}">
                                
                              <apex:actionSupport event="onchange" rerender="thePageBlock" status="status"/>

                          </apex:inputField>

                                  <apex:actionStatus startText="applying value..." id="status"/>
                        
                 </apex:outputPanel>

         </apex:pageBlockSectionItem>

        <apex:inputField value="{!Customer_Metric.Opportunity_Name__c}"/>

        <apex:inputField value="{!Customer_Metric.Solution__c}"/>

        <apex:inputField value="{!Customer_Metric.Win_Loss_Status__c}"/>

        <apex:inputField value="{!Customer_Metric.Purchasing_Sourcing_Systems__c}"/>

        <apex:inputField value="{!Customer_Metric.Geography__c}"/>

        <apex:inputField value="{!Customer_Metric.Foreign_Languages__c}"/>

        <apex:inputField value="{!Customer_Metric.Competitors__c}"/>

        <apex:inputField value="{!Customer_Metric.Business_Challenge__c}"/>

        <apex:inputField value="{!Customer_Metric.Employee_Strength__c}"/>

        <apex:inputField value="{!Customer_Metric.Address__c}"/>

        <apex:inputField value="{!Customer_Metric.Deal_Type__c}"/>

        <apex:inputField value="{!Customer_Metric.Customer_Type__c}"/>

        <apex:inputField value="{!Customer_Metric.Replacement_Deal__c}"/>

        <apex:inputField value="{!Customer_Metric.Project_Team_Lead__c}"/>

        <apex:inputField value="{!Customer_Metric.CSM__c}"/>

        <apex:inputField value="{!Customer_Metric.Program_Manager__c}"/>

        <apex:inputField value="{!Customer_Metric.RSM_Name__c}"/>

        <apex:inputField value="{!Customer_Metric.Date__c}"/>

        <apex:inputField value="{!Customer_Metric.Industry__c}"/>

        <apex:inputField value="{!Customer_Metric.Revenue_Sales__c}"/>

        <apex:inputField value="{!Customer_Metric.Number_Of_Sourcing_Systems__c}"/>

        <apex:inputField value="{!Customer_Metric.Number_Of_Foreign_Languages__c}"/>

        <apex:inputField value="{!Customer_Metric.Financial_Model__c}"/>

        <apex:inputField value="{!Customer_Metric.Comments__c}"/>

        <apex:inputField value="{!Customer_Metric.Zycus_Value_Proposition__c}"/>


                
   </apex:pageBlockSection>

            
</apex:actionRegion>




            <apex:pageBlockSection title="Length Of Relationship" columns="1" >

        <apex:inputField value="{!Customer_Metric.Contract_Start_Date__c}"/>
        <apex:inputField value="{!Customer_Metric.Contract_Term__c}"/>

            </apex:pageBlockSection>


            <apex:pageBlockSection title="Spend Analysis" columns="1" rendered="{!Customer_Metric.Products ==

'AutoClass','ACLC','iAnalyze','iCost','iMine'}">

        <apex:inputField value="{!Customer_Metric.Contracted_Spend_Cap__c}"/>
        <apex:inputField value="{!Customer_Metric.Currency__c}"/>
        <apex:inputField value="{!Customer_Metric.Contracted_Users__c}"/>
        <apex:inputField value="{!Customer_Metric.Implementation__c}"/>
        <apex:inputField value="{!Customer_Metric.Refresh_Frequency__c}"/>
        <apex:inputField value="{!Customer_Metric.MM_Frequency__c}"/>
        <apex:inputField value="{!Customer_Metric.Taxonomy__c}"/>
        <apex:inputField value="{!Customer_Metric.Spend_Volume_in_US_bn__c}"/>
        <apex:inputField value="{!Customer_Metric.Use__c}"/>
        <apex:inputField value="{!Customer_Metric.Objectives_KPIs__c}"/>

            </apex:pageBlockSection>



            <apex:pageBlockSection title="Supplier Management" columns="1" rendered="{!Customer_Metric.Products == 'SIM'}">

        <apex:inputField value="{!Customer_Metric.SIM_User_Licenses__c}"/>
        <apex:inputField value="{!Customer_Metric.SIM_Power__c}"/>
        <apex:inputField value="{!Customer_Metric.SIM_Business__c}"/>
        <apex:inputField value="{!Customer_Metric.SIM_Objectives_KPIs__c}"/>

            </apex:pageBlockSection>




            <apex:pageBlockSection title="Supplier Performance Management" columns="1" rendered="{!Customer_Metric.Products == 'SPM'}">

                <apex:inputField value="{!Customer_Metric.SPM_User_Licenses__c}"/>
        <apex:inputField value="{!Customer_Metric.SPM_Power__c}"/>
        <apex:inputField value="{!Customer_Metric.SPM_Business__c}"/>
        <apex:inputField value="{!Customer_Metric.SPM_Objectives_KPIs__c}"/>

            </apex:pageBlockSection>




            <apex:pageBlockSection title="eSourcing" columns="1" rendered="{!Customer_Metric.Products == 'iSource','iManage'}">

                <apex:inputField value="{!Customer_Metric.Sourcing_Management_User_Licenses__c}"/>
                <apex:inputField value="{!Customer_Metric.Sourcing_Management_Business__c}"/>
        <apex:inputField value="{!Customer_Metric.Sourcing_Management_Template__c}"/>
        <apex:inputField value="{!Customer_Metric.User_Count_Power_Business_Users__c}"/>
        <apex:inputField value="{!Customer_Metric.Categories__c}"/>
        <apex:inputField value="{!Customer_Metric.Supplier_Count__c}"/>
        <apex:inputField value="{!Customer_Metric.Event_Type__c}"/>
        <apex:inputField value="{!Customer_Metric.Sourcing_Management_Objectives_KPIs__c}"/>

            </apex:pageBlockSection>

 
 
            <apex:pageBlockSection title="Contract Management" columns="1" rendered="{!Customer_Metric.Products == 'iContract'}">

                <apex:inputField value="{!Customer_Metric.Contract_Management_User_Licenses__c}"/>
                <apex:inputField value="{!Customer_Metric.Contract_Management_Power__c}"/>
        <apex:inputField value="{!Customer_Metric.Contract_Management_Business__c}"/>
        <apex:inputField value="{!Customer_Metric.Contract_Management_Objectives_KPIs__c}"/>
        <apex:inputField value="{!Customer_Metric.User_Count_Authority_Repository_Users__c}"/>
        <apex:inputField value="{!Customer_Metric.Number_Of_Contracts__c}"/>
        
            </apex:pageBlockSection>







        </apex:pageBlock>

    </apex:form>

</apex:page>

But i am getting a error as "Customer metric does not exist"

 

Any suggestion??

 

Regards,

Samuel