2 Replies Latest reply on Jun 1, 2017 12:46 PM by gregor

    Run the validation rules for CreatePIPoints without actually adding

    RobBowman

      Hi,

       

      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.

       

      Thanks,

       

      Rob.