N:1 relationship Mappings error
-
Tuesday, June 26, 2012 11:32 AM
I created a custom entity (in MSCRM4) and linked it to an Opportunity entity so I could create records from the opportunity form. This worked fine but I wanted to test something out and deleted a relationship in the N:1 relationships. Now when I try to crerate mappings I get an error - 'To use the saved view you must remove criteria and columns that refer to deleted or non-searchable items'.
This same issue appears to be preventing me from deleting the custom entity to start over again.
Any ideas what I can do?
Thanks for any help in advance.
All Replies
-
Tuesday, June 26, 2012 12:47 PMPlease check in trace for error. you might have deleted any attribute or made any attribute as searchable "no" .
-
Tuesday, June 26, 2012 2:39 PM
Hi Deepak,
thanks for responding. If you can give tell me where to find this trace, or if you know where I might find the Entity\attribute\relationship information in the MSCRM_CONFIG database that could help. I very much self taught with CRM and SQL so even the simplest things to a PRO can sometimes confuse me.
-
Tuesday, June 26, 2012 3:54 PMThis message means there is a view (maybe a custom view) that uses the relationship you have removed. Normally this cannot happen, because the system does checks this before it allows you to remove the relationship, but it seems you managed to do so anyway. My advice would be to export the customizations.xml and search for remainders of the old relationship. When you know which view is still using it, you can try and remove it from the system.
Henk van Boeijen