Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

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

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?

  • Community Member Profile Picture
    Community Member Microsoft Employee 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 Microsoft Employee 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

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,900 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,275 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans