When loading an InfoPath form from an intranet/Sharepoint etc, the form template is downloaded and cached locally. Sometimes after the template has been upgraded on the server the local client doesn’t always get the upgraded form template but uses the local cached copy instead.
You can rectify this by clearing the local cache by following methods
Method 1
Method 2
/* modify the path of Infopath.exe if required*/
sParam = "C:\Program Files (x86)\Microsoft Office\Office15\INFOPATH.EXE /cache clearall"
Set wshShell = Createobject("WScript.Shell")
wshShell.Exec sParam
Set wshShell = Nothing
Verification
C:\Users\[User]\AppData\Local\Microsoft\InfoPath\FormCache
You can rectify this by clearing the local cache by following methods
Method 1
- Start -> Run;
- Infopath /cache clearall
Method 2
Dim wshShell
Dim sRun, sParam, sMsg
/* modify the path of Infopath.exe if required*/
sParam = "C:\Program Files (x86)\Microsoft Office\Office15\INFOPATH.EXE /cache clearall"
Set wshShell = Createobject("WScript.Shell")
wshShell.Exec sParam
Set wshShell = Nothing
Verification
C:\Users\[User]\AppData\Local\Microsoft\InfoPath\FormCache
No comments:
Post a Comment
Your feedback is always appreciated. I will try to reply to your queries as soon as time allows.Please don't spam,spam comments will be deleted upon reviews.