Skip to main content
Post Undeleted by Laura Babb
Post Deleted by Laura Babb
Removing excess indentation in VF fragment
Source Link
Derek F
  • 64.1k
  • 15
  • 55
  • 104

Invalid type: Territory Error occurred loading controller 'LogACallVF' for page logacall

Users are getting this error when hitting the button that enables this VF page all of a sudden, it started a few weeks ago. I am not super apex savvy, but I have some working ability. Client says they do not use Territory and to just remove that dependency. I commented out all areas of Territory and am still receiving the invalid type error in dev console log. The log points to Line 355 for the error, but Territory isn't even on that line, here is the syntax:

<apex:column width="10%">
                            <apex:actionSupport action="{!setPlaceID}" event="onclick" reRender="CallDetails,CallDetailsSection,CallItemSection" status="statusProcessing"> 
                            <div style="text-align: center; width: 50px;">
                                <input type="radio" name="SelectedAddress" value="{!a1.typ}" {!a1.isSelect}/> 
                            </div>
                            </apex:actionSupport>
                        </apex:column>

Invalid type: Territory Error occurred loading controller 'LogACallVF' for page logacall

Users are getting this error when hitting the button that enables this VF page all of a sudden, it started a few weeks ago. I am not super apex savvy, but I have some working ability. Client says they do not use Territory and to just remove that dependency. I commented out all areas of Territory and am still receiving the invalid type error in dev console log. The log points to Line 355 for the error, but Territory isn't even on that line, here is the syntax:

<apex:column width="10%">
                            <apex:actionSupport action="{!setPlaceID}" event="onclick" reRender="CallDetails,CallDetailsSection,CallItemSection" status="statusProcessing"> 
                            <div style="text-align: center; width: 50px;">
                                <input type="radio" name="SelectedAddress" value="{!a1.typ}" {!a1.isSelect}/> 
                            </div>
                            </apex:actionSupport>
                        </apex:column>

Invalid type: Territory Error occurred loading controller 'LogACallVF' for page logacall

Users are getting this error when hitting the button that enables this VF page all of a sudden, it started a few weeks ago. I am not super apex savvy, but I have some working ability. Client says they do not use Territory and to just remove that dependency. I commented out all areas of Territory and am still receiving the invalid type error in dev console log. The log points to Line 355 for the error, but Territory isn't even on that line, here is the syntax:

<apex:column width="10%">
    <apex:actionSupport action="{!setPlaceID}" event="onclick" reRender="CallDetails,CallDetailsSection,CallItemSection" status="statusProcessing"> 
        <div style="text-align: center; width: 50px;">
            <input type="radio" name="SelectedAddress" value="{!a1.typ}" {!a1.isSelect}/> 
        </div>
    </apex:actionSupport>
</apex:column>
Source Link

Apex/VF error - Need apex guidance

Invalid type: Territory Error occurred loading controller 'LogACallVF' for page logacall

Users are getting this error when hitting the button that enables this VF page all of a sudden, it started a few weeks ago. I am not super apex savvy, but I have some working ability. Client says they do not use Territory and to just remove that dependency. I commented out all areas of Territory and am still receiving the invalid type error in dev console log. The log points to Line 355 for the error, but Territory isn't even on that line, here is the syntax:

<apex:column width="10%">
                            <apex:actionSupport action="{!setPlaceID}" event="onclick" reRender="CallDetails,CallDetailsSection,CallItemSection" status="statusProcessing"> 
                            <div style="text-align: center; width: 50px;">
                                <input type="radio" name="SelectedAddress" value="{!a1.typ}" {!a1.isSelect}/> 
                            </div>
                            </apex:actionSupport>
                        </apex:column>