Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Could not load content for (JS/TS)

(0) ShareShare
ReportReport
Posted on by 25
Hi Experts,
 
We have a custom button on a Sub-Grid. On click it calls a JavaScript function (RemoveFromEventSessionGroup) that removes the selected record from the Sub-grid. This functionality was created by someone who already left the company.
 
When I tried to add a breakpoint to the script, it opened another tab with this error
 
Could not load content for https://xxx.crm11.dynamics.com/%7b638427613960000172%7d/webresources/ccl1011_/Marketing/Session.ts (HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE)
 
The Webresource is JavaScript but created as a TypeScript (Sorry I'm not that knowledgeable of TypeScript)
 
Below is the screenshot.
 
//
 
This is the error whenever I add breakpoint on the function.
//
 
What I have done so far is I removed the JavaScript function on the button then published. Verified that the function was removed.
Then I added it again. Did not fix the error.
 
 
Looking for advice on how to fix this error.
 
Thanks
  • Suggested answer
    Mohamed GRAIB Profile Picture
    Mohamed GRAIB 2,494 Super User 2024 Season 2 on at
    Could not load content for (JS/TS)
    Hi, 
     
    Resource names in Dynamics 365 are case-sensitive. I think that you have a problem in between Session and session. 
     
    Try to edit all session by Session. 
     
    Let us know if that's resolve your problem. 
     
     

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans