AnsweredAssumed Answered

Run the validation rules for CreatePIPoints without actually adding

Question asked by RobBowman on May 30, 2017
Latest reply on Jun 1, 2017 by gregor



I'm creating a C# WPF app that will need to create Pi Points. It would be great if I could leverage the Pi Validation rules before actually making the insert.


In my UI the user enters details of a point, then clicks "add to list". After building up a list of new Pi Points, they hit commit which will save the points. Problem is, if they've entered invalid value for any of the attributes I'll get an error back. I'd like to call the validation each time they click "add to list". One option is to make the insert then immediately delete - but I'd rather not if I can avoid that.