Calendar Plus Web Part 4.5 User’s Guide, Part 3: How to Display a SQL Server Table or View

Calendar Plus Web Part has long been an
indispensable tool (and a bestseller), with which you can display events and
tasks on a calendar from various data sources, such as SharePoint lists, List
Rollup, SQL databases, and BDC/BCS. With our latest release, Calendar Plus Web Part 4.5, we've included a host
of new features such as: Runtime Filter View for multiple lists; more columns
available to select for filtering; the ability to sort in Gantt view; and the
ability to dynamically filter calendars using Web Part Connections and List
Filter Web Part.

To help celebrate the release of Calendar Plus Web
Part 4.5
, we have put together a brand-new series that will walk you
through how to use the product's newest and most popular features.  Here
in Part 3, we will show you how display a SQL Server Table or View within the Calendar
Plus Web Part.

In the Calendar Plus Web Part Settings menu,
click on Data Source Type under
the heading Data Source Settings

From there,
click on the radio
button next to SQL Server Table or
View
:

A new window
will appear that will walk you through the steps needed to display a SQL Server Table or View.

Step 1- SQL Connection


To begin, enter your Server Name and select the SQL Database you will be displaying. For
this example, we'll be using the following: Server name: "vngo15sql," and SQL
Database: "Northwind."

Check the box next to Windows Authentication (Trusted Connection)
and click on the Load Databases
button.

In the event that you enter a Server Name, check Windows Authentication (Trusted Connection), and get an error message
such as: "SQLServerSettings:
btnDatabase_Click: Login failed for user 'NT AUTHORITYIUSR'),
you will
need to go to SQL Server and add the
user and mapping database.

Once you have successfully added the user and mapped
the database, click OK.  You should now be prompted to proceed to Step
2.

Step 2 – SQL Table or View


In this step, you can select a table
or view. For this example, we are using the following: HW20_CalenPlus.

Step 3 – Base Columns


The Base
Columns represent the data which will be displayed on the Web Part.  Under Step 3, input the
following data, as applicable to your data source:

  • Item Display Column: Select the data type which will be displayed
    for items in calendar views (e.g.,
    Title).
  • Start Date: Select the start date column type in the
    list or library which will be displayed for items in calendar views (e.g., Start
    Time).
  • End Date: Select the end date column type in the list
    or library which will be displayed for items in calendar views (e.g., End Time).

Step 4 – Filter Data

Under Step 4, you will configure the filtering settings for your calendar. 
Your options include the ability to Show
all items
and Specify Filter
Conditions
.

  • Show All Items: Display all items from your view (in this example, HW20_Calen Plus) on the Web Part:

  • Specify Filter Conditions: Select one or more columns to filter. With this option, you can add additional
    conditions, defining how each condition is joined using the And and Or operand options.

    • For example,
      if you select 'CustomerID', 'is equal to', 'VINET' Or 'ShipAddress', 'contains'
      'Rua do Paço, 67,' then the
      calendar will display items that have the 'CustomerID' listed as 'VINET' OR items which have the 'ShipAddress'
      listed as 'Rua do Paço, 67.'

o  
After you
have finished entering in your desired settings and filters, click Save and Close > Apply > OK

o  
Navigate to
the Calendar Plus Web Part to view
your calendar with the filters set above.

Step 5 – Columns to Display in Item Tooltip


You can
select columns from Available Columns
to display on the tooltip.

After you
have selected your desired columns, click Save
and Close
> Apply > OK

Navigate to
the Calendar Plus Web Part.  You will see that your calendar now has the
tooltip you selected above displayed.

Step 6 – Column for Description


Select a column which will be displayed in
Work Week and Day views. (e.g., ShipAddress)

Step 7 – Item Identification


In this
step, you will establish the color-coding for your calendar.  You are able to select the colors which will
be displayed for each column in your calendar view with the following options:

  • Column to Color Code: Select Solid Colors or Gradient Colors.
  • Column to Identify by Icon: Click on this box to provide a URL image of
    the icon to use.

Once you
have finished with Step 8, click Save
& Close
on the Calendar Plus Web
Part Settings
window.

Next, click Apply, and then OK on the Web Part Tool Pane.  Your SQL Server Table or View will now be
displayed on the Calendar Plus Web Part.

 

Want more Calendar Plus
Web Part 4.5
?  Check out
the rest of our User's Guide series, or download a free 30-day trial today:

SharePoint

Applications

SharePoint apps are stand-alone applications that perform specific tasks on a SharePoint site. Apps can perform functions such as managing a discussion board or knowledge base, performing project management or time tracking tasks, or doing other workflow operations.

SharePoint

Product Suites

Experience greater power and savings by bundling our SharePoint apps and web parts.


Essentials


Essentials Plus


Bamboo Premier


Project Management Suite


Knowledge Management Suite


External User Manager


SharePoint

Web Parts

Extend SharePoint beyond its out-of-the-box capabilities by tailoring it to your requirements with Bamboo Solution’s growing portfolio of Web Parts. Web Parts are the building blocks of pages on a SharePoint site that can be used to customize the user interface and content of a site page. 

SharePoint

Product Suites

Experience greater power and savings by bundling our SharePoint apps and web parts.


Essentials


Essentials Plus


Bamboo Premier


Project Management Suite


Knowledge Management Suite


External User Manager


Office 365

Cloud Parts

Cloud Parts are functional components that extend your SharePoint environment whether it’s hosted, on-premises, or part of Microsoft Office 365. More than mere ports of existing software to the cloud, our Cloud Parts have been built from the ground up to take advantage of the best that the cloud has to offer.

SharePoint

Product Suites

Experience greater power and savings by bundling our SharePoint apps and web parts.


Cloud Parts Suite for O365/SP Onl.


Featured Services

SharePoint Health Check

A SharePoint Health Check will identify the causes of issues and risks associated with your specific environment, and is custom tailored to provide you with the best recommendations to optimize your SharePoint environment.

SQL Health Check

Document recommendations relating to performance, stability, availability, or a specific focus you request of your SQL Server database instances.

My SharePointXperts

The truth is that each SharePoint skill may not be a full time job for many organizations, and it is nearly impossible for one person to do everything you need – so augment your team with SharePointXperts; providing the skill sets you need when you need them!