How do you prevent blank rows in a table from being saved to Salesforce?

  • 1
  • Question
  • Updated 3 years ago

I have a pretty simple question, I think.

I have a Skuid page that has a table on it linked to a model and a custom Salesforce object.   The table attribute is set to allow inline record creation.   I do not want any blank records written back to Salesforce but I also don't want to have any required fields or validation rules.  When the table is saved, if it has any blank records just dispose/ignore  them.   Any thoughts?
Photo of Jeffrey Lawler

Jeffrey Lawler

  • 1,464 Points 1k badge 2x thumb

Posted 3 years ago

  • 1
Photo of Dave


  • 5,774 Points 5k badge 2x thumb
In Skuid not sure,

But It's possible to delete those records through a visual flow in SF

the only issue with that solution is that it will only be executed after Save, therefore you would need to refresh your model or page to see changes in your table