简体   繁体   中英

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

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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