Skip to main content
Dynamics 365 general forum
Unanswered

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

editSubscribe (0) ShareShare
ReportReport
Posted on by 55

[MOVED TO D365 Finance Subforum]

Dear community,

I got a new challenge and would appreciate your insights

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. Fully compiled
  3. Fully synced the DB
  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?

Attachments
  • Community Member Profile Picture
    Community Member UG Leader on at
    RE: [DEV] JavaScript part of an extensible control (AOT/Resources) is not updated in local DEV-Box but after checkin in the testsystem

    Hi Partner,

    The 'General' forum is mainly used for CRM products.

    The 'supply chain' product also has the specific forum:

    (+) Dynamics 365 Supply Chain Management - Forums, Blogs, Support

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

    Hi Leah,

    I assumed the D365 general would be more accurate, because the behaviour seems not to be related to a specific app. It seems to effect supply chain and finance.

    Do you think it is still wrong in this section?

    With kind regards,

    Oliver

  • Community Member Profile Picture
    Community Member UG Leader on at
    RE: [DEV] JavaScript part of an extensible control (AOT/Resources) is not updated in local DEV-Box but after checkin in the testsystem

    Hi Partner,

    Maybe you need post the thread to following forum for further help:

    (+) Dynamics 365 Finance - Forums, Blogs, Support

Helpful resources

Quick Links

New Blog Features Released!

Check out the new community blog features for viewers and authors…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,080 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,601 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Featured topics

Product updates

Dynamics 365 release plans