In July 2023, Microsoft announced changes to their Dynamics 365 Marketing application. With this transition, customers moved from the previous Outbound marketing module, to a new one - RealTime marketing module.
The Umbraco Dynamics integration would not work for workspaces created after that date, as a result issue #176 was raised on the tracker. The path for the module API would now be msdynmkt_marketingforms instead of msdyncrm_marketingforms.
With this PR update, I have added support for the two Dynamics modules to work together based on a configuration of the data type: Outbound, RealTime or Both.
This will toggle the way forms are pulled in the property editor:
Forms can be rendered in the Umbraco website in a similar way with the Outbound module, through a custom Javascript code or an URL to a standalone page that will be embedded in an iframe.
For the sample I've showcased in this demo the publish options would be:
The difference lies in the process to get the information from the response JSON, by picking the msdynmkt_standalonehtml JS code for option 1., and using the data-cached-form-url of the same property to build the URL for the standalone page, for option 2.
Sample JSON response:
In July 2023, Microsoft announced changes to their Dynamics 365 Marketing application. With this transition, customers moved from the previous
Outbound
marketing module, to a new one -RealTime
marketing module.The Umbraco Dynamics integration would not work for workspaces created after that date, as a result issue #176 was raised on the tracker. The path for the module API would now be
msdynmkt_marketingforms
instead ofmsdyncrm_marketingforms
.With this PR update, I have added support for the two Dynamics modules to work together based on a configuration of the data type:
Outbound
,RealTime
orBoth
.This will toggle the way forms are pulled in the property editor:
Forms can be rendered in the Umbraco website in a similar way with the![image](https://github.com/umbraco/Umbraco.Cms.Integrations/assets/95346674/470dc33d-1211-4422-ba50-31542f20c8a4)
Outbound
module, through a custom Javascript code or an URL to a standalone page that will be embedded in an iframe.For the sample I've showcased in this demo the publish options would be:
The difference lies in the process to get the information from the response JSON, by picking the
msdynmkt_standalonehtml
JS code for option 1., and using thedata-cached-form-url
of the same property to build the URL for the standalone page, for option 2. Sample JSON response: