Skip to Content

SharePoint File System Vinyl Connection Guide 3.3

Overview

This guide describes the system requirements and instructions for connecting Vinyl to a Microsoft SharePoint File System database server.

To connect your servers, you must have Vinyl 3.3+ installed.

Note

At this time, the Microsoft SharePoint File System connection to Vinyl is read-only.

System Requirements

Database Server

Microsoft SharePoint File System

Client Web Browser

  • Chrome: 84+

  • Firefox: 73+

  • Safari: 13.0.1+

  • Edge: 84+

Connection Instructions

Adding a Data Server

  1. Navigate to the Vinyl IDE

  2. From the Connect menu, click on the Data Servers button

  3. Click the + Server button on the top left of the Data Servers panel. This will bring up the Server page. Provide the following information:

    • Server Name: Identifiable name for server connection

    • Type: Microsoft SharePoint File System

    • URL: URL associated with SharePoint instance

    • Click to expand Server Settings:

      • Enter the User Name and Password credentials associated with the SharePoint instance

    attachment

  4. Click Save to complete server connection.

Configuring Path for Data Storage Layer

After the SharePoint connection has been established as a Data Server, you will now see an entry for it appear in the Data Servers panel. This section reviews important recommended configuration settings for Path and Directory Browsing, for when you use this SharePoint data to work with from a Vinyl app. The following configuration settings will instruct Vinyl to look at the SharePoint root directory and support directory browsing.

  1. Navigate to the Vinyl IDE

  2. From the Connect menu, click on the Data Servers button

  3. Select the SharePoint entry from the Data Servers panel

  4. Click the Details button from the right-hand panel

  5. Click the Edit button

  6. Click to expand the File section

  7. Review and confirm the Path value is blank or null

  8. Review and confirm the Directory Browsing option is enabled

    attachment

  9. Save any changes and exit

Importing Database

  1. Navigate to the Vinyl IDE

  2. From the Connect menu, click on the Data Servers button

  3. Locate the entry for the Microsoft SharePoint File System from the Data Servers panel and click to select it

  4. Click the Details button from the right-hand panel

  5. Click the Edit button

  6. Click to expand the Utilities section

  7. Click the Tables icon to view the auto populated File table

    attachment

  8. Click the Results icon to view the records contained within the File table

Use Case Example

One scenario where you might leverage SharePoint data in a Vinyl app is if you want to display a page that lists SharePoint files and render the actual file itself on a panel. One way to configure this scenario is to build a page with two panels, you could use a Multi-row Panel to show all files on the left and a Single-row Panel to render the selected file content on the right.

In our example we have also created a copy of the SharePoint File table and stored that in our application SQL data source. The panel on the left is pointed at the copied File table from SQL, the panel on the right is pointed at the SharePoint File table:

A screenshot of a computer Description automatically generated with medium confidence

In order to create a panel that renders the SharePoint file display, you will use the Embed Control Type and point it to the Content Column (in this example). For more information about Vinyl Control Types, please see the Control Types article.

attachment

Important Notes

  1. Files on SharePoint must be stored in the Documents directory. At this time, Vinyl is only able to read and retrieve information stored under Documents in the SharePoint directory.

  2. If you are binding between different data sources the file names are case sensitive. For example, if the SharePoint file name is "file.pdf" then the file name must be "file.pdf" in any other data source it's referenced as well. Referencing a file name with a different casing (e.g., file.PDF) will cause Vinyl to not render the information correctly.

  3. If you are using any logic to build a path to a directory in a business object to try and bind the connector, you must use "\" and not "/". The forward slash will cause Vinyl to throw an error.

Example of Working Path: \documents\employees

Example of Non-Working Path: /documents/employees