• Lauren B
  • NEWBIE
  • 40 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 18
    Questions
  • 15
    Replies
Hi,
I've to show different CMS pages in the community and meke it searchable. I'm able to add only one in News detail page. Can I add more than one page? Please help.
Hi,
I have a requirement where I have to show date in mm/yyyy and user can enter date only in this format. This is I'm trying in  LWC. Please assist.
public  class TestResultReportController

{

    public List<Test_Contact__c >  avsRequest {get;set;}
    public string strRequestID{get;set;}
    public String USDateTime {get;set;}
   
    //public string searchRef{get;set;}
   public  TestResultReportController(){
       // system.debug('####Printing page reference');
        system.debug(System.currentPageReference().getParameters().get('RequestID'));
        strRequestID=System.currentPageReference().getParameters().get('RequestID');
        avsRequest = [select Test_Request_ID__c,Test_First_Name__c, Test_Last_Name__c,Test_SSN__c from Test_Contact__c where Test_Request_ID__c = :strRequestID];
       
        String myGeneratedFileName = 'TestReportFile '+avsRequest[0].Test_First_Name__c+''+avsRequest[0].Test_Last_Name__c+''+avsRequest[0].Test_SSN__c+'_' +DateTime.now().format('yyyy-MM-dd  HH:mm  a')+'.pdf';
       Apexpages.currentPage().getHeaders().put('content-disposition', 'inline; filename='+myGeneratedFilename); 
        
        getavsRequest();
    }
    
    
   
    
    
    
    
    
    
    public void getavsRequest(){
        
          
        avsRequest= new List<Test_Contact__c>  ();
      
        avsRequest = [select Test_Request_ID__c,Test_RecordType__c,Test_Suffix__c,Test_DOB__c,Test_First_Name__c from Test_Contact__c where Test_Request_ID__c = :strRequestID];//  
        
        System.debug('requestidmma'+avsRequest);
       
    }
    
    
 
    
    
    
   
}

 
I've created few standard pages in salesforce community, but when I'm trying to search the standard pages in global search its not showing any result. Please assist.
Hi,
I have a requirement to show few fields from multiple records who has same SSN in ligtning record edit form. Currently I'm able to show to only one record. eg: There is four records of John Smith with the same SSN but Plan Type( Custom Field) is different in all the records. So I've to fetch and show all the Plan Type of John Smith who has same SSN. Please assit. I'm attaching my code what I've written to show only one
 record. All the  four plan type of John Smith should come here.
User-added image
<lightning-record-edit-form record-id={recordid} object-api-name="Benefits__c"
                class="custom-font" onsuccess={handleSuccessCOB} columns="2"   layout-type="Full" >
                <lightning-messages>
                </lightning-messages>
               <!---- <div class="slds-box">-->
                <div class="slds-grid slds-align_absolute-center" style="font-weight: bold">
                  <template class="slds-col slds-size_1-of-2" for:each={fields_COB1}
                  for:item="section" >

                  <template for:each={section.fields} for:item="fieldFromSection">
      
                      <!--template if:true={COBEdit}-->
                          <lightning-input-field class="text" style="width:70%" key={fieldFromSection}
                              field-name={fieldFromSection} >
                          </lightning-input-field>
                      <!--/template-->
      
                      <!--template if:false={COBEdit}-->
      
                          <!--<lightning-output-field alignment-bump="left" class=" left-align" style="text-align: left;"
                              key={fieldFromSection} field-name={fieldFromSection} >
                          </lightning-output-field>-->

                         
                      <!--/template-->
                  </template>
              </template>

              
              </div>
              

          
            <div class="slds-align_absolute-center">
               
                    <lightning-button type="submit" variant="brand" label="Save"  
                        style="font-size: 14px;" title="Save" class="slds-m-left_x-small">
                    </lightning-button>&nbsp;&nbsp;

 </lightning-record-edit-form>



JS-


fields_COB1 = 
    [
      {
        label: "COB",
        fields: [
            "COB_Plan_Type__c",
            "COB_sub_plan_type__c",
         
        ]
      }
    ];

 
Hi,
I have the  following code to show the record in lightning record form and I want to change the label of the field. Plese assist.
HTML-

<lightning-record-edit-form record-id={mmaid} object-api-name="NJ_MMA2__c"
       class="custom-font" onsuccess={handleSuccessCOB} columns="2"   layout-type="Full" >
       <lightning-messages>
       </lightning-messages>
       <div class="slds-box" style="padding-Bottom: 20px;">
       <div class="slds-grid slds-align_absolute-center" style="font-weight: bold">
         <template class="slds-col slds-size_1-of-2" for:each={fields_MMA}
         for:item="section" >


  <template for:each={section.fields} for:item="fieldFromSection" >

           

             <template if:false={COBEdit}>

           
           

              <lightning-output-field alignment-bump="left" class=" left-align" style="text-align: left;"
              key={fieldFromSection} field-name={fieldFromSection} >
          </lightning-output-field>
               
             </template>

             <template if:false={COBEdit}>
             

              <lightning-output-field alignment-bump="left" class=" left-align" style="text-align: left;"
              key={fieldFromSection}    field-name={fieldFromSection}  >
              </lightning-output-field>
          </template>
     </template>
     </template>
         
     </div>
  </div>
     </lightning-record-edit-form>



JS-


    fields_MMA = 
    [
      {
        label: "MMA",
        fields: [
            
            "	MMA_First_Name__c",
            
            "MMA_Last_Name__c"
        ]
      }
    ];


 
Hi,
I have written following apex class and test class. I'm getting an error saying "List has no rows for assignment to SObject" and my test class is getting failed though my code coverage is 91%. I'd appreciate any assistance.



public  class MMAResultReportController

{
    public List<DOAS_AVS_RESPONSE_LEVEL_1__c> avsresults {get;set;}
    public Test_MMA2__c avsRequest {get;set;}
    public string strRequestID{get;set;}
    
    //public string searchRef{get;set;}
    public  MMAResultReportController(){
        system.debug('####Printing page reference');
        system.debug(System.currentPageReference().getParameters().get('RequestID'));
        strRequestID=System.currentPageReference().getParameters().get('RequestID');
        
        getavsRequest();
    }
    public void getavsRequest(){
        avsRequest= new Test_MMA2__c();
        //system.debug ('####strRequestID is: '+strRequestID);
        //system.debug('####Variable is: ' + strRequestID);
        avsRequest = [select MMA_Request_ID__c,MMA_RecordType__c,MMA_Suffix__c,MMA_DOB__c,MMA_Middle_Name__c,MMA_Flag__c,MMA_Sex__c,MMA_SSN__c,MMA_First_Name__c, MMA_Last_Name__c, MMA_Family_ID__c, MMAReportDate__c,MMA_BENE_SSN1__c,
from Test_MMA2__c where MMA_Request_ID__c =:strRequestID];//                                                                 
    }
    
           
    
}


Test Class-

@isTest(SeeAllData=true)
public class MMAResultReportController_Test {
    @istest static void test(){

        Test_MMA2__c tes= new Test_MMA2__c ();
        tes.name='Sample';
        tes.MMA_First_Name__c='John';
        tes.MMA_Last_Name__c='Smith';
        tes.MMAReportDate__c=date.today();
        tes.MMA_Middle_Name__c='De';
       
        insert tes;
        test.startTest();
     
       MMAResultReportController ce= new MMAResultReportController();
      
        ce.getavsRequest();
        test.stopTest();
    }

 
Hi,

I'd like to have the title attribute of pageblock tag based on a condition, that is something like this (not working so):
<apex:pageBlock title= "{(!IF (!ca.GROUP_ENROLL_STARTD__c = 99999999 && ca.GROUP_ENROLL_ENDD__c !=  99999999 )  'Test Types',  '')}"
So I would have the title of this pageblock to be Test Types  depending on the value of the both fields (If one field is equal to that value and another is not. Both fields are date field.
How could I do?
 
Hi,
I am not able to give the space between the rows and its looking like the below picture. Please help.
<style>
                    .colStyle1 { width:25%; height:25pX;text-align:right; padding-left:20px; padding-top:10px; padding-bottom:80px}
                    .colStyle2 { width:8%; height:25pX;text-align:left; padding-left:35px; padding-top:10px; padding-bottom:10px}
                    .colStyle3 { width:25%; height:25pX;text-align:right; padding-left:20px; padding-top:10px; padding-bottom:30px}
                    .colStyle4 { width:9%; height:25pX;text-align:left; padding-left:35px; padding-top:10px; padding-bottom:10px} 
                    .colStyle5 { width:25%; height:25pX;text-align:right; padding-left:20px; padding-top:10px; padding-bottom:10px}
                    .colStyle6 { width:8%; height:25pX;text-align:left; padding-left:35px; padding-top:10px; padding-bottom:10px}
                </style>





<apex:panelGrid columns="6" cellpadding="10" border="0" styleClass="tableStyle" width="100%" columnClasses="colStyle1,colStyle2,colStyle3,colStyle4,colStyle5,colStyle6," >
                            
                            <apex:outputLabel style="width:100%;padding-left:10px;font-weight:bold;font-size:91%;font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';color: #4a4a56;"> Package End Date</apex:outputLabel>               
                            <apex:outputfield  value="{!mma.MMA_BENE_GROUP_HEALTHINS_ENROLL_STARTD__c}"></apex:outputfield>
                            <apex:outputLabel style=" height:25pX;font-weight:bold;font-size:91%;font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';color: #4a4a56;"> Enrollment Start Date</apex:outputLabel> 
                            <apex:outputfield value="{!mma.MMA_BENE_GROUP_HEALTHINS_ENROLL_ENDD__c}"></apex:outputfield>
                            <apex:outputLabel style="font-weight:bold;font-size:91%;font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';color: #4a4a56;"> Enrollment End Date</apex:outputLabel>
                            <apex:outputfield  value="{!mma.MMA_BENE_GRP_HEALTHINS_ENR_CONTRACT_NO__c}"></apex:outputfield>
                            <apex:outputLabel style="font-weight:bold;font-size:91%;font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';color: #4a4a56;"> Organization Contract Number</apex:outputLabel> 
                            <apex:outputfield value="{!mma.MMA_BENE_GRP_HEALTHINS_ENR_CONTRACT_NO2__c}"></apex:outputfield>
                            <apex:outputLabel style="font-weight:bold;font-size:91%;font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';color: #4a4a56;"> Organization Contract Number 2</apex:outputLabel> 
                            <apex:outputfield value="{!mma.MMA_BENE_GRP_HEALTHINS_ENR_CONTRACT_NO3__c}"></apex:outputfield>
                            <apex:outputLabel style="font-weight:bold;font-size:91%;font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';color: #4a4a56;"> Organization Contract Number 3 </apex:outputLabel>
                            <apex:outputfield value="{!mma.MMA_PBP_GROUP_HEALTH_EFFECTIVE_DATE__c}"></apex:outputfield>
                            <apex:outputLabel style="font-weight:bold;font-size:91%;font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';color: #4a4a56;"> Effective Date</apex:outputLabel> 
                            <apex:outputfield value="{!mma.MMA_PBP_START_DATE__c}"></apex:outputfield>
                            <apex:outputLabel style="font-weight:bold;font-size:91%;font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';color: #4a4a56;"> Package Start Date </apex:outputLabel> 
                            <apex:outputfield value="{!mma.MMA_PBP_END_DATE__c}"></apex:outputfield>  
                            <apex:outputLabel style="font-weight:bold;font-size:91%;font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';color: #4a4a56;">Plan Benefits Package End Date </apex:outputLabel> 
                            <apex:outputfield value="{!mma.MMA_PBP_NUMBER__c}"></apex:outputfield> 
                                                        <apex:outputLabel style="font-weight:bold;font-size:91%;font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';color: #4a4a56;">Plan Benefits Package Number </apex:outputLabel>






User-added image
Hi alI,
I need to write test class for below apex class and I'm only getting 33% code coverage. I'm not able to cover the page reference in my test class.Please help.
public class TestControllerExtension{
        
         public Test2__c cca {get;set;}
        
        public TestControlleExtension() {
           cca =new Test2__c ();
         
        cca= [select Test2_Request_ID__c,Test2_RecordType__c,Test2_Suffix__c,Test2_DOB__c,Test2_Middle_Name__c,Test2_Flag__c,Test2_Sex__c,Test2_SSN__c,Test2_First_Name__c, Test2_Last_Name__c, Test2_Family_ID__c, Test2ReportDate__c,Test2_BENE_SSN1__c,
                from Test2__c Where Id = :ApexPages.currentPage().getParameters().get('RequestID')];                
        }
        
        public Test2__c  getcca() 
        {
            return cca;
            
        }
        public PageReference NextPage(){
       PageReference p = new PageReference('/apex/TestPageButtonNextPage?RequestID');
              p.setRedirect(false);
              return p;
            }
        
         public PageReference PreviousPage(){
         PageReference p1 = new PageReference('/apex/TestPageViewButton?RequestID');
          p1.setRedirect(false);
             return p1;
           }
        }

 
I am working on a Salesforce Community . I wanted to have my custom favicon to the entire community. I have configured Edit Head Markup in the community builder with this:
<link rel="icon" href="/sfsites/c/file-asset/logo_3v7a_final_favicon?v=1" type="image/png"/>


Strangely, this config is not working on the login page (only working on the  home page) If i am giving community url with path but without path favicon is showing on home page as well as on the login page.
Please let me know how can I make this favicon icon working on Login page with path ( Community with path).

Thanks.
 
Hi All,

I am working on a Salesforce Community . I wanted to have my custom favicon to the entire community. I have configured Edit Head Markup in the community builder with this:
<link rel="icon"  href="/sfsites/c/file-asset/logo_3v7a_final_favicon?v=1" type="image/png"/>

This is working fine, if and only if I logged into our community(Home Page). Strangely, this config is not working on login page. Am I missing anything in the tag?
Please let me know how can I make this favicon icon working on Login page with or without Logging-in.

Thanks.
 
Hi All,

I have a requirement, When user submits the application, he gets a confirmation email to verify their email. Until he verifies the email, status at the backend would be Not confirmed but once he verifies the email status will be confirmed.  So my requirement is, if he is not verifying the  email so can i send reminder emails at the specific intervals and till the status is confirmed. I am able to send at specific intervals but not getting any logic for till the status is confirmed.
Hi,
 
I have a requirement to show the file object as a related list to the community users.  Can we hide the owner field in the list view?User-added image
I'm trying to set a custom domain to a force.com site but I keep getting the error shown below. Do i need to change ant settings?
 
The domain in question has provisioned correctly according to the domain settings. While creating custom url for community, I didn't get any error but while creating custom url for site I am getting this error.User-added image

I have build a form in lightning aura component. My requirement is how to validate onclick custom message to check email duplicacy on the submit button. In my code message for email duplicacy is showing but upon clicking the submit button it is getting submitted without changing the email.
HTML-

<lightning:input  class="inputfields"    aura:id="email" label="Email" type="Email" name="email" value="{!v.newContact.Email}" required="true" messageWhenValueMissing="Please enter your Email"  pattern="^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$"  messageWhenPatternMismatch="Please Enter a valid Email Address" onchange="{!c.handleOnChangeEmail}"/>

JS-

handleOnChangeEmail:function(component, event, helper) {
    var action=component.get("c.getEmails");
    action.setParams({
        "emailstring":component.get("v.newContact.Email")
    });     
    action.setCallback(this, function(response) {
        var state= response.getState();
        if(state==='SUCCESS'){
            var email = component.find("email");
            if (response.getReturnValue() === "Email already exists") {
                email.setCustomValidity("Email already exists");
            } else {
                email.setCustomValidity(""); // if there was a custom error before, reset it
                 
            }
            email.reportValidity(); // Tells lightning:input to show the error right away without needing interaction
        }});
    $A.enqueueAction(action);            
},


Submit Button-

SubmitPage:function(component, event, helper) { 
    

var firstname = component.get('v.newContact.FirstName');
    var regex=/^[a-zA-Z ]+$/;
    var validFirstName = regex.test(firstname);
    
    var lastname = component.get('v.newContact.LastName');
    var regex=/^[a-zA-Z -]+$/;
    var validLastName = regex.test(lastname);
    
    var phones = component.get('v.newContact.Phone');
    var regex=/^[-0-9() ]+$/;
    var validPhone = regex.test(phones);
    
    var email = component.get('v.newContact.Email');
    var regex=/^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$/;
    var validEmail = regex.test(email);

 

In the below code i have put alert message to show duplicate emails. But my requirement is to put error message below the field instead of alert message.I have used lightning aura component.
Apex-
@AuraEnabled
   global static String getEmails(String emailstring){
        Integer len=emailstring.length();
        List<contact> con;
        if(len>0 && emailstring!=''){
            con=[select id,Email from contact where email=:emailstring]; 
        }
        system.debug('Emails checll-------'+con);
        String msg='Email already exists';
        string msg1='';
        if (con.size()>0){
            return msg;
        }  
        else return msg1;
       
    }

HTML-

<lightning:input  class="inputfields"    aura:id="email" label="Email" type="Email" name="email" value="{!v.newContact.Email}" required="true" messageWhenValueMissing="Please enter your Email"  pattern="^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$"  messageWhenPatternMismatch="Please Enter a valid Email Address" onchange="{!c.handleOnChangeEmail}"/>


JS-

handleOnChangeEmail:function(component, event, helper) {
        console.log('Email---');
        var action=component.get("c.getEmails");
        action.setParams({
            "emailstring":component.get("v.newContact.Email")
        });     
        action.setCallback(this, function(response) {
            var state= response.getState();
            if(state==='SUCCESS'&& response.getReturnValue()!=''){
                console.log('responseEmail---');
                alert(response.getReturnValue());
               
                component.set("v.newContact.Email",'');
            }});
        $A.enqueueAction(action);            
    },

 
I cannot figure out how to change the size of the logo. It is tiny on my page and I need to make it bigger. Is there a specific CSS command to edit size of the logo?
public  class TestResultReportController

{

    public List<Test_Contact__c >  avsRequest {get;set;}
    public string strRequestID{get;set;}
    public String USDateTime {get;set;}
   
    //public string searchRef{get;set;}
   public  TestResultReportController(){
       // system.debug('####Printing page reference');
        system.debug(System.currentPageReference().getParameters().get('RequestID'));
        strRequestID=System.currentPageReference().getParameters().get('RequestID');
        avsRequest = [select Test_Request_ID__c,Test_First_Name__c, Test_Last_Name__c,Test_SSN__c from Test_Contact__c where Test_Request_ID__c = :strRequestID];
       
        String myGeneratedFileName = 'TestReportFile '+avsRequest[0].Test_First_Name__c+''+avsRequest[0].Test_Last_Name__c+''+avsRequest[0].Test_SSN__c+'_' +DateTime.now().format('yyyy-MM-dd  HH:mm  a')+'.pdf';
       Apexpages.currentPage().getHeaders().put('content-disposition', 'inline; filename='+myGeneratedFilename); 
        
        getavsRequest();
    }
    
    
   
    
    
    
    
    
    
    public void getavsRequest(){
        
          
        avsRequest= new List<Test_Contact__c>  ();
      
        avsRequest = [select Test_Request_ID__c,Test_RecordType__c,Test_Suffix__c,Test_DOB__c,Test_First_Name__c from Test_Contact__c where Test_Request_ID__c = :strRequestID];//  
        
        System.debug('requestidmma'+avsRequest);
       
    }
    
    
 
    
    
    
   
}

 
Hi,
I have written following apex class and test class. I'm getting an error saying "List has no rows for assignment to SObject" and my test class is getting failed though my code coverage is 91%. I'd appreciate any assistance.



public  class MMAResultReportController

{
    public List<DOAS_AVS_RESPONSE_LEVEL_1__c> avsresults {get;set;}
    public Test_MMA2__c avsRequest {get;set;}
    public string strRequestID{get;set;}
    
    //public string searchRef{get;set;}
    public  MMAResultReportController(){
        system.debug('####Printing page reference');
        system.debug(System.currentPageReference().getParameters().get('RequestID'));
        strRequestID=System.currentPageReference().getParameters().get('RequestID');
        
        getavsRequest();
    }
    public void getavsRequest(){
        avsRequest= new Test_MMA2__c();
        //system.debug ('####strRequestID is: '+strRequestID);
        //system.debug('####Variable is: ' + strRequestID);
        avsRequest = [select MMA_Request_ID__c,MMA_RecordType__c,MMA_Suffix__c,MMA_DOB__c,MMA_Middle_Name__c,MMA_Flag__c,MMA_Sex__c,MMA_SSN__c,MMA_First_Name__c, MMA_Last_Name__c, MMA_Family_ID__c, MMAReportDate__c,MMA_BENE_SSN1__c,
from Test_MMA2__c where MMA_Request_ID__c =:strRequestID];//                                                                 
    }
    
           
    
}


Test Class-

@isTest(SeeAllData=true)
public class MMAResultReportController_Test {
    @istest static void test(){

        Test_MMA2__c tes= new Test_MMA2__c ();
        tes.name='Sample';
        tes.MMA_First_Name__c='John';
        tes.MMA_Last_Name__c='Smith';
        tes.MMAReportDate__c=date.today();
        tes.MMA_Middle_Name__c='De';
       
        insert tes;
        test.startTest();
     
       MMAResultReportController ce= new MMAResultReportController();
      
        ce.getavsRequest();
        test.stopTest();
    }

 
Hi,

I'd like to have the title attribute of pageblock tag based on a condition, that is something like this (not working so):
<apex:pageBlock title= "{(!IF (!ca.GROUP_ENROLL_STARTD__c = 99999999 && ca.GROUP_ENROLL_ENDD__c !=  99999999 )  'Test Types',  '')}"
So I would have the title of this pageblock to be Test Types  depending on the value of the both fields (If one field is equal to that value and another is not. Both fields are date field.
How could I do?
 
Hi alI,
I need to write test class for below apex class and I'm only getting 33% code coverage. I'm not able to cover the page reference in my test class.Please help.
public class TestControllerExtension{
        
         public Test2__c cca {get;set;}
        
        public TestControlleExtension() {
           cca =new Test2__c ();
         
        cca= [select Test2_Request_ID__c,Test2_RecordType__c,Test2_Suffix__c,Test2_DOB__c,Test2_Middle_Name__c,Test2_Flag__c,Test2_Sex__c,Test2_SSN__c,Test2_First_Name__c, Test2_Last_Name__c, Test2_Family_ID__c, Test2ReportDate__c,Test2_BENE_SSN1__c,
                from Test2__c Where Id = :ApexPages.currentPage().getParameters().get('RequestID')];                
        }
        
        public Test2__c  getcca() 
        {
            return cca;
            
        }
        public PageReference NextPage(){
       PageReference p = new PageReference('/apex/TestPageButtonNextPage?RequestID');
              p.setRedirect(false);
              return p;
            }
        
         public PageReference PreviousPage(){
         PageReference p1 = new PageReference('/apex/TestPageViewButton?RequestID');
          p1.setRedirect(false);
             return p1;
           }
        }

 
Hi All,

I am working on a Salesforce Community . I wanted to have my custom favicon to the entire community. I have configured Edit Head Markup in the community builder with this:
<link rel="icon"  href="/sfsites/c/file-asset/logo_3v7a_final_favicon?v=1" type="image/png"/>

This is working fine, if and only if I logged into our community(Home Page). Strangely, this config is not working on login page. Am I missing anything in the tag?
Please let me know how can I make this favicon icon working on Login page with or without Logging-in.

Thanks.
 
Hi All,

I have a requirement, When user submits the application, he gets a confirmation email to verify their email. Until he verifies the email, status at the backend would be Not confirmed but once he verifies the email status will be confirmed.  So my requirement is, if he is not verifying the  email so can i send reminder emails at the specific intervals and till the status is confirmed. I am able to send at specific intervals but not getting any logic for till the status is confirmed.
Hi,
 
I have a requirement to show the file object as a related list to the community users.  Can we hide the owner field in the list view?User-added image
I'm trying to set a custom domain to a force.com site but I keep getting the error shown below. Do i need to change ant settings?
 
The domain in question has provisioned correctly according to the domain settings. While creating custom url for community, I didn't get any error but while creating custom url for site I am getting this error.User-added image
I cannot figure out how to change the size of the logo. It is tiny on my page and I need to make it bigger. Is there a specific CSS command to edit size of the logo?