title: Communicate with Document Library Browser Web Part
body: <h2>Background</h2>
  
  <p>My task is to, in SharePoint, show an image of a process map which should be clickable. Think of an imagemap in html. Some areas take you to other process map images and other brings up a pop-up window.</p>
  
  <p>"Connected" to each process map is a set of documents. These documents are stored in a document library. There are one process map for each folder in the document library. The documents should be shown next to the image. The person clicking either the image or a folder to navigate in the hierarchy should also be able to upload, download and delete the documents.</p>
  
  <h2>Question</h2>
  
  <p>What would be the easiest solution for this?</p>
  
  <h2>My thoughts</h2>
  
  <p>... so far is to create a custom web part which I add above the document library browser (the default one in MOSS 2007). This web part reads some xml file pointing out the image to show and the areas which is to be clickable. It listens for some kind of events from the document library, like clicks on folders in the browser or it reads the current URL to know where in the folder hierarchy we are currently, and from that show the correct process map image. When the image is clicked, the web part updates the image and tells the document library to update accordingly.</p>
  
  <p>Is this feasible? Am I on the wrong track? How do I communicate with a document library?</p>
  
  <p>Thanks, Martin</p>