Skip to main content

Notifications

Announcements

No record found.

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

Error embedding marketing form

(0) ShareShare
ReportReport
Posted on by 15

Hi,

I am attempting to embed a marketing form into an external page from an ASP .NET page.

To do so I am querying the javascript code at this endpoint .api.crm4.dynamics.com/api/data/v9.2/msdyncrm_formpages .

Then I render the JS code into my page, but I receive the following 404 error, because the blog storage seems to not exist: https://mktdplp102cdn.azureedge.net/public/1.84.2007/static/js/form-loader.js (The specified blob does not exist. RequestId:c2804d2d-301e-000b-66f8-95a8c8000000 Time:2022-07-12T14:06:07.1670245Z).

I have attached a sample HTML file for reference.

Could you help me out with this matter? Maybe I am missing something out?

Thank you!

[View:/cfs-file/__key/communityserver-discussions-components-files/768/index.html:320:240]

  • Error embedding marketing form
    I am seeing this same issue thru the API endpoint and also when exporting form pages to an Excel spreadsheet.
     
    This needs to be resolved. Has anyone resolved this without resorting to manually editing and changing the links?
  • Suggested answer
    Petr Jantac Profile Picture
    Petr Jantac on at
    RE: Error embedding marketing form

    Hello Adrian,

    Unfortunately, we do not support the scenario to query the JS code using an endpoint. The endpoint you are using returns an outdated JS. That's why it doesn't work.

    The best way to embed the form into your existing page is to use the JS code directly. Please refer to docs.microsoft.com/.../embed-forms for more details.

    Thank you.

    Petr

  • Adrian Cojocariu Profile Picture
    Adrian Cojocariu 15 on at
    RE: Error embedding marketing form

    [View:/cfs-file/__key/communityserver-discussions-components-files/768/sample_2D00_form_2D00_embed.json:320:240]

    I've also attached the JSON response for reference.

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans