• ptorricdevel
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies

Hi all, i'm working on a Manual Request pushbutton that send a chatter post to some other user for alerting.

 

I succesfully create the code, something like this:

 


var msg='bla bla bla bla';

var cm=new sforce.SObject("FeedItem"); 
cm.ParentId='{!Opportunity.Id}'; 
cm.Body=msg; 


How can i introduce the mention for user that i need to alert?

Can i put it in msg string directly, like...

var msg='@user bla bla bla';

have to enclose in brakets?

 

thank you all

Hi all, i'm working on a Manual Request pushbutton that send a chatter post to some other user for alerting.

 

I succesfully create the code, something like this:

 


var msg='bla bla bla bla';

var cm=new sforce.SObject("FeedItem"); 
cm.ParentId='{!Opportunity.Id}'; 
cm.Body=msg; 


How can i introduce the mention for user that i need to alert?

Can i put it in msg string directly, like...

var msg='@user bla bla bla';

have to enclose in brakets?

 

thank you all

Hi all, i'm working on a Manual Request pushbutton that send a chatter post to some other user for alerting.

 

I succesfully create the code, something like this:

 


var msg='bla bla bla bla';

var cm=new sforce.SObject("FeedItem"); 
cm.ParentId='{!Opportunity.Id}'; 
cm.Body=msg; 


How can i introduce the mention for user that i need to alert?

Can i put it in msg string directly, like...

var msg='@user bla bla bla';

have to enclose in brakets?

 

thank you all

Build Social Apps with Chatter – Tips and TricksFeb 24th @ 7am and 10 am PST: [REGISTER HERE]

Salesforce Chatter provides a rich suite of collaboration features to any application built on the Force.com platform. As a developer, you will be able to instantly add social features like profiles, status updates, and real-time feeds to any Force.com application using Chatter technologies.

In this webinar you will learn how to use the Chatter data model and API to:

  • Create Apex triggers on Chatter posts
  • Enrich Chatter feeds with information from the web
  • Write efficient queries against Chatter data
  • Take advantage of the latest Chatter API enhancements
To get a basic understanding of Chatter and to get the most out of this webinar, checkout the Chatter resource page.

 

  • February 15, 2011
  • Like
  • 0