Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Auto populate text into text box with Yammer embed

Is there a way to auto populate your own text in the textbox that you type in your post/comment? For example a hashtag or such? Using Yammer embed

I used to be able to do so with JavaScript/jQuery but with the recent API update I am no longer able to do so.

like image 390
jlking Avatar asked Nov 10 '22 04:11

jlking


1 Answers

You can set the promptText in the config. This example is from the documentation:

yam.connect.embedFeed({
 container: "#embedded-feed",
 feedType: "open-graph",
 config: {
   promptText: "Comment on this customer"
 }
});
like image 119
Brian Lyttle Avatar answered Nov 14 '22 21:11

Brian Lyttle