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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
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? 
I have the same question (0)
  • Suggested answer
    Haig Liu Profile Picture
    Microsoft Employee on at
    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.
  • Suggested answer
    mhoekstra Profile Picture
    140 on at
    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.
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 70 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 33 Most Valuable Professional

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans