Ejaz
Ejaz

Reputation: 145

CRM pre-validation

I'm very new to CRM and was looking into the CRM plugin event pipelines and wanted to create a few plugins for practice purposes. I created a plugin for pre-validation which will just set the account name (a mandatory field) to null. I assumed that this will just throw a validation error. But that's not happening, the entity is getting saved with an empty name. Could anyone explain why this is happening?

Upvotes: 0

Views: 215

Answers (1)

Andrew Butenko
Andrew Butenko

Reputation: 5446

That's because name of account is not "Platform required" field. "Required" or fields with red asterisk are required only when you create/edit information from CRM UI.

Upvotes: 1

Related Questions