web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Integrate with landing pages published on an external website (PHP site)

(0) ShareShare
ReportReport
Posted on by 5

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

I have the same question (0)
  • Suggested answer
    cloflyMao Profile Picture
    25,210 on at

    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

  • SivaR Profile Picture
    71 on at

    Thank you so much. I will try it and let you know if i encounter any problem

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Nagaraju_Matta Profile Picture

Nagaraju_Matta 102

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 71 Most Valuable Professional

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 66 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans