Skip to main content

Notifications

Announcements

No record found.

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

Embedding D365 Form on Website - Style Issues

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans