• Not Answered

Extending Customers entity in bizfx using a plugin does not persist updated values after editing

Hi,

Attached is the plugin I have created to add few custom fields like 'Title', ReceieveemailAlerts etc. If I try to update the values of custom fields they are not being persisted in the component in 'GetCustomPropertiesViewBlock'. var component = customer.GetComponent<CustomerComponent>(); component has custom fields with default values but not updated ones. Where as in the 'EditCustomPropertiesBlock'  'this._commerceCommander.Pipeline<IPersistEntityPipeline>().Run(new PersistEntityArgument(entity), context);' - the entity has the customcomponent with updated values. Can you please go through the plugin blocks attached and let me know where/what am I missing?

 

Plugin.Customer.zip

1 Reply