- Magulan Duraipandian
- No Comments
Category: Salesforce
profileId for Chatter Answers Member Signup
For profileId, we have to pass the Salesforce id of any profile in ChatterAnswersRegistration visualforce page. Sample Code: <chatteranswers:registration profileId="00e90000000X5DdAAK"/> Following SOQL can be used to get the profile id. ....
How to add Chatter Answers in Visualforce page?
chatteranswers:allfeeds tag is used to add Chatter Answers in Visualforce page. Sample code: <apex:page showHeader="false" > <chatteranswers:allfeeds communityId="09a90000000d1Af"/></apex:page> here communityId is the Zone community id. Output:
Cannot change Referece To error in Salesforce
Cannot change Referece To error in Salesforce occurs when lookup or master detail relationship has been modified. If Account__c was initially created as lookup to Account object and later if ....
How to assign adjust width for columns in apex:panelGrid in Salesforce?
In order to assign adjust width for columns in apex:panelGrid, we have to create different CSS styles for columns and we have to assign it to "columnClasses" attribute. Sample Code: ....
How to move Roles, Profiles, Reports, etc from one organization to another in Salesforce using Eclipse?
1. Right click the Project in Eclipse. 2. Click "Properties". 3. Click "Add/Remove" button. 4. Select the Components. 5. Right click the component you want to move. 6. Select "Deploy ....
AggregateResult in Salesforce
AggregateResult in Salesforce is used to find Sum, Min, Max and Avg. It is similar to Aggregate function in SQL. Using Aggregate Result, we cannot fetch data. It is mainly ....
How to create a notes under a record dynamically in Salesforce?
Sample Code: Member__c e = [SELECT Id, Comments__c FROM Member__c WHERE Id = 'a00U000000352lq']; Note n = new Note(); n.body = e.Comments__c; //Comments__c is TextArea field n.parentId = 'a00U000000352lq'; ....
ApexPages.Severity supported values
Confirm/Success: ApexPages.addMessage(new ApexPages.Message(ApexPages.Severity.Confirm,'Sample Success Message')); Warning: ApexPages.addMessage(new ApexPages.Message(ApexPages.Severity.Warning,'Sample Warning Message')); Informational: ApexPages.addMessage(new ApexPages.Message(ApexPages.Severity.Info,'Sample Informational Message')); Error: ApexPages.addMessage(new ApexPages.Message(ApexPages.Severity.Error,'Sample Error Message'));
You do not have access to any Chatter Answers zones error
We should enable "Available for Chatter Answers" check box to fix this issue. Check the below link to fix this https://infallibletechie.com/2013/07/chatter-answers-in-salesforce.html Cheers!!!