Skip to main content

Notifications

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

Which field stores the Formhosting code snippet in Events table in D365 Marketing?

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello Experts,

I want to use below code snippet in my power automate flow. But I do not know where this information is stored.

Which field stores the Formhosting code snippet in Events table in D365 Marketing?

pastedimage1643286325141v1.png

This field is always empty even if it is showing data as shown in screenshot.

I also checked Marketing form forsite table but I do not see this code in any field.

Please help.

Thank you in advance,

Vivek

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Which field stores the Formhosting code snippet in Events table in D365 Marketing?

    I found this value using window.parent.document.getElementById()

    Thank you,

    Vivek

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Which field stores the Formhosting code snippet in Events table in D365 Marketing?

    Thank you for your reply.

    Though this field is there, it never has any data inside it. "msevtmgt_formpagejavascriptcode" is always empty even if the code is there on the form in front of the field.

  • Suggested answer
    Nya Profile Picture
    Nya 29,058 on at
    RE: Which field stores the Formhosting code snippet in Events table in D365 Marketing?

    Hi Vivek,

    The field is the "msevtmgt_formpagejavascriptcode" field in Event entity, whose display name is Form hosting script.

    pastedimage1643341302168v1.png

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