Wednesday 21 November 2012

Load Queue Override GUI Extension

How many times have you clicked impatiently on "Show Tasks" while the publishing queue was still loading??? I am not sure about you developers, but Tridion users... thousands! And I understand it! The world around us moves at a high pace... and so does our clicking finger! :)

Every hit on the button is making a call to the database; in a system with many publishing transactions and many concurrent users, this can have an impact on the system performance and stability.

How to solve this neatly? A GUI Extension!!!!

This post will show you the "what", "how" and "why" around the solution.

Functionality provided

While the publishing queue is being loaded, the following actions are executed:
  1. Disable the Show Tasks button 
  2. Disable the Reload button icon
  3. Show a progress message



When the publishing queue finishes loading, the following actions are executed:
  1. Enable the Show Tasks button
  2. Enable the Reload button icon
  3. Archive the progress message