You need to sign in to do that
Don't have an account?
IsArchived field isn't available on the CollaborationGroup object. Why is this?
I have a list of all Chatter Groups in my org, I want to stop any archived chatter groups from displaying in this list.
So I want to check for the IsArchived field and if true, don't display it.
I'm trying the following query:
List<CollaborationGroup> collaborationGroups = [select Id, Name, IsArchived from CollaborationGroup where Id in :collaborationGroupIds ORDER BY NAME ASC LIMIT 200];
But I'm getting the following error:
No such column IsArchived on entity CollaborationGroup
If I remove `IsArchived` from the query, it runs fine.
According to the SF docs (http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_collaborationgroup.htm), there definitely is an IsArchived field on the CollaborationGroup object.
Can anyone tell me what's going wrong here?
According to the Winter '14 release notes (http://releasenotes.docs.salesforce.com/en-us/winter14/release-notes/rn_186_api_chatter.htm) CollaborationGroup.IsArchived was added in API v29.0.
Changed Objects
These objects are changed in API version 29.0.