To use this saved view, you must remove criteria and columns that refer to deleted or non-searchable items error in CRM 2011

Hi,

Was working on Filtering Add Exiting Lookup and got the below error.

Here we need to make sure that we are referencing correct columns in the fetchxml and layoutxml while creating the view using JavaScript.

fetchXml: “<fetch
version=1.0
output-format=xml-platform
mapping=logical
distinct=false>” +

<entity name=new_mycustomentity>” +

<attribute name=new_customentityid />” +

<attribute name=new_name/>” +

<order attribute=new_name‘ descending=false />” +

<filter type=and>” +

<condition attribute=new_name‘ operator=like‘ value=%1% />” +

</filter>” +

</entity>” +

</fetch>“,

layoutXml: “<grid name=resultset‘ object=10001‘ jump=new_name
select=1‘ icon=1‘ preview=1>” +

<row name=result‘ id=new_customentityid’>” + <cell name=new_name‘ width=300 />” +

</row>” +

</grid>“,

Hope it helps.


Author: Nishant Rana

I love working in and sharing everything about Microsoft.NET technology !

Share your thoughts

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s