简体   繁体   English

按钮URL缓存Dynamics CRM 4问题

[英]Button url caching Dynamics CRM 4 issue

I have added a custom button, with url + javascript by chaning the isv xml file, as described on 我通过更改isv xml文件添加了带有url + javascript的自定义按钮,如

http://msdn.microsoft.com/en-us/library/cc150860.aspx 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. 但是,当我尝试替换/ ISV /文件夹中的文件时,其行为与原始副本相同,我认为这与缓存有关。 However, if I access the file from outside the CRM that is http://server/ISV/file.htm it has the latest and correct version. 但是,如果我从CRM外部的http://server/ISV/file.htm访问文件,则它具有最新的正确版本。 How do I get around this caching issue. 我如何解决此缓存问题。

Thanks 谢谢

So your ISV Option points to "/ISV/file.htm"? 因此,您的ISV选项指向“ /ISV/file.htm”吗? I think in the past I've noticed CRM's IIS site caching static files for 3 days. 我认为过去我已经注意到CRM的IIS站点将静态文件缓存了3天。 What I would do is when you replace your file.htm in your ISV folder, also update the ISV.config: 我要做的是当您替换ISV文件夹中的file.htm时,还要更新ISV.config:

So change it to point to "/ISV/file.htm?vers=00001" and then increment each time you update the file. 因此,将其更改为指向“ /ISV/file.htm?vers=00001”,然后在每次更新文件时递增。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM