• Sharndeepkaur
  • NEWBIE
  • 0 Points
  • Member since 2021

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 3
    Replies
Eg I have  Map1:  Map<Id,List<FeedComment>>
So i am creating Map of FeedItem and its related FeedComments

Now after filling this map i want to access FeedComment field (eg createdbyid) and place this Field Id in Set and use it.How can do that without iterating 'Map1' 2 times in for loop?
Eg I have  Map1:  Map<Id,List<FeedComment>>
So i am creating Map of FeedItem and its related FeedComments

Now after filling this map i want to access FeedComment field (eg createdbyid) and place this Field Id in Set and use it.How can do that without iterating 'Map1' 2 times in for loop?
how to iterate over map of Map<ID,List<String>>in apex

Site.createPortalUser(u, accountId, password) seems not working as the user record is not created. Any body have a working sample? Also can we set chatter free profile for community users? Can we assign any account (new account created in apex class) ?