You need to sign in to do that
Don't have an account?
TiborM
Case Internal Comment field
Hi,
i need to add choice for user to insert data to "Internal Comment" field on CASE object.
But when I do this (below) i always get error Error: Invalid field Comments for SObject Case
Internal comment (comments) field is standard field for Case.
<apex:page standardController="Case" recordSetVar="cases" tabStyle="Case"> <apex:form > <apex:pageBlock title="Mass Close Cases" mode="edit"> <apex:pageBlockButtons location="top"> <apex:commandButton value="Save" action="{!save}"/> <apex:commandButton value="Cancel" action="{!cancel}"/> </apex:pageBlockButtons> <apex:pageBlockSection > <apex:inputField value="{!Case.Comments}" /> </apex:pageBlockSection> </apex:pageBlock> </apex:form> You have selected cases with IDs: {!selected}. </apex:page>
I have button in list view which allow multi-choice selection of items and opening this page. When I click on this button I want to see just this Internal comment field just once and SAVE / Cancel buttons.
hmm. I don't see that field in the public API unfortunately. Looks like it's special.
To simulate the behavior you're going to need a controller extension and you'll have to manage the creation of casecomment records manually.
Yes, you're right that it is not in standard API, but when you look into SETUP -> CUSTOMIZE -> CASES -> Fields you can see it in standard fields section
and for comparison I want make same functionality as standard Case Mass Close button. If you click on standard CLOSE CASE button in list view you can type your internal comment on this page.
any news?