• ManishaShar12
  • NEWBIE
  • 0 Points
  • Member since 2019
  • ETG

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 1
    Replies
Hi 

We are reciving following exception on our Customer Community Topic Detail page:

Screen shot of error attachedUser-added image
Hi all,

We created a visual force page (screen shot attached) to facilitate community guest user to create a case. But, we are not able to create a case by clicking 'Contact Us' button on this page.

The case creation through this VF page is working fine internally in sandbox but not from Community.


<apex:page standardController="Case" extensions="CaseCreation" >
    <style>
        body  .big_btn{background: rgb(228, 0, 70);border:1px solid rgb(228, 0, 70) !important;transition: all 0.5s;color: #fff;padding: 22px 30px;border: none;font-size: 14px;text-transform: uppercase;letter-spacing: 1px; }
        body  .big_btn:hover{background:#fff;color: rgb(228, 0, 70);border:1px solid #ccc  !important;}
        table.list {
    border-width: 0 !important;
}
tr.dataRow.last td {
    border-bottom-width: 0 !important;
}
        }
.brandQuaternaryBgr {
    background: #FFF !important;
}
    </style>
    <apex:form >

        <apex:pageBlock >
 
             <apex:pageBlockButtons  location="bottom" >
              <apex:commandButton value="Contact Us" styleClass="big_btn" action="{!save}" />
              </apex:pageBlockButtons> 
            <div style="text-align:center;font-size:18px;">
               <apex:outputText value="Can't find what you're looking for" /> 
           </div>
            <div style="text-align:center;font-size:13px;">
               <apex:outputText value="Contact customer support using the form below" /> 
           </div>
           
            
           <apex:pageBlockSection columns="1"  >
               <div >
               <apex:inputField label="E-Mail" value="{!CaseObject.E_Mail__c}" style="font-size:13px; width:100%;line-height:30px;border:none" required="true"/>
 </div>
               <apex:inputField label="First Name" value="{!CaseObject.First_Name__c}" style="font-size:13px; width:100%;line-height:30px;border:none"  required="true"/>
               <apex:inputField label="Last Name" value="{!CaseObject.Last_Name__c}" style="font-size:13px; width:100%;line-height:30px;border:none"  required="true"/>
               <apex:inputField label="Reason For Contacting Us" value="{!CaseObject.Type}" style="font-size:13px; width:100%;line-height:30px;border:none"  required="true"/>
               <apex:inputField label="Symptom" value="{!CaseObject.Symptom__c}" style="font-size:13px; width:100%;line-height:30px;border:none"  required="true"/>
               <apex:inputField label="Brief Description" value="{!CaseObject.Description}" style="font-size:13px; width:100%;line-height:30px;border:none"  required="true" />
               

               
                                                                           
               
            </apex:pageBlockSection>
        </apex:pageBlock>
    </apex:form>
</apex:page>


Please help us.
Hi All

We created a visual force page (screen shot attached) to facilitate community guest user to create a case. But, we are not able to create a case by clicking 'Contact Us' button on this page.

<apex:page standardController="Case" extensions="CaseCreation" >
    <style>
        body  .big_btn{background: rgb(228, 0, 70);border:1px solid rgb(228, 0, 70) !important;transition: all 0.5s;color: #fff;padding: 22px 30px;border: none;font-size: 14px;text-transform: uppercase;letter-spacing: 1px; }
        body  .big_btn:hover{background:#fff;color: rgb(228, 0, 70);border:1px solid #ccc  !important;}
        table.list {
    border-width: 0 !important;
}
tr.dataRow.last td {
    border-bottom-width: 0 !important;
}
        }
.brandQuaternaryBgr {
    background: #FFF !important;
}
    </style>
    <apex:form >

        <apex:pageBlock >
 
             <apex:pageBlockButtons  location="bottom" >
              <apex:commandButton value="Contact Us" styleClass="big_btn" action="{!save}" />
              </apex:pageBlockButtons> 
            <div style="text-align:center;font-size:18px;">
               <apex:outputText value="Can't find what you're looking for" /> 
           </div>
            <div style="text-align:center;font-size:13px;">
               <apex:outputText value="Contact customer support using the form below" /> 
           </div>
           
            
           <apex:pageBlockSection columns="1"  >
               <div >
               <apex:inputField label="E-Mail" value="{!CaseObject.E_Mail__c}" style="font-size:13px; width:100%;line-height:30px;border:none" required="true"/>
 </div>
               <apex:inputField label="First Name" value="{!CaseObject.First_Name__c}" style="font-size:13px; width:100%;line-height:30px;border:none"  required="true"/>
               <apex:inputField label="Last Name" value="{!CaseObject.Last_Name__c}" style="font-size:13px; width:100%;line-height:30px;border:none"  required="true"/>
               <apex:inputField label="Reason For Contacting Us" value="{!CaseObject.Type}" style="font-size:13px; width:100%;line-height:30px;border:none"  required="true"/>
               <apex:inputField label="Symptom" value="{!CaseObject.Symptom__c}" style="font-size:13px; width:100%;line-height:30px;border:none"  required="true"/>
               <apex:inputField label="Brief Description" value="{!CaseObject.Description}" style="font-size:13px; width:100%;line-height:30px;border:none"  required="true" />
               

               
                                                                           
               
            </apex:pageBlockSection>
        </apex:pageBlock>
    </apex:form>
</apex:page>

Please help us..
 
Hi,
I'm using visual force page in community which was not showing for end user although admin can see it the same VF page.

Kindly share your inputs