1
Vote

Convert Input and Output Properties for custom workflow activities

description

Here is an example:

CRM 4.0
[CrmInput("Customer Contact")]
[CrmReferenceTarget("contact")]
public Lookup Customer
{
get { return (Lookup)GetValue(CustomerProperty); }
set { SetValue(CustomerProperty, value); }
}

CRM 2011
[Input("Customer Contact")]
[ReferenceTarget("contact")]
public InOutArgument<EntityReference> Customer { get; set; }

Note: The attributes describing the property already have conversion macros but need to be referenced in order to determine how the new code should be generated.

comments