SharePoint 2010 – How to create a company marketplace – Part 3

Introduction Let’s finish the solution by creating the site, attaching the content type, configuring the web parts and the navigation.

Step 4: Create the site

We will create a new Publishing site called Marketplace. Select the desired settings such as navigation inheritance and/or permissions.

Step 5: Attach the posting content type
Our users will add new postings by creating pages so we have to be sure our posting content type is selected by default when creating a new page. We have to execute the following steps:

  • Click at Site Actions
  • Click at View all Site Content
  • Click at Pages
  • Click at Library
  • Click at Library Settings
  • Click at Add from existing site content types and add the posting content type
  • Click at Change new button order and deselect all the other content types
  • Click at Posting and rename Posting Category to Category

Every time a new page is created the posting content type is selected! Let’s go to the next step.

Step 6: Attach the marketplace welcome page
We can attach our new welcome page by executing the following steps:

  • Click at Site Actions
  • Click at Site Settings
  • Click at Page layouts and Site templates
  • Choose at Pages in this site can only use the following layouts for:
    • (Article Page) Marketplace welcome page
    • (Posting)Posting
  • Select at New Page Default Settings for:
    • (Posting)Posting
  • Click at Ok.

Be sure that  (Posting)Posting is the first at the New Page Default Settings option. Otherwise every new page will have the marketplace welcome page as default. You are always free to remove the page lay-out after you set it as default to the welcome page. We can edit the page and assign the marketplace welcome page as the new page lay-out.

Step 7: Configure the web parts
We are almost there! Let’s configure the web parts we want to use. We want the following web parts:

  • Introduction
  • Wanted
  • For sale
  • My postings

Introduction
The introduction to the marketplace will be provided by the content editor web part. We can use the following settings:

  • Appearance:
    • Introduction

You are of course free to change the tile to your needs.

Wanted
The Wanted web part will be presented by the Content Query web part. We can use the following settings:

  • Query:
    • Show items from the following list:
      • Pages
    • Show items of this content type group:
      • Contoso Content Types
    • Show items of this content type:
      • Posting
  • Additional filters:
    • Posting category is equal to [PageQueryString:category] AND
    • Type of posting is equal to Wanted
  • Presentation:
    • Item limit:
      • 10
  • Appearance:
    • Title:
      • Wanted

Click at Ok to save the settings.

For Sale
The For Sale web part will be presented by the Content Query web part. We can use the following settings:

  • Query:
    • Show items from the following list:
      • Pages
    • Show items of this content type group:
      • Contoso Content Types
    • Show items of this content type:
      • Posting
  • Additional filters:
    • Posting category is equal to [PageQueryString:category] AND
    • Type of posting is equal to For Sale
  • Presentation:
    • Item limit:
      • 10
  • Appearance:
    • Title:
      • For Sale

Click at Ok to save the settings.

My postings
The my postings part will be presented by the Content Query web part. We can use the following settings:

  • Query:
    • Show items from the following list:
      • Pages
    • Show items of this content type group:
      • Contoso Content Types
    • Show items of this content type:
      • Posting
  • Additional filters:
    • Contact is equal to [ME]
  • Presentation:
    • Item limit:
      • 10
  • Appearance:
    • Title:
      • My postings

Click at Ok to save the settings. We are now ready for the last step.

Step 8: Configure the quick launch
The quick launch needs to display all the categories so a user can select the desired category with all the for sale and wanted postings. We need to execute the following settings:

  • Click at Site Actions
  • Click at Site Settings
  • Click at Navigation
  • Select at Current Navigation:
    • Display only the navigation items below the current site
    • Deselect show subsites and pages
  • Click at Add Heading:
    • Title:
      • Categories
  • Click at Ok to save
  • Click at Add Link:
    • Title:
      • Name of the category. For example Books
    • URL:
      • /sites/contoso/Marketplace/Pages/default.aspx?category=Books (connect this to your URL and category)
  • Click at Ok to save

You are now ready! This marketplace can be changed to your needs. You can attach a workflow or other columns. Just have fun with it!

1 thought on “SharePoint 2010 – How to create a company marketplace – Part 3”

Leave a reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.