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 :
Finance | Project Operations, Human Resources, ...
Answered

JavaScript part of an extensible control (AOT/Resources) is not updated in local DEV-Box but after checkin in the testsystem

(0) ShareShare
ReportReport
Posted on by 55

Dear community,

I experience odd behaviour around JS cache and would appreciate your insights.

I moved the topic from the D365 General forum , because    hinted it would be more appropiate here.

REQUIREMENT

We have implemented the Extensible control framework and the control is working smoothly in version A (5.7.2). There is a new version B (6.10.2) of the JS components. The JS components of the control should therefore be updated accordingly. The version B is needed to build additional logic (not part of this problem, but justification for the fix).

ISSUE

After replacing the JS components in ...:\AOSService\PackagesLocalDirectory\...\AxResource\ResourceContent\Scripts the old version A of the JS is still loaded while using D365 in my DEV-Box as shown in Google Chrome DevTools --> Tab Sources --> Page --> top --> https://usnconeboxax1aos.cloud.onebox.dynamics.com/ --> resources --> scripts

EXPECTED BEHAVIOUR

New version B should be loaded when using the extensible control in the DEV-Box

RESOLVE ATTEMPS

  1. Refresh the models
  2. Full compile
  3. Full DB sync
  4. Delete the browser cache
  5. Restarted the DEV-Box
  6. Stopped and restarted the IIS
  7. Started usconebox in an Chrome incognito tab
  8. Changed browser to Edge, error still reproducable and confirmed via Edge DevTools

 

FURTHER INFORMATION

I already checked in the code and if was correctly deployed via build server to the testsystem. In the testsystem the JS version was correctly updated as checked from the DevTools. The HTML component of the extensible loads the JS resource without any version reference.

QUESTION

How to correctly load the new JS version in my local DEV-Box?

With kind regards,

Oliver

I have the same question (0)
  • Suggested answer
    huijij Profile Picture
    19,811 on at

    Hi Sir,

    I think you should check if the location of the js in your html is the same as the location of the js code you checked in.

  • Verified answer
    BringYourOwnDeveloper Profile Picture
    55 on at

    Hi Judy,

    yes, the path is correct.

    After I deploy it to the testsystem it works all smoothly, so I assume it is a caching problem.

    With kind regards,

    Oliver

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 503 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 434 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans