• GJS Greg
  • NEWBIE
  • 0 Points
  • Member since 2018
  • GJS

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 6
    Replies
Hi all,

Is there any documentation on Javascript support for Channel Menu yet?
All existing chat functions aren't available anymore like pre-populating fields, extra prechat form details, mapping fields to SF chat transcript, offline chat support?
After I installed it with the existing code I noticed JS errors and I guessed that the functions changed from 
embedded_svc.settings.XXXXX

to:

embedded_svc.menu.settings.XXXXX
Which removed the JS errors but the fucntions don't work so it's like they haven't brought across these existing features. 
I can't believe this was released to market without any support and documentation and for functionality to go backwards and make it impossible to use the menu.
Hi all,

Is there any documentation on Javascript support for Channel Menu yet?
All existing chat functions aren't available anymore like pre-populating fields, extra prechat form details, mapping fields to SF chat transcript, offline chat support?
After I installed it with the existing code I noticed JS errors and I guessed that the functions changed from 
embedded_svc.settings.XXXXX

to:

embedded_svc.menu.settings.XXXXX
Which removed the JS errors but the fucntions don't work so it's like they haven't brought across these existing features. 
I can't believe this was released to market without any support and documentation and for functionality to go backwards and make it impossible to use the menu.
Do we have any documentation on Javascript support for Channel Menu.  We are looking for  JavaScript documentation for Web snap ins. 

Hi guys! 

I am in task of adding/assigning topic/s to specific knowledge article and found out this chatter REST API Topic and Article Assignments 
and looks like this is the one I need? 

Okay, so upon testing and following the steps on this documentation, I encountered an error Response error Invalid value for article topic operation type: AssignTopicsToArticle error 400

Here is my actual url 

https://marvingf-dev-ed.my.salesforce.com/services/data/v40.0/connect/communities/0DB7F000000fy3WWAQ/topics/data-category-groups/MarvinGroup/data-categories/Marv Category/articles

https://marvingf-dev-ed.my.salesforce.com/services/data/v40.0/connect/communities/0DB7F000000fy3WWAQ/topics/data-category-groups/MarvinGroup/data-categories/Marv Category/articles


and this is my request body
Header: Content-Type = application/json

{ "operation": "AssignTopicsToArticle", "topicNames": ["API", "Chatter REST API", "ConnectApi"] }

Error Response:

[ { "errorCode": "POST_BODY_PARSE_ERROR", "message": "Invalid value for article topic operation type: AssignTopicsToArticle" } ]

I already set up the following; 

* community website
* created a data categories
* Enabled Topics for object

Maybe I forgot to config something? or Is there an alternative ways to assign a topics for specific article using REST API? thanks!

Regards,
Marvin