Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum

Form Load Issue in v9 on prem UCI

Posted on by

Hi,

I am getting a script error when I try to open any contact record in UCI app. When I click OK, it goes back to the previous screen. I tried with different forms without any custom javascript on. No luck. Removed the app, created again, still no luck. Any ideas?

Environement : v9 on prem

Client : UCI

6505.Error.png

  • Verified answer
    aydinsalih Profile Picture
    aydinsalih on at
    RE: Form Load Issue in v9 on prem UCI

    So, I created a fresh organization, created a UCI app with contact entity in it. It was working fine. But, when I select only the information form on app designer, publish the app, go to the app, open contact record, it gave me the option to select other forms as well. I think that is a mess up on Microsoft. So basically on my faulted app, I wouldn't know which form it was trying to open and failing.

    At the end, I couldn't find what exactly caused the issue, but I removed all unmanaged forms from my environement, put all managed forms in a solution from fresh organization and imported that solution into my faulted organization. Everything works fine now.

  • aydinsalih Profile Picture
    aydinsalih on at
    RE: Form Load Issue in v9 on prem UCI

    they are not custom javascripts. there is no javascript added on the form.

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: Form Load Issue in v9 on prem UCI

    Seems the problem is coming  with your custom JS that is 25.js and preprod.js.

    Can you try to debug your code onload method and see where its breaking .

  • aydinsalih Profile Picture
    aydinsalih on at
    RE: Form Load Issue in v9 on prem UCI

    Tried IE and Edge. onprem UCI Apps are currently not working on Chrome. Tried a form with 1 field as well. There is nothing in the logs server side. Error is thrown in built in scripts, so I don't know what is wrong.

  • aydinsalih Profile Picture
    aydinsalih on at
    RE: Form Load Issue in v9 on prem UCI

    here it is:

    Session Id: f037839b-75cb-48a7-a165-8e65b3df4af3

    Activity Id: b0da3ecf-6279-4e6a-9def-6789ad7caa89

    Timestamp: Tue Jan 15 2019 09:21:34 GMT+0400 (Arabian Standard Time)

    Unable to get property 'filter' of undefined or null reference

    UciError: Unable to get property 'filter' of undefined or null reference at p (vtiv9dev/.../app.js) at Anonymous function (vtiv9dev/.../25.js) at r (vtiv9dev/.../preload.js) at t.prototype._settlePromiseFromHandler (vtiv9dev/.../preload.js) at t.prototype._settlePromiseAt (vtiv9dev/.../preload.js) at t.prototype._settlePromises (vtiv9dev/.../preload.js) at n.prototype._drainQueue (vtiv9dev/.../preload.js) at n.prototype._drainQueues (vtiv9dev/.../preload.js) at drainQueues (vtiv9dev/.../preload.js)

  • kunalks2003 Profile Picture
    kunalks2003 315 on at
    RE: Form Load Issue in v9 on prem UCI

    can you please share the error inside the image so that we can analyse it .

  • bac26 Profile Picture
    bac26 2,268 on at
    RE: Form Load Issue in v9 on prem UCI

    Did you try a different browser or generic form?   Try a form with 1 field.  If there still is a problem, then I would look in the logs to see what other errors you are getting

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... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans