Tuesday, June 22, 2010

Pass parameter to Plug in

How can i pass parameters to Plugin?

1. open plugin registration
2. CRUD step.
3. Right side contains two rich text: unsecure configuration, secure configuration ( see picture)
4. Add your parameters
5. Current status every executes this step the parameters passed to plugin.

How to get the parameters in PlugIn?
Create two constructors like this example:
//without parameters
public AuditEntities() { }
//with parameters
public AuditEntities(string unsec, string sec) { }

the parameters passed to unsec or sec. save the parameters and good luck

Thanks,
Rami Heleg