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

Power Portal Apps Entity Form Custom JavaScript not changing

(0) ShareShare
ReportReport
Posted on by 20

Hi all, 

I've been working in Dynamics portals with Entity Forms. The goal is to read the parameters from the URL and fill out the form based on those parameters. My issue is using the custom javascript field under the Additional Settings tab on the entity form. 

I did an alert("test"); saved, checked and then saw it worked! However, when I went to add other things the code, only the test alert is showing up. I've also cleared my cache and history but no luck. 

Looking for a solution or tutorial to updating/using custom javascript with entity forms. Thanks!!

  • Suggested answer
    Nicholas Hayduk Profile Picture
    2,863 on at
    RE: Power Portal Apps Entity Form Custom JavaScript not changing

    My guess is you are running into caching.  The new Portal caching mechanism doesn't automatically invalidate the cache when changes are made to certain entities (like Entity Form) via the Model-Driven App.

    This is actually the topic of my blog post this week.  For more details, and for how to clear the cache:

    www.engineeredcode.com/.../power-apps-portals-changes-to-caching

    Hope that helps.

    Nick

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,274 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,933 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans