You need to sign in to do that
Don't have an account?
Pablo Gonzalez Alvarez 3
Advanced Apex Specialist Superbadge - Step 6
Hi all,
I have completed Step 6 of this super badge and I've confirmed that the functionality works just fine, but I'm getting the following error
Ensure that you modify the COLLABORATION_GROUP query to use the INVENTORY_ANNOUNCEMENTS constant.
In my code, I'm already using this constant to query the chatter group id when building the announcement, in Product2Helper
I've also tried
I have completed Step 6 of this super badge and I've confirmed that the functionality works just fine, but I'm getting the following error
Ensure that you modify the COLLABORATION_GROUP query to use the INVENTORY_ANNOUNCEMENTS constant.
In my code, I'm already using this constant to query the chatter group id when building the announcement, in Product2Helper
List<CollaborationGroup> chatterGroups = [SELECT Id FROM CollaborationGroup WHERE Name = :Constants.INVENTORY_ANNOUNCEMENTS LIMIT 1]; announcement.parentId = chatterGroups[0].Id;
I've also tried
announcement.parentId = [SELECT Id FROM CollaborationGroup WHERE Name = :constants.INVENTORY_ANNOUNCEMENTS][0].Id;Has anyone faced this error? How did you build the query?
All Answers
Any help..?