locked
Plugin on Create. How to CANCEL SAVE RRS feed

  • Question

  • Hi,

    I have a plugin which runs on the Create of a record. In a particular situation, I want to prevent the record from saving. How can I do this?

    My plugin runs on the Pre Stage.

    (extra info: with this code, I get information from the entity:)

                            entity = (DynamicEntity)context.InputParameters.Properties["Target"];

    Regards, Leonard

     

    Thursday, January 20, 2011 3:43 PM

Answers

All replies