Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Custom Javascript in a portal form

(0) ShareShare
ReportReport
Posted on by 4
Hi all
 
Apologies up front if this is a stupid question
 
I have created a web resource to do some data validation within our CRM. Pretty simple stuff like "cannot set this value because of the value of x field". This works great
 
However we have a portal which members access to actually create records in the CRM. I know that you can have custom javascript within a portal page but my stupid question is.... can I use the same web-resource script?
Categories:
  • Suggested answer
    Jonas "Jones" Melgaard Profile Picture
    4,610 Super User 2025 Season 1 on at
    Custom Javascript in a portal form
    No such thing as a stupid question. (-:

    I'm 99.99% certain that it's not possible, since the XRM API is not available from the portal.

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

News and Announcements

Now Available: 2025 Release Wave 2

Quick Links

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Adis Profile Picture

Adis 136 Super User 2025 Season 1

#2
Sohail Ahmed Profile Picture

Sohail Ahmed 81

#3
Jonas "Jones" Melgaard Profile Picture

Jonas "Jones" Melgaard 77 Super User 2025 Season 1

Product updates

Dynamics 365 release plans