This project is read-only.
1
Vote

Navigating to "Associated Records" from Subgrid on Main Form issue

description

Hi Jason,

When I click into the "Associated Records" from the button on a Subgrid from the Main Form, there are issues navigating back to the Main form (it appears the Quick Navigation does not register the form change to the Associated Entities, since the Tabs line of Quick Navigation does not disappear as expected).

However, if from there I use the Quick Navigation to click into a separate associated Record view, the Tabs line disappears, however the "Main" link back to the primary page is disabled.

User can navigate back to the front page by clicking the Entity Name.

Also getting errors when navigating with Quick Navigation to related records after a new record has been created via Dialog (in IE only). Major browser crash. Locks up the entire browser and requires restart. Only message is generic:

"An error has occcurred. Try the action again. If the problem continues, check the Microsoft Dynamics CRM Community for solutions or contact your organization's Microsoft Dynamics CRM Administrator. Finally, you can contact Microsoft Support."

Thanks in advance.

Joe

comments

mmayo2112 wrote Jul 25, 2014 at 6:36 PM

I downloaded and installed this solution in a CRM 2013 environment with SP1. I am using Internet Explorer 10 throughout my trial.

After the install you add the web resource to the footer of a form (as recommended) so I used the Account form:

<screenshot missing>

Test #1: When I am in the ‘Opportunity Associated View’ and hit the link to browse back to the ‘Main’ form I get an error:


It appears there is a call in the web resource to a method that either doesn’t exist or is not available for that navigation use case. I tried again same steps a second time and got an error again, slightly different message: “Unable to get property 'navigation' of undefined or null reference” – the difference was after clicking through the error it actually did take me back to the main account form.

Test #2: From the main account form I select to quick navigate to the Associated Contacts view:

<screenshot missing>

You can’t really see it properly from this window, but there is a lot of wasted real estate below the links in the footer. I have huge resolution on my laptop (1920x1080) but the standard user would lose a lot of real estate on the screen. The source code is available for this solution and could be adjusted, but as an off the shelf add-in it failed to maintain valuable space on a user’s screen). Additionally, it also throws an error navigating back to the ‘Main’ form:

<screenshot missing>

For the above error navigating back to the ‘Main’ window it locked IE and I suspected that there were some infinite loop oData calls being made:


…so I fired up fiddler and saw about a million 401’s where it was attempting to do something with a cookie called ‘persistentNavTourCookie’:
Cookie: CRM_MSG_BAR_c9404e6f-abf1-e311-a399-00155d058804DownloadCrmOutlookClient=HideMessage; ReqClientId=84fd576b-1974-4d9c-be09-7fab2ae7df39; persistentNavTourCookie=HideNavTour

ECK.

There are also some ‘known’ issues in the issues section of the codeplex download where it describes:

“When I click into the "Associated Records" from the button on a Subgrid from the Main Form, there are issues navigating back to the Main form (it appears the Quick Navigation does not register the form change to the Associated Entities, since the Tabs line of Quick Navigation does not disappear as expected). However, if from there I use the Quick Navigation to click into a separate associated Record view, the Tabs line disappears, however the "Main" link back to the primary page is disabled. User can navigate back to the front page by clicking the Entity Name. Also getting errors when navigating with Quick Navigation to related records after a new record has been created via Dialog (in IE only). Major browser crash. Locks up the entire browser and requires restart. Only message is generic:

‘An error has occcurred. Try the action again. If the problem continues, check the Microsoft Dynamics CRM Community for solutions or contact your organization's Microsoft Dynamics CRM Administrator. Finally, you can contact Microsoft Support.’”

I experience this error as well.

I uninstalled it quickly before it did any damage.