function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ezhil_kezhil_k 

Issuse while deploying visualforce dynamic component through change set


Hi ,

Am getting the following error when deploing from sandox to production through changeset.
Please help me in resolving this.

Error:

Case controller :Invalid type: Component.Support.CaseFeed

caseview page :Unknown property 'CaseStandardController.casePage'

<apex:page standardController="Case" extensions="casecontroller" showHeader="true" sidebar="false"
    action="{!redirect}">  
    <apex:dynamicComponent componentValue="{!casePage}" rendered="{!isCaseFeedEnabled}"/>
 <apex:outputpanel rendered=" " >
</apex:page>

public with sharing class casecontroller {

//
//

   
public Component.Apex.OutputPanel getCasePage(){
        Component.Apex.OutputPanel panel = new Component.Apex.OutputPanel();
        Component.Support.CaseFeed caseFeed = new Component.Support.CaseFeed();
        caseFeed.caseId = c.Id;
        panel.childComponents.add(caseFeed);
        return panel;

}


}

Swati GSwati G
Hi,

Can you please check whether case feed in enable in your production org?

Please follow link to enable it: https://help.salesforce.com/HTViewHelpDoc?id=case_interaction_enabling.htm&language=en_US

ezhil_kezhil_k
Hi Swati,

Thanks.I missed it