SheetRocks
Documentation/Salesforce Integration

SheetRocks for Salesforce

Overview

SheetRocks for Salesforce is a native managed package that brings powerful spreadsheet capabilities directly into your Salesforce org. This guide covers Salesforce-specific installation, configuration, and integration details.

Installation

Prerequisites

Install from AppExchange

  1. Visit the SheetRocks listing on AppExchange
  2. Click "Get It Now"
  3. Choose your org (production or sandbox)
  4. Approve third-party access (required for managed packages)
  5. Select installation for "All Users" or specific profiles
  6. Wait for installation to complete (typically 5-10 minutes)

Post-Installation Setup

After installation, configure SheetRocks:

  1. Assign Permission Sets

    • Navigate to Setup → Permission Sets
    • Assign "SheetRocks User" permission set to users
  2. Add to Lightning Pages

    • Open Lightning App Builder
    • Add "SheetRocks" component to record pages
    • Save and activate the page
  3. Configure Sharing Settings

    • Review object sharing for Workbook__c
    • Default: Private (only owner can access)
    • Templates: Org-wide read-only sharing

Salesforce Architecture

Custom Objects

SheetRocks uses the following custom objects:

Workbook__c

Lightning Web Components

sheetrocksElement

Apex Classes

All Apex classes use with sharing to enforce Salesforce security:

Security Model

SheetRocks respects Salesforce security at multiple levels:

  1. Object-Level Security

    • CRUD permissions on Workbook__c object
    • Enforced through permission sets
  2. Field-Level Security

    • All field access respects FLS settings
    • Queries include WITH SECURITY_ENFORCED
  3. Record-Level Security

    • Private sharing model for workbooks
    • Templates use controlled sharing
    • Owner-based access control

Key Features in Salesforce

Linked Sheets

Connect spreadsheets to Salesforce objects with bidirectional syncing:

Creating a Linked Sheet:

  1. Click "Linked Sheets" in the toolbar
  2. Select a Salesforce object (Account, Opportunity, etc.)
  3. Choose fields to include
  4. Apply filters if needed
  5. Click "Create"

Syncing Data:

Supported Objects:

Record Page Integration

Launch SheetRocks directly from Salesforce records:

  1. Add SheetRocks component to Lightning page
  2. Component automatically detects record context
  3. Create linked sheets with record filters pre-applied
  4. Quick access to record-specific templates

Templates

Create and share standardized workflows:

Creating Templates:

  1. Build a workbook with formulas and formatting
  2. Click "Save As Template"
  3. Enter template name and description
  4. Template becomes available org-wide

Using Templates:

  1. Click "New from Template"
  2. Browse available templates
  3. Select and launch
  4. Work with a copy (template remains unchanged)

Template Use Cases:

Formulas with Salesforce Data

SheetRocks formulas work seamlessly with Salesforce data:

Reference Linked Sheet Data:

=FILTER(AccountSheet!A:F, COL[4] = "Active")
=SUMIF(OpportunitySheet!COL[Amount], OpportunitySheet!COL[Stage] = "Closed Won")

Dynamic Calculations:

=IF(AccountSheet!A2 = "", "No Data", AccountSheet!A2)
=VLOOKUP(B2, ContactSheet!A:C, 2, FALSE)

TAGS for Lookups:

=TAGS(PICK(ContactSheet!A:F, "Id", "Name", "Email"))

This creates interactive contact tags with Id, Name, and Email fields.

Permissions and Access

Permission Sets

SheetRocks User

SheetRocks Admin (optional)

Sharing Rules

Private Workbooks:

Templates:

Data Access

SheetRocks enforces Salesforce security:

Limits and Considerations

Salesforce Governor Limits

Be aware of platform limits:

Best Practices

Performance:

Data Management:

Security:

Troubleshooting

Common Issues

"Insufficient Privileges" Error

Linked Sheet Not Loading

Formula Errors

Performance Issues

Getting Help

Support Resources:

Release Notes

SheetRocks for Salesforce is actively maintained with regular updates:

Check AppExchange for the latest version and release notes.

Advanced Topics

Custom Integrations

Extend SheetRocks with custom code:

Lightning Web Component Integration:

// Embed SheetRocks in custom component
import { LightningElement } from 'lwc';

export default class CustomSheet extends LightningElement {
  // Your custom logic
}

Apex Integration:

// Programmatic workbook creation
Workbook__c wb = new Workbook__c(
  Name = 'Auto-generated',
  Data__c = '{"sheets":[]}'
);
insert wb;

API Access

Access workbooks via Salesforce APIs:

Compliance and Security

Security Review

SheetRocks has undergone Salesforce Security Review:

Compliance

SheetRocks complies with:


Ready to get started? Check out the Getting Started Guide for next steps.