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,...
Answered

Adding Javascript library to custom button in ribbon

(1) ShareShare
ReportReport
Posted on by 20

Hi

I am trying to run a dialog using a custom button and have done the following:

pastedimage1580745271355v1.png

i then get the below error when i press the button:

Invalid JavaScript Action Library: /_static/_forms/form.js is not a web resource and is not supported.

I have tried adding that library to a web resource but the resource will not be among the other ones i have on the list

Please let me know where i am missing it, none of the searches ive done have yielded a work around

Thanks.

I have the same question (0)
  • Verified answer
    Radu Chiribelea Profile Picture
    6,667 on at

    Hello,

    Looks like you are trying to reuse an out of the box javascript library which is not supported. If you are using the online (cloud) platform, I would suggest looking into folowing supported SDK Method docs.microsoft.com/.../navigateto to open a custom dialog.

    Hope this helps,

    Radu

  • Tinashe Marc Profile Picture
    20 on at

    Thanks Radu, it worked.

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
Tom_Gioielli Profile Picture

Tom_Gioielli 74 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

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

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans