Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

Can't change or create offline filter or template for salesliteratureitem

$
0
0

I needed to change several offline filters and wrote code to do it by deleting the existing default filters and creating system filters. This works great for most entities but it won't let me do it for a handful of them. For instance, I want to download all Sales Literature Attachments under 2MB instead of under 1MB.

When I try delete the existing OfflineTemplate for salesliteratureitem I get this error:

{"The evaluation of the current component(name=SavedQuery, id=2085e636-5152-46d4-8f92-552c7fd206b8) in the current operation (Delete) failed during managed property evaluation of condition: Microsoft.Crm.BusinessEntities.IsCustomizableCondition"}

If I update the existing OfflineTemplate by changing the Name, Description, IsDefault and FetchXml it appears to work. When I retrieve it again Name, Description and IsDefault get changed but the FetchXml stays the same.

If I create a new OfflineTemplate while the existing OfflineTemplate for the same entity has IsDefault  = true I get this error:

Cannot have multiple default synchronization templates for a single entity.

 

If I create a new OfflineTemplate after setting IsDefault to False for existing active OfflineTemplate I get this error:

The evaluation of the current component(name=SavedQuery, id=30f587c1-e194-e311-b930-005056803e84) in the current operation (Create) failed during managed property evaluation of condition: Microsoft.Crm.BusinessEntities.IsParentCustomizableCondition

 

If I create an OfflineFilter for salesliteratureitem I get this error:

The evaluation of the current component(name=SavedQuery, id=e3bd1472-e894-e311-b930-005056803e84) in the current operation (Create) failed during managed property evaluation of condition: Microsoft.Crm.BusinessEntities.IsParentCustomizableCondition

The best workaround I've come up with is to create UserQuery records for salesliteratreitem for each individual user but this means I have to create them for every new user.

Any suggestions?

Thanks,

Bill


Bill Wolohan


Viewing all articles
Browse latest Browse all 8223

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>