Redeployment of custom ribbon bar buttons not showing changes RRS feed

  • Question

  • If I create a new sharepoint project with a ribbon extension element and deploy it (with visual studio) then all appears well and the button appears on the ribbon. If I then use retract  it also appears to work and the button disappears. However, any subsequent changes (e.g. to the title text or the command handler) do not appear to deploy and only the original button gets displayed. No matter what I try I can’t seem to get the button to deploy after the first attempt.

    Patrick Malatack kindly solved this problem for me:

    "the problem is your browser cache… clear your browser cache.  The browser downloads ribbon xml on load and this xml stays around.  I actually added a post build process in VS to address this."

    Further investigation revealed that there are two files that get downloaded to your browser cache that affect this

    commandui.ashx?....    ....&qt=ribbonvisibletabdeep
    commandui.ashx?...    ....&qt=commandhandlers

    Deleting both of these files after redeploying the custom ribbon items but before going back into PS ensures that the changes are visible/functional.

    Monday, February 22, 2010 6:30 PM