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 to 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 that 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 that have the ‘ShipAddress’
    listed as ‘Rua do Paço, 67.’
      • After you have finished entering in your desired settings and filters, click

    Save and Close

      • >

    Apply

      • >

    OK

      .
  • 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 that 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 Online

The cloud parts are functional components that extend your SharePoint Online environment in Microsoft 365.

Supports Classic and Modern sites for SharePoint Online/Microsoft 365

SharePoint

Top SharePoint Online Products

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


Calendar Plus


Chart Plus


Knowledge Base


Project Management Central


Simple List Search

 

On-Premises Only

These web parts extend SharePoint beyond its out-of-the-box capabilities by tailoring it to your requirements with Bamboo Solution’s growing portfolio of SharePoint Web Parts.

SharePoint 2013, 2016, 2019, 2022 - Classic Pages Only

SharePoint

Top On-Premises Only Products

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


Calendar Plus


Data Viewer


Password Change


Password Expiration


Password Reset

 

Our team of Microsoft 365 experts help you get the most out of your Microsoft technology, we have the best Microsoft 365 talent to streamline your organization.

Streamline Your Department

We Have What You Need

Bamboo Solutions

Tools


Resources


Bamboo Installer