Automate HubSpot form mapping upgrades

Fixed in

EPiServer.MarketingAutomationIntegration.HubSpot 4.0.0

Created

Jun 20, 2018

Updated

Aug 07, 2018

State

Closed, Acceptance tests pass


Description

Automatically transform mappings in the properties table from the old format to the new one.

For the form object itself, the string value in the old format should contain the connector name. In the new format, it's a string and a couple guids. Since the guids are hardcoded for each name, this should be possible.

For field mappings, the string format is similar to forms but has additional field information. We should be able to transform with a string replace.

We should do this via database migration using epi-updatedatabase.