Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Facing script error onLoad() functionality of JavaScript saying web resources does not exist

Posted on by Microsoft Employee

Hi Developers,

I am facing an script error onLoad() functionality for customizations and functionality of forms using Javascript. Although the error does not pop up every time I open the targeted form (Case{incident}) , this error pops sometimes when i open the targeted entity at a successive rate or i open a new form instance. after clicking ok and refreshing the page the same javascript perform functionality as it meant to be . This error sometimes pop in Chrome and today itself it pop up in edge . 

I am using chrome version of 91.0.4472..124

 clearing cache and reinstalling the version suspends the problem for the time being , but it is not a viable option for suggesting my client.

Any help is appreciated , tried raising a ticket but not  getting any valid response.

i am providing you the screenshot error which i face sometimes .

Thanks :)

1738.Capture.PNG

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Facing script error onLoad() functionality of JavaScript saying web resources does not exist

    yes i choose the correct function name ,actually the problem got resolved.

    Solution : Please check if there any subsequent functions getting called in onLoad which time out the return due to asynchronous calls , the system sometimes might return the function does not exist. :)

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Facing script error onLoad() functionality of JavaScript saying web resources does not exist

    Hi,

    May I ask, is onLoad your function? Did you choose the correct function?

    If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.

    Best Regards,

    Frank Gong

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Facing script error onLoad() functionality of JavaScript saying web resources does not exist

    Script is loading perfectly fine in the console yet i am receiving this error  2234.MicrosoftTeams_2D00_image.png

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Facing script error onLoad() functionality of JavaScript saying web resources does not exist

    Hi Temmy we tried your method but we are still facing the issue, i don't think the problem is with the metadata part . could you suggest anymore methods.

  • Suggested answer
    Temmy Wahyu Raharjo Profile Picture
    Temmy Wahyu Raharjo 2,914 on at
    RE: Facing script error onLoad() functionality of JavaScript saying web resources does not exist

    I would probably try to remove and re-add again this javascript and check again if this error still appears or not. Probably because got a problem with the metadata part causes this issue.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Facing script error onLoad() functionality of JavaScript saying web resources does not exist

    Hi,

    I cannot reproduce this error. Have you consulted the official Microsoft technical support in case this is a bug?

    If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.

    Best Regards,

    Frank Gong

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans