Forum Discussion

Rizil's avatar
Rizil
New Contributor II
5 days ago

Custom Validation Before Saving Cube View Data

Hi Community,

I have a dashboard that includes a Cube View and a button with the "Save Data for All Components" action. Users enter data directly in the Cube View and click the button to save.

I’d like to implement a custom validation step before the data is saved. Specifically, I need to calculate the sum of four specific accounts, and if the total is not zero, I want to prevent the save operation and show an error message to the user.

Is there a recommended way to intercept the save action and apply such a validation check? Any guidance or best practices would be appreciated.

Thanks in advance!

No RepliesBe the first to reply