Community Transport

Overview
A feature that allows web users to search for community transport providers, with the data being pulled from the Community Transport database.
Example
Please see example at foot of page
WCMS use

Sitecore templates

There are 2 Sitecore templates:

  • HCC_CommunityTransportProviderListing ({3CCC637F-99B8-487C-9CA7-27A3CF18A80A} ) – pulls data from the Web Api web service and lists all the providers
  • HCC_CommunityTransportProviderDetails ({4AFAE5FB-6C72-4AA2-9A75-3E5F5362914F}) – pulls data from the Web Api web service and displays the provider details

Create the Provider Listing page

In order to get the providers indexed by the GSA search, create a page that lists all the providers:

  1. Create a new page of type 'HCC_CommunityTransportProviderListing'; this page will pull data from a web service and display a list of all providers
  2. After creating the Provider Details page, point the 'Provider Details Page' field on the Provider Listing page to the Provider Details page. Please note this page needs to have the 'follow' and 'noindex' metadata tags

Create the Provider Details page

  1. Create a page of type 'HCC_CommunityTransportProviderDetails'; this page will pull data from a web service and display the details for the provider that matches the ID specified in the query string
  2. Fill in all the required section heading fields

Index the pages

  1. Create a new collection inside the GSA search and get the GSA server to index the providers
  2. Create a new item of type 'GSACollection' inside Sitecore and set the name of the collection to be the previously created collection from GSA

Create the search page

  1. Create a new page and add the 'GSASearch' rendering on it
  2. Create a new item of type GSASearchInstance, select the previously created 'GSACollection' and fill in the rest of the fields as required
  3. Point the rendering datasource to the previously created 'GSACollection'
MVC.net use
Code
Version and status
  • 1
  • current version
  • Concept
  • Alpha
  • Beta
  • Release
community transport