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

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!!

I have the same question (0)
  • Suggested answer
    Nicholas Hayduk Profile Picture
    2,863 on at

    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

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
Pallavi Phade Profile Picture

Pallavi Phade 98

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 60 Super User 2025 Season 2

#3
Gerardo Rentería García Profile Picture

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

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans