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 :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

javascript web resource not getting updated when importing solution

(0) ShareShare
ReportReport
Posted on by 17

Bit of a strange one.

I've modified a web-resource java script file to update a function with a where condition. Import the file back into our dev environment, published and everything is working fine. Where condition works fine too. 

I've exported the solution as a managed solution and import into our UAT environment by selecting import package and then update. For whataever the reason when I do that, java script file isn't getting updated in UAT solution. 

As several other threads suggest, I've checked my customizations.xml file and it says "solutionaction="Added"  for the file I modified under  <formLibraries>

Can anyone suggest what is causing the javascript file not to get imported into UAT solution and guide me towards correct way to resolve this?

I have the same question (0)
  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    Double check that there was no unmanaged layers in your UAT environment - www.inogic.com/.../

    If there is a one you will have to remove it - rajsekhar311.com/.../

  • Suggested answer
    D365_83 Profile Picture
    17 on at

    Hi a33ik ,

    Thanks for this. I've double checked and my UAT has no unmanaged layers.

    But weirdly enough I sort of found a workaround to fix this. I swtiched to classic view on dynamics solutions page.

    Then went into the solution and to web-resources. (Go to Settings > Customizations > Default / Required solution.)

    In there it allows me to change the script using text editor or uploading a new file. I couldn't do this using new look. So I've changed the file and all is good.

    Wonder why I can't do the same using modern look.

  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    By doing that you introduced the unmanaged layer. If you plan to maintain managed solutions deployment from dev to uat - this will cause you headache because this unmanaged layer will be always on top of your managed changes to webresource.

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 > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 76

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans