Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Adding a custom JavaScript "file" to the Portal

(0) ShareShare
ReportReport
Posted on by 515

I've written some JavaScript to go into the portal as it's the only way to make something work.

The code is too long to go into a snippet, so I need to put it in a file and upload it then refer to it.

I've tried adding it as a web file, and adding it to the notes field (removing the .js from the end as recommended). 

But the file either appears as an attachment, or doesn't appear at all.

How do I put the code into my page?

Thanks
Lee

  • Verified answer
    mobeenmohsin Profile Picture
    on at
    RE: Adding a custom JavaScript "file" to the Portal

    Hi Lee,

    Please help to find information using following links:

    https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/288902/how-to-add-external-js-file-in-all-pages-of-partner-portal

    https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/add-custom-javascript

    Best Regards,

    Mobeen Mohsin

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

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