Hi
I have to embed a Dynamics 365 landing page on an external website developed with Php,
I am planning to generate code for a landing page following this link https://docs.microsoft.com/en-us/archive/blogs/lystavlen/how-to-embed-dynamics-365-for-marketing-forms-on-you-own-website from dynamics 365.
1. Can I use the generated code into an external site created with Php technology?
2, When the user submits the landing page data from the Php site, is it possible to save the data back to dynamics 365.
3. the landing page will be used by external public users (e.g: farmers). if I want to generate prefill form I won't be able to register the domain as described in this link https://docs.microsoft.com/en-ca/dynamics365/marketing/mkt-settings-authenticate-domains because domain for external users' email addresses can be different. in this situation, how i can use a prefill landing page on an external website.
thank you,
RanS
Thank you so much. I will try it and let you know if i encounter any problem
Hi Rans,
1. Yes, the generated code is just an embedded JavaScript code, and due to HTML tag is supported in PHP, thus we can use the script in PHP page.
2. Yes, after user submitted data, a XMLHttpRequest will be sent to Dynamics 365 back-end server to create new record or update existing match record.
3. Could you share me more details about your current situation?
As per my understanding, we just need to make sure the domain is owned by us regardless of external users' email addresses.
e.g: I have a website whose domain is www.clofly.com, what I should do is to authenticate/configure it in both Dynamics 365 setting and domain provider DNS setting page.
Then any external users with different email addresses(outlook or gmail) can submit their data then get pre-filled form if "remember me" option was checked.
Regards,
Clofly
André Arnaud de Cal...
292,162
Super User 2025 Season 1
Martin Dráb
230,962
Most Valuable Professional
nmaenpaa
101,156