CRM 2011 门户缓存
我们使用客户门户中的代码开发了一个门户。但我们还没有在CRM服务器上使用客户门户解决方案。除了缓存阻止更新显示在门户上之外,一切工作正常。
在 CRM 4 中,我使用了此解决方案 http://pogo69.wordpress.com/2010/11/05/caching-revisited-crm-4-0-sdk-advanced-developer-extensions/。但这在 CRM 2011 中不起作用,因为 Microsoft.Xrm.Client.Caching 不同。如何清除 2011 年的缓存?
任何帮助或想法将不胜感激。
谢谢!
We have developed a portal using the code from the customer portal. But we haven't used the customer portal solution on the CRM server. Everything is working fine except caching prevents updates to show on the portal.
In CRM 4 I used this solution http://pogo69.wordpress.com/2010/11/05/caching-revisited-crm-4-0-sdk-advanced-developer-extensions/. But this doesn't work in CRM 2011 because Microsoft.Xrm.Client.Caching is different. How do I clear the cache for 2011?
Any help or thoughts would be greatly appreciated.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
确保您配置了缓存失效 URL。 PRM 门户有一项服务,可以通过任何更新/创建事件使缓存失效(由在所有实体上注册的插件管理)。
转到设置 -> Web 通知 URL,更新 Cache.axd 文件的 URL 或创建新条目。
如果这一切都已到位,我将确保负责调用缓存失效的插件正在正常工作/注册。
希望有帮助
Make sure that you have a cache invalidation URL configured. The PRM portal has a service that invalidates the cache with any update/create event (managed by a plugin registered on all entities).
Go To Settings -> Web Notification URL, either update the URL to the Cache.axd file or create a new entry.
If this is all in place, I would make sure that the plugin that takes care of calling the cache invalidation is working/registered as it should be.
Hope that helps
有关 Web 通知 URL 的更多详细信息,请参阅以下文章。
设置缓存失效以刷新网站上的更改
See the following article for more details on the Web Notification URL.
Set Up Cache Invalidation to Refresh Changes on the Website
我发现删除 preloadcache 参数 & URL 中的值会绕过 CRM 的缓存。不理想,但它有效。您的里程可能会有所不同...
I found that removing the preloadcache parameter & value from URLs bypasses CRM's cache. Not ideal but it worked. Your mileage may vary...