Bernard Hennecker's Blog

Experiences with information & data architecture on SharePoint

SharePoint Contexts Implementation (contd)

leave a comment »

In the previous post, I explained the way I’m grouping related resources and displaying them together through dynamic pages.

One of the essential piece of this implementation is the contexts list that records the characteristics of a context:

 image

For each context, it contains the values that are required to filter appropriately the lists and libraries displayed on the page. But you may argue: why not doing that by simply passing the parameter values in the calling url? For the first context (aerospace), instead of launching the page with the following url: http://sharepointserver/test4bernard/home.aspx?context=aerospace
it would be:
http://sharepointserver/test4bernard/home.aspx?industry=Aerospace&contact=One

There are several reasons for not doing that:

  • The most important one is to have url’s that are somewhat immune to organizational changes; in the example above, if the contact for aerospace has to be changed, only the contexts list has to be updated and not the url, which is quite important if the url is referenced from many other locations!
  • Changes/updates are performed in one list only.
  • If another list or library has to be displayed on the same page and if it uses different columns and/or different column values, a column can be easily added to the contexts list to accommodate to that new list or library.
Advertisement

Written by Bernard Hennecker

November 19, 2009 at 14:46

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.