Useful Refresh Command

I recently watched a video by my colleague Michael Zlatkovsky in which he demonstrates the changes to the OfficeJS Libraries. And in this video he proposed a nifty little trick I have been using ever since to refresh the task pane app without having to stop and reload the solution (which saves minutes each time you need to stop debugging). What you do is place a refresh button at the bottom of your task pane HTML, like this:

[code language=”html”]

Then you wire it up like this:

[code language=”javascript”]
$(‘#refresh-button’).click(function () {

Simple eh?! Thanks Michael for the nifty tip! wlEmoticon-hotsmile.png

Leave a Reply