- General Development
- Schema Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules
- Force.com Sites & Site.com
- Chatter Development
- Java Development
- .NET Development
- Perl, PHP, Python & Ruby
- Desktop Integration
- APIs and Integrations
- Visual Workflow
- Apple, Mac and OS X
- VB and Office Development
- AppExchange Directory & Packaging
- Salesforce Labs & Open Source Projects
- Other Salesforce Applications
- Jobs Board
11-27-2012 10:48 AM
I have a .NET ecommerce app that I've integrated with SF.com via the SOAP API. Everything works great except for one thing.
You know how if you're Chattering you can type @Name and that person will receive an email notification? I can't figure out how to do that via the SOAP API. I tried including @Name and @[Name] in the FeedItem Body but that didn't work. I even built an HTML anchor with the user's ID (I saw this in the HTML source of a Chatter page) but all that did was display the anchor as text in the Chatter item.
Can anyone give me any guidance on how to accomplish this?
12-28-2012 11:57 PM
It's not possible to make a Chatter post with an @mention using the SOAP API. Instead, you need to use the Chatter REST API.
How do I post a comment or a feed item with an @mention?
News feed resource (POST to /chatter/feeds/news/me/feed-items)
Sorry for the slow reply, hope that helps!