Hello,
While I am using Xrm.Page.getControl(args).addCustomView it was working well in CRM 2011 but when I switched (migrated) to CRM 2013 I got the following Error when the lookup dialog opens:
Record Is Unavailable
The requested record was not found or you do not have sufficient
permissions to view it.And when I check the error details I found
savedquery With Id = 00000000-0000-0000-0000-000000000000 Does Not Exist
Any idea how to solve this?