按钮 URL 缓存 Dynamics CRM 4 问题
我通过更改 isv xml 文件添加了一个自定义按钮,其中包含 url + javascript,如
http://msdn.microsoft.com/en-us/library/cc150860.aspx
一切正常。但是,当我尝试替换 /ISV/ 文件夹中的文件时,它的行为与原始副本相同,我认为这与缓存相关。但是,如果我从 CRM 外部访问文件 http://server/ISV/file.htm 它具有最新且正确的版本。我如何解决这个缓存问题。
谢谢
I have added a custom button, with url + javascript by chaning the isv xml file, as described on
http://msdn.microsoft.com/en-us/library/cc150860.aspx
and all works fine. However, when I try and replace the file in the /ISV/ folder, it behaves the same as the original copy, I assume this is caching related. However, if I access the file from outside the CRM that is http://server/ISV/file.htm it has the latest and correct version. How do I get around this caching issue.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
那么您的 ISV 选项指向“/ISV/file.htm”?我想过去我注意到 CRM 的 IIS 站点将静态文件缓存了 3 天。我要做的是,当您替换 ISV 文件夹中的 file.htm 时,同时更新 ISV.config:
因此将其更改为指向“/ISV/file.htm?vers=00001”,然后在每次更新时递增文件。
So your ISV Option points to "/ISV/file.htm"? I think in the past I've noticed CRM's IIS site caching static files for 3 days. What I would do is when you replace your file.htm in your ISV folder, also update the ISV.config:
So change it to point to "/ISV/file.htm?vers=00001" and then increment each time you update the file.