You need to sign in to do that
Don't have an account?
dan.swain
Calling an SControl from Apex
Is it possible to call an SControl from Apex?
we have an SControl that performs various bits of validation and then signs a contract in affect.
I'm trying to write a unit/integration test to replicate this. But I can't find a way.
Anyone?
Best Answer chosen by Admin (Salesforce Developers)
mtbclimber
No. Scontrols are for UI scripting, not data validation. Your validation logic should be in Apex Triggers unless your rules can be expressed with formulas (using validation rules).