wiki:WikiStart
Last modified 8 months ago Last modified on 09/13/11 16:21:57

Welcome to the Wildcard Module

This module makes it easier to work with Sitecore wildcard items and the dynamic URLs that resolve to them.

The original use-case was where a component generates dynamic URL from an external data source. The structure of the dynamic URLs contain values that controls on the wildcard item use read in order to display appropriate information. This module allows the dynamic URLs to be configured so they can be created and can be parsed.

For example, if you need to generate a list of blogs from an external system, you might need URLs like the following:

  • http://localhost/blogs/cities/nyc.aspx
  • http://localhost/blogs/counties/denmark.aspx

Sitecore wildcard items could be used to create the following project structure:

  • /sitecore/content/home/blogs/*/*

This module allows you to use the Sitecore Rule Editor to specify that:

  • wildcard 1 = group name
  • wildcard 2 = blog name

rule editor screenshot

Then, you are able to do a couple of things:

  • Generate data-driven dynamic URLs without having to manually build the URLs.
  • Read the original data from a dynamic URL without having to manually parse the URL.

Starting Points

Source code

Use this URL in your repository browser when you want to checkout the source code:

   http://svn.sitecore.net/WildcardModule/

Attachments