Custom Task Pane Cached

C

ChipD

Is there a simple way to force InfoPath to refresh the custom task pane while
developing?

I'm working on an InfoPath form that uses an HTML page in the custom task
pane. As I make changes to the HTML page, I don't see them in InfoPath unless
I remove that page in the Resource Files menu option and then re-add it.

Is there a simpler way to get InfoPath to load the new version?

Thanks!
 
S

Scott L. Heim [MSFT]

Hi Chip,

If you are making modifications to your custom Task Pane (HTML file) and
are working directly with your InfoPath XSN file, then the only option you
have are the steps you described. However, an InfoPath XSN is basically a
CAB file and you can extract the contents of the CAB file by choosing
Extract Form Files from the File menu. In this case, you can update the
HTML file directly, as long as it has been added ONCE through the resource
manager. The only trick is, you need to touch the manifest.xsf file AFTER
you update the HTML before you load the solution in InfoPath. One easy way
to do it is to have manifest.xsf opened in notepad, and hit Ctrl-S every
time you update the taskpane html.

** NOTE: If you are working with a solution that requires Full Trust, this
may not be an option as you may not be able to fully test without creating
the form from the XSN.

So there are a couple of options for this but none are a "one click" type
of solution.

I hope this helps Chip!

Scott L. Heim
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.
 
B

Bob C.

Of course, If you point to an external web page, even an aspx, you can add
standard refresh logic with a button to the page and youre good to go.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top