• Pecheur
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 1
    Replies
Hello,
I want to include parent and children topics in my Community like this : https://releasenotes.docs.salesforce.com/en-us/winter16/release-notes/rn_networks_subtopics.htm?edition=&impact=

I used ConnectApi.ChatterGroups.createManagedTopicByName(communityId, name, managedTopicType, parentId)
communityId=my CommunityID ('0DBM0000000CajLOAS')
name=name of child topic
managedTopicType = ConnectApi.ManagedTopicType.Featured
parentId = '0TOM00000004SHDOA2'  Id of parent topic

When I run this method I have this error message: ConnectApi.ConnectApiException: Illegal value for parameter: 'parentId': 0TOM00000004SHDOA2

Can you help me?

Best regards
Anis

Hello
1 - How can I disable the notification email of chatter App to users who belong to one or more Division?
2 - It is possible to do this in the administration and/or with Apex?

I can disable notification for all users, but I can not disable the notification email for some user or for user of division.

I have 1000 users to update

Thank you for your help

  • September 26, 2013
  • Like
  • 0
Hello,
I want to include parent and children topics in my Community like this : https://releasenotes.docs.salesforce.com/en-us/winter16/release-notes/rn_networks_subtopics.htm?edition=&impact=

I used ConnectApi.ChatterGroups.createManagedTopicByName(communityId, name, managedTopicType, parentId)
communityId=my CommunityID ('0DBM0000000CajLOAS')
name=name of child topic
managedTopicType = ConnectApi.ManagedTopicType.Featured
parentId = '0TOM00000004SHDOA2'  Id of parent topic

When I run this method I have this error message: ConnectApi.ConnectApiException: Illegal value for parameter: 'parentId': 0TOM00000004SHDOA2

Can you help me?

Best regards
Anis