Skip to main content

Creating a Sandbox Template for Nue

A step-by-step guide to configuring your Salesforce Sandbox Template to ensure Nue works correctly after a sandbox refresh.

N
Written by Nue User
Updated over 2 months ago

When creating or refreshing a Salesforce Partial or Full sandbox, you must include specific Nue-related objects and follow required post-refresh configuration steps. This article provides the recommended Sandbox Template configuration and the Salesforce steps needed to create it.


What Is a Sandbox Template?

A Salesforce Sandbox Template defines which data objects are copied into a sandbox during a refresh.
For Nue customers, this template ensures that all core pricing, product, and credit-related objects are included so that your Nue configuration works as expected in the refreshed sandbox.

The template acts as a checklist of required objects plus the Salesforce steps to create and use the template.


Required Objects for Nue

To maintain full Nue functionality, your Sandbox Template must include the following objects.

Standard Salesforce Objects

  • Product2

  • PriceBookEntry

Nue (Ruby__) Managed Package Objects

You must include all core pricing, credit, and product relationship objects:

  • Ruby__ProductOption__c

  • Ruby__PriceDimension__c

  • Ruby__PriceTier__c

  • Ruby__ProductOptionPriceDimension__c

  • Ruby__ProductPriceDimension__c

  • Ruby__UOM__c

  • Ruby__Entity__c

  • Ruby__CreditType__c

  • Ruby__CreditPool__c

  • Ruby__CreditConversion__c

  • Ruby__ProductRelationship__c

  • Ruby__ProductRelationshipMapping__c

  • Ruby__ProductRelationshipPriceDimension__c

These objects are essential for product configuration, pricing, usage tracking, and relationships within Nue.


How to Create a Sandbox Template in Salesforce

Follow the steps below to build the template in your org.

Salesforce Setup Path

  1. Go to Setup

  2. In Quick Find, search for “Sandboxes”

  3. Select Sandbox Templates

  4. Click New Sandbox Template

  5. Select all required objects listed above

  6. Save the template and ensure it is assigned when creating or refreshing the sandbox


Salesforce Reference

For additional Salesforce documentation on Sandbox Templates, see the article Create or Edit Sandbox Templates (Salesforce).


Important Notes

  • Partial Copy Sandboxes require a template — without one, essential Nue data may be missing.

  • Full Sandboxes include all data by default, but using a template ensures consistency and avoids missing managed-package objects if restrictions are applied.

  • A sandbox missing these objects may result in:

    • Broken product catalog syncing

    • Incomplete pricing configuration

    • Missing relationship mappings

    • Errors when running Nue Revenue Builder or syncing data


Summary

To ensure a successful sandbox refresh:

  • Include all Nue-related objects listed in this article

  • Use a Sandbox Template for Partial Copy sandboxes

  • Follow the Salesforce setup path to create and assign the template

A properly configured template prevents integration issues and ensures your sandbox environment behaves consistently with production when using Nue.

Did this answer your question?