• Bijay Kumar 12
  • NEWBIE
  • -8 Points
  • Member since 2021

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 4
    Replies
Hi All, I want to know if any one has done seo for salesforce classic community. How to generate the site map.I have read the help article but getting no where to statrt. Can anyone help please.
Just failed my Admin 201 test. I'm so angry and frustrated. I took a ton of practice tests and did well on them. The actual test was nothing like the practice test. The actual test was ridiculously vague.  Anyway, does anyone know where I can find practice tests that are actually up-to-date? Any suggestions on how to study that doesn't cost a billion dollars? I'm just super frustrated and angry right now. Thanks for the help. 
can anyone please help me get the save button to work? Both cancel and Save and new button work but not the save button.

Here is my visual force page
<apex:page standardController="GCHFH_Rental_Partnership_Program__c" extensions="saveAndnew">
<apex:form >


<apex:sectionHeader title="GCHFH Rental/Parnetship Programs Edit" subtitle="New GCHFH Rental/Parnetship Program" />
<apex:pageBlock title="GCHFH Rental/Parnetship Programs Edit">
<apex:pageBlockSection title="General Information">

<apex:inputField value="{!GCHFH_Rental_Partnership_Program__c.Date__c}"/>
<apex:inputField value="{!GCHFH_Rental_Partnership_Program__c.Tenant_Vendor__c}"/>
<apex:inputField value="{!GCHFH_Rental_Partnership_Program__c.Agreement_End_Date__c}"/>
     </apex:pageBlockSection>
     
     
<apex:pageBlockSection >
<apex:pageBlockSectionItem >
 <apex:outputLabel value="Category"/>

 <apex:actionRegion >
                          <apex:inputField value="{!GCHFH_Rental_Partnership_Program__c.Category__c}">
                          
                          <apex:actionSupport event="onchange" reRender="ajaxrequest,ajaxrequest1" />
                          </apex:inputField>
                         </apex:actionRegion>
                          </apex:pageBlockSectionItem>
                          </apex:pageBlockSection>
                     
                         
                         <apex:outputPanel id="ajaxrequest">   
                  <apex:pageBlockSection rendered="{!GCHFH_Rental_Partnership_Program__c.Category__c=='GCHFH Building Space' || GCHFH_Rental_Partnership_Program__c.Category__c=='Habitat Home'}" >
                    <apex:pageBlockSection title="Rental program">
<apex:inputField value="{!GCHFH_Rental_Partnership_Program__c.Account__c}"/>
<apex:inputField value="{!GCHFH_Rental_Partnership_Program__c.Rent__c}"/>
<apex:inputField value="{!GCHFH_Rental_Partnership_Program__c.Rent_due_date__c}"/>
<apex:inputField value="{!GCHFH_Rental_Partnership_Program__c.Rent_Paid__c}"/>
<apex:inputField value="{!GCHFH_Rental_Partnership_Program__c.Street_GCH_Space__c}"/>
<apex:inputField value="{!GCHFH_Rental_Partnership_Program__c.State__c}"/>
<apex:inputField value="{!GCHFH_Rental_Partnership_Program__c.City__c}"/>
<apex:inputField value="{!GCHFH_Rental_Partnership_Program__c.Zip__c}"/>
</apex:pageBlockSection>
               </apex:pageBlockSection>
               
               
              </apex:outputPanel> 
                      
<apex:outputPanel id="ajaxrequest1">   
                  <apex:pageBlockSection rendered="{!GCHFH_Rental_Partnership_Program__c.Category__c=='E-paint program' || GCHFH_Rental_Partnership_Program__c.Category__c=='Urban Wood Program'}" >
                    <apex:pageBlockSection title="Partnership program">
<apex:inputField value="{!GCHFH_Rental_Partnership_Program__c.Donated_Item__c}"/>
<apex:inputField value="{!GCHFH_Rental_Partnership_Program__c.Expected_Value__c}"/>
<apex:inputField value="{!GCHFH_Rental_Partnership_Program__c.share__c}"/>
</apex:pageBlockSection>
               </apex:pageBlockSection>

 </apex:outputPanel> 

<apex:pageBlockButtons >
<apex:commandButton action="{!save}" value="Save"/>



<apex:commandButton action="{!Cancel}" value="Cancel"/>
<apex:commandButton action="{!saveAndNew}" value="Save & New"/>
</apex:pageBlockButtons>


</apex:pageBlock>

</apex:form>

 
</apex:page>

and this is my class for saveandnew. Do i have to write a new class for save or how do i get it to work?
public class saveAndnew {

   public ApexPages.StandardController scMain{get;set;}
      public saveAndnew(ApexPages.StandardController controller) {
       scMain = controller;



    }
public PageReference save() {
return null;
}

public PageReference saveAndNew() {
scMain.save();
PageReference GCHFHRental= new PageReference('/apex/GCHFHRental');
GCHFHRental.setRedirect(true);
return GCHFHRental;
}
}

 

I am working in enterprise edition. As winter 14 changed... i am unable to see the option reset security token . In devoloper edition it is visible. So from Enterprise edition i am unable to find.

  • December 16, 2013
  • Like
  • 2