• Gaurav Bhardwaj 70
  • NEWBIE
  • 10 Points
  • Member since 2021

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 2
    Replies
Hi 
I am not able to get the meta data file of the Reason field on the case obejct through case object, while able to get meta data of the otehr fields,  please suggest what to do?
I have checked the alphabetically order and getting the below error.

Conflict Encountered During Save
You attempted to save changes that conflicted with the changes of another user. Please try again.

Click here to return to the previous page.Conflict Encountered During Save
You attempted to save changes that conflicted with the changes of another user. Please try again.

Click here to return to the previous page.

 
My code is here


<apex:component controller="Type_Ahead_Component_Controller" >
     <apex:stylesheet value="{!URLFOR($Resource.AutoComplete,'/jquery-ui.css')}"/>
     <apex:includeScript value="{!URLFOR($Resource.AutoComplete,'/jquery-1.12.4.js')}"/>
     <apex:includeScript value="{!URLFOR($Resource.AutoComplete,'/jquery-ui.js')}"/>

     <apex:attribute name="sObj" type="String" description="sobject name"></apex:attribute>
     <apex:attribute name="fields" type="String" description="SObject field name"></apex:attribute>
     <apex:attribute name="index" type="string" description="SObject name as index" assignTo="{!objectName}" />

     <apex:pageBlock >
          <apex:pageBlockSection collapsible="false" title="{!objectName}">
               <input  id="{!index}objectSearch" value="{!searchTerm}"/>    
          </apex:pageBlockSection>
     </apex:pageBlock>
    
    <apex:outputPanel id="outerPanel"> 
        <apex:outputPanel id="innerPanel">
            <apex:pageBlock title="{!objectName} detail">
                <apex:pageBlockTable value="{!sobjectWrapper}" var="item" id="recordID">
                    <apex:outputField value="{item.name}" />
                </apex:pageBlockTable>
                <apex:pageBlockButtons location="Top">
                    <apex:commandButton value="Save" />
                </apex:pageBlockButtons>
            </apex:pageBlock>
        </apex:outputPanel>
    </apex:outputPanel>
     <!--apex:pageBlock title="{!objectName} detail" rendered="true" id="recordID">
         <apex:pageBlockTable value="{!sobjectWrapper}" var="item">
             <apex:outputField value="{item.name}" />
         </apex:pageBlockTable>
         <apex:pageBlockButtons location="Top">
             <apex:commandButton value="Save" />
         </apex:pageBlockButtons>
     </apex:pageBlock-->

     <apex:actionFunction name="showObjectInfo" action="{!showObjectDetail}"     reRender="outerPanel,innerPanel,recordID">  
          <apex:param assignTo="{!selectedObjectID}" name="selectedObjectID" value=""/> 
          <apex:param assignTo="{!tempFields}"  name="field" value="" />
          <apex:param assignTo="{!objectName}" name="objectName" value="" />
     </apex:actionFunction>
</apex:component>

Please provide me any solution
Thank you in advance
  • August 12, 2021
  • Like
  • 0
I have checked the alphabetically order and getting the below error.

Conflict Encountered During Save
You attempted to save changes that conflicted with the changes of another user. Please try again.

Click here to return to the previous page.Conflict Encountered During Save
You attempted to save changes that conflicted with the changes of another user. Please try again.

Click here to return to the previous page.