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

(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?

  • 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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,160 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans