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,498 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

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,503 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans