Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

UI focus issue - saving non-required sub-grid record moves that window behind the main window

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hey all,

I have a few custom entities with N:1 relationships to the Order entity. In the Order form, I have sub-grids for these entities to see all records related to an order. 2 of these sub-grids have a relationship that requires an order, and they seem to work as expected (hit the plus sign, the new window opens, stays in front until you close it). One sub-grid (Training) is set to optional instead of required by design, as this specific entity could have a record independently of the order. When I hit new and get my Training window as expected, I fill out all my details and hit save. It immediately puts the Training window behind the main Order window I was previously in (or perhaps it brings the order in front). I then have to re-select the training Window to either add more information or close it. This occurs every time I make a change to the Training information in that window and hit save again.

I already tried removing/deactivating all JS, Workflow, and business rules that are in any way related to the Training entity, but it didn't make any difference. Also, this seems to occur in Internet Explorer but when using Chrome I do not experience this issue. Unfortunately, most of our users have been trained to use Internet Explorer as it has historically played nice with all the other functions we have.

As a test, I added a JS onSave function that after a 2 second timeout sets the focus on that form to be one of the fields. This does pull the window back in front after it disappears for 2 seconds while saving completes. This band-aid is not going to be an acceptable solution to my IT department (I'm not a fan of it either) so I'm hoping to figure out the root issue. Not sure how to troubleshoot it further though.

Any ideas why this is happening? We plan to update to 2016 on premise fairly soon, any chance that upgrade might fix the issue?

*This post is locked for comments

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…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 231,399 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans