Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

Embedding D365 Form on Website - Style Issues

(0) ShareShare
ReportReport
Posted on by
Hi All,
 
I have just created a basic template form in D365 /Marketing Forms/, I have then used the /Form Hosting/ and created /Related marketing form page/ which displays the external hosting format and I have copied the code as an iframe onto my site (no styles would conflict). 
 
I have copied the iframe code to my dev area and the form is displaying as (image below)
 
//
As you can see it has a cookies error in the background and the form is super small with scrolling options not formatted correctly as in the Marketing Forms /Designer/ 
 
Any tips how to show the form as it should/settings of note when embedding to external websites? 
  • Suggested answer
    mhoekstra Profile Picture
    mhoekstra 140 on at
    Embedding D365 Form on Website - Style Issues
    Hi,
     
    If you use iframe you have to do some tweaking of the iframe settings:
     
    <iframe src="/default.asp" width="100%" height="300" style="border:1px solid black;">
    </iframe>

    <iframe src="/default.asp" width="100%" height="300" style="border:none;">
    </iframe>
     
     
    Problem with iframe is that i will not work that nice responsive and also has other issues. Best advice is to use the script version.
     
  • Suggested answer
    Haig Liu Profile Picture
    Haig Liu Microsoft Employee on at
    Embedding D365 Form on Website - Style Issues
    Hi partner,
    Please refer to the following article:
    As mentioned in the article, iframe hosting mode is not affected by page formatting, so maybe you can try another hosting option.
    If you are a European zone user, cookies tend to be more stringent.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,971 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,846 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans