Monday, October 11, 2010

Error message when you try to open a MS CRM 4.0 custom view link

I came across a CRM post where one of the identifier posting an MS CRM 4.0 bug related to Custom views. David Berry, MVP, had posted the bug report to connect. Hence I decided to document on this scenario thinking that it will be useful to all.

Scenario: Error message when you try to open a MS CRM 4.0 custom view link.
Error Details: Savedquery With Id = 2049325a-7336-df11-a4f7-0003ff18debc Does Not Exist

Simulation:

1. Select Custom view under any entity (System or Custom Entity).


2. Send a shortcut of current view.


3. View current custom view hyper link in outlook.


4. Try navigating to the this URL will result in error.


Note: Reproducing this for system view will work perfect, but not for custom view.


Reason for this error:

When a Custom View is created the view is stored in a UserQuery since its stored with respect to user. But in CRM4.0 when a view is opened (through URL) it searches it in SavedQuery even though it is stored in UserQuery. Since no records with those guid is present in SavedQuery it throws a exception "savedquery With Id = 2049325a-7336-df11-a4f7-0003ff18debc Does Not Exist"

Inferences:

Querying for the Custom view against database.

SavedQuery
UserQuery

This issue was not fixed till Update Rollup 13. Hope this will be fixed on upcoming roll-up.

No comments:

Post a Comment