Is there a way to create a chatter post using skuid when a particular field on a model is updated?

  • 1
  • Question
  • Updated 7 months ago
  • In Progress
When a user edits a field on one of our custom objects I would like to create a chatter post related to that object that identifies the new and old values and the user who updated it. Is that possible using skuid models, or do I have to call Apex code to do it?
Photo of Jerry

Jerry

  • 1,150 Points 1k badge 2x thumb
  • like a beet

Posted 7 months ago

  • 1
Photo of Bill McCullough

Bill McCullough, Champion

  • 12,436 Points 10k badge 2x thumb
Jerry,

I recommend you create a UI only model to capture the post data and use the action framework to post to Chatter.  Skuid's action framework makes it easy to post to Chatter.  Just use merge syntax to pass in the values.

Here is a screenshot of the Datasource action that you want to use:



Thanks,

Bill
Photo of Jerry

Jerry

  • 1,150 Points 1k badge 2x thumb
Thanks Bill, I might play around with this. I currently have it working using a FeedItem model, where I add a row for each Chatter post I need and set the ParentId?? field to associate it to the right record. (might be wrong on the specific field name)