Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 general forum

Loading js lib sweetalert on from load.

(0) ShareShare
ReportReport
Posted on by 15

Hi,

I would like to load the lib sweetalert on form load and then juse the swal function in my custom JS file. I can see that it has loaded in the document but i cant access it.
I´m pretty new to Dynamics CRM and can´t really find found out how everything is loaded.

As you see the js lib dosent have a real first function so i cant call it in the event handler. But isent it enough to just have it in form libraries ?

I have tested eg_swal.swal("asd"); to but no success in the console.


swal.pngswalOpen.pngfrom.png

  • Zeshan Khan Profile Picture
    Zeshan Khan 185 on at
    RE: Loading js lib sweetalert on from load.

    Hi jkova ,

    Were you able to use sweetalert in CRM?

    I am able to embed sweetalert into CRM form even function is being called correctly but dialog box is not being shown on screen :(

    Reply please

    Regards,

    Zeshan

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,436 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans