Connect a Google Sheet to your S.A.M. layout using the Data Source module. By the end of this guide, your spreadsheet data will appear in the layout and be ready for display customization in a Data Table.

Before you begin

You will need:

  • A Google account with access to Google Sheets
  • A Google Sheet containing the data you want to display
  • Access to the S.A.M. Layout Editor on RunSam.com

Publishing a spreadsheet to the web makes its contents publicly accessible. Do not include private, personal, confidential, or sensitive information in the sheet.

1. Create a Google Sheet

Create a new Google Sheet and enter your data. Use the first row for your column headings, then enter your data in the rows below the headings.

Google Sheet with a heading row and sample data beneath it

2. Open the File menu

In your Google Sheet, select File.

Google Sheets File menu highlighted

3. Open Publish to web

Select Share, then select Publish to web.

Google Sheets Share submenu with Publish to web highlighted

4. Publish the spreadsheet

In the Publish to the web window, select Publish.

Publish to the web dialog with the Publish button highlighted

5. Confirm the action

Select OK to confirm that you want to publish the spreadsheet.

Publish confirmation dialog with the OK button highlighted

6. Open your layout

Return to your S.A.M. layout and select the gear icon in the upper-right corner of the Layout Editor.

S.A.M. Layout Editor with the gear icon highlighted

7. Open the Module Manager

Select Module Manager.

S.A.M. Layout Editor with Module Manager highlighted

8. Select a module type

Open the Select type menu.

S.A.M. module manager with the module type selector highlighted

9. Add the required modules

Select and add both of these modules:

  • Data Source
  • Data Table

S.A.M. module type menu with Data Source and Data Table highlighted

10. Save the modules

Select Add Module for each module. Once both modules have been added, select Save.

S.A.M. Module Manager with Add Module and Save controls highlighted

11. Open the Data Source module

Select the Data Source module.

S.A.M. Layout Editor with the Data Source module highlighted

12. Name the module

Enter a clear name for your Data Source module.

S.A.M. Data Source module name field highlighted

13. Choose a connector

Select the Connector field to choose a data source.

S.A.M. Data Source settings with the Connector field highlighted

14. Select Google Docs

From the available connectors, select Google Docs.

S.A.M. Connector menu with Google Docs highlighted

15. Copy the Google Spreadsheet ID

Return to your Google Sheet and copy the Spreadsheet ID from the browser address bar. The Spreadsheet ID is the text between /d/ and /edit in the URL.

For example, in this URL:

https://docs.google.com/spreadsheets/d/SPREADSHEET_ID/edit

Copy only SPREADSHEET_ID.

Google Sheets Publish to the web dialog with the spreadsheet identifier highlighted

16. Paste the Spreadsheet ID

Return to your layout and paste the copied Spreadsheet ID into the Google Document ID String field.

S.A.M. Data Source settings with the Google Document ID String field highlighted

17. Copy the Google Sheet GID

Go back to your Google Sheet and find the gid value in the browser address bar. For example, if the URL ends with gid=0, copy only 0.

Google Sheets address bar with the gid value highlighted

18. Enter the GID

Paste the number into the Google Sheet GID # field, then select Save.

S.A.M. Data Source settings with the Google Sheet GID field highlighted

19. Verify the connection

Confirm that your spreadsheet data appears in the Data Source module. If it does, the Google Sheet is connected successfully.

S.A.M. Data Source module displaying imported Google Sheet data

20. Customize your Data Table

Use the Data Table module to control how your Google Sheet data is displayed, including:

  • Font style and size
  • Text colour
  • Row and column formatting
  • Position and layout
  • Other display settings

These options will be covered in Part 2: How to Connect a Google Sheet to Your Layout (Data Table).

Expected result

Your published Google Sheet data appears in the S.A.M. Data Source module and is ready to be formatted through the Data Table module.

About EditNew

Editnew Inc. is a technology company specializing in new media, with a focus on digital signage and emergency communication solutions. We help organizations and reseller partners deploy, manage, and support reliable information and notification systems.

Media Contact

Jeremiah Archambault info@editnew.ca +1 250 999 9368