■
Table of Contents
- What is a Sandbox?
- What's the difference between a Partial Sandbox and a Full Sandbox?
- Best Practices - Sandbox Expectations (Please read!)
- Getting Started - Prep work before creating your Sandbox
- Create a Partial Sandbox
- Create a Full Sandbox
- Configure the Sandbox
- Access the Sandbox
- Refresh the Sandbox
- Updating Simpplr after a Sandbox Refresh
What is a Sandbox?
A Sandbox is an environment to test functionality, features, data changes, applications, integrations, SSO, and new releases before implementing them in your production environment. This will ensure your intranet is functioning as intended before going live with your employees!
What's the difference between a Partial Sandbox and a Full Sandbox?
Partial sandbox includes configuration, such as integrations and a small amount of data that’s copied over from your production org. This can include things such as images, articles, feed, and dashboard content. A Partial sandbox can be used to test integrations and upgrades. It will not include any posts on the feed, and copied over sites will have no members. It is important to note that all features will work and can be tested.
- Has limited storage space: 5GB of data and another 5GB for files.
- Is included with your license.
Full sandbox includes everything in your production org and is an exact replica of it. The storage limit in the full sandbox has the same storage limit as the production org. This means that anything in the production org can be copied over (excluding Newsletters and Native videos). Similarly to a partial sandbox, a full sandbox can be used to test integrations and upgrades. The difference between is that the user can see exactly how existing content, sites, site membership, files, etc. interact after changes are made.
Additional information on sandboxes can be found here.
SANDBOX TYPE | STORAGE LIMIT | WHAT’S COPIED |
Partial Copy Sandbox |
Data storage: 5 GB File storage: 5 GB |
Metadata and sample data |
Full Sandbox | Same as your production org | Metadata and all data |
Partial Copy Sandbox
A Partial Copy sandbox is intended to be used as a testing environment. This environment includes a copy of your production org’s configuration (metadata) and a sample of your production org’s data as defined by a sandbox template. Use a Partial Copy sandbox for quality assurance tasks such as user acceptance testing, integration testing, and training.
Full Sandbox
A Full sandbox is intended to be used as a testing environment. Only Full sandboxes support performance testing, load testing, and staging. Full sandboxes are a replica of your production org, including all data, such as object records and attachments, and metadata.
Best Practices - Sandbox Expectations (Please read!)
- Due to the storage limitation of a Partial Sandbox, if you are looking to fully replicate your Simpplr environment it is recommended to test in a private site in your Production environment instead of your Partial Sandbox. (If you have a Full Sandbox, your environment will be fully replicated, minus integrations)
- You will most likely not need to refresh your Sandbox unless you have a specific use case. We recommend you just create a new Sandbox instead of performing a refresh. We provide you with one Partial Sandbox. Additional Partial Sandboxes are available for an additional cost. (Full Sandboxes are available up to the limit that you purchase)
- Simpplr Support does not have access to your Sandbox environment by default. Take the necessary measures to remember your Simpplr Service Account password and setup multiple Sandbox users with admin privileges to log in if needed.
Getting Started - Prep work before creating your Sandbox
- We recommend that you use the Simpplr Service Account to create the Sandbox
- Ensure the Simpplr Service Account’s username in Salesforce starts with simpplr.serviceaccount@
- Please ensure you have the password for the Simpplr Service Account. (If you do not have it, reset the password)
- Your Sandbox users are all given 'dummy' accounts and will have '.invalid' appended to all users' email addresses
- To login as a Sandbox user, use your Production password (Be aware Production passwords will transfer to the corresponding Sandbox user account!)
Back to top
Create a Partial Sandbox
- From your Salesforce dashboard, navigate to the Setup menu
- From the Quick Find box, type Sandboxes and search
- If you haven't created a sandbox template yet, click the Sandbox Template tab, then New Sandbox Template
- Give your template a name (i.e. SimpplrSandboxTemplate)
- Type Simpplr into the object search box
- Click the checkbox next to "Selected" to select all Simpplr Objects
- Uncheck the following checkboxes next to these Objects:
- Simpplr__Analytics
- Simpplr__Simpplr_social_analytics
- Simpplr Log
- Click Save
- Once your template is created, click New Sandbox
- Name your sandbox environment and choose Partial Copy and click Next. Note, do not choose Developer or Developer Pro when choosing your Sandbox type. For Simpplr purposes, you will only ever need to be concerned with either Full or Partial Copy.
- Assign the template to your new environment
- Ensure the appropriate Objects are selected and click Create. It may take up to several hours before your Sandbox is fully created and ready to use. You will receive an email once it's ready.
- Your Partial Sandbox is now created! You can now test any Simpplr functionality in your Sandbox environment before going live.
Back to top
Create a Full Sandbox
- From your Salesforce dashboard, navigate to the Setup menu
- From the Quick Find box, type Sandboxes and search
- If you haven't created a sandbox template yet, click the Sandbox Template tab, then New Sandbox Template
- Give your template a name (i.e. SimpplrSandboxTemplate)
- Type Simpplr into the object search box
- Click the checkbox next to "Selected" to select all Simpplr Objects
- Uncheck the following checkboxes next to these Objects:
- Simpplr__Analytics
- Simpplr__Simpplr_social_analytics
- Simpplr Log
- Click Save
- Once your template is created, click New Sandbox
- Name your Sandbox (i.e. SimpplrFullSandbox01) and click next in the Full column.
- Select All and check the Include Chatter Data checkbox
- Click Create
- It may take up to several hours before your Sandbox is fully created and ready to use. You will receive an email once it's ready. (Full Sandbox will take longer to create since it's syncing all of your Production data)
- Your Full Sandbox is now created! You can now test any Simpplr functionality in your Sandbox environment before going live.
Back to top
Configure the Sandbox
- Once the Sandbox is created you can login to your Sandbox at test.salesforce.com with your Simpplr Service AccountClick the Login button from the Sandbox settings you just set. Please note you can click this button ONLY ONCE
- As a security precaution, Salesforce will make your Sandbox user email addresses "invalid" by adding ".invalid" to the end of each Sandbox user's email address
- From Setup in your sandbox, type Users into the Quick Find box
- Locate the user(s) you want to allow access to and click Edit next to their name
- Remove the “.invalid” next to the email address of each user that will retain access to the sandbox. This will need to be done manually before they are able to login to the Sandbox: Check the box next to Generate new password and notify user immediately and click Save. Users will receive an email from Salesforce to create their password. Note: Please inform users of their sandbox username, as it will differ from production.
- Go to Salesforce Setup and search for Remote Site Settings.
- Go to Salesforce Setup > Company Information. Please note what your Instance number is in the "Instance" field (i.e. CS97)
- Click on Edit next to Rest_API_URL and change the instance to match the one of your Sandbox (i.e. Instance is CS97 = https://cs97.salesforce.com)
Access the Sandbox
- Sandbox Users can now access the Sandbox at test.salesforce.com with their Sandbox user account
- You may have to clear your web browser's cache before logging into the sandbox environment
- Your username is your Production account's username + .sandboxname. For example, if your username for production is joe@yourdomain.com, and your sandbox environment is called 'YourDomainSB', the sandbox username will be joe@yourdomain.com.yourdomainsb.
- The password to login to the sandbox is the same as your Production user account
Back to top
Refresh the Sandbox (Not recommended)
Disclaimer: As stated above, we do not recommend you refresh your Sandbox unless you have a specific business case that can't be fulfilled by just creating a new Partial Sandbox. Refreshing is a time-consuming process and in most cases is not needed.
Please review the limitations and risks for Sandbox refreshes:
- You will lose ALL data when you perform a Sandbox Refresh (content, SSO, etc)!
- If your goal is to upgrade to a newer version of Simpplr you can request an upgrade to one of your current Sandboxes here: https://calendly.com/simpplr
- Partial Sandbox - You can refresh your Partial Sandbox once every 5 calendar days
- Full Sandbox - You can refresh your Full Sandbox once every 29 calendar days
- Refreshing your sandbox can move it to a different Salesforce instance. For example, the sandbox can move from Instance CS40 to CS50. If you’re subscribed to Trust Notifications, check your subscription settings to ensure that you continue to receive updates about unforeseen incidents and planned maintenance that affect your sandbox.
Refreshing a sandbox updates its metadata from the source org. If the sandbox is a clone or if it uses a sandbox template, the refresh process updates the org’s data and its metadata.
Getting Started:
- As your org's Salesforce System admin, with the Service account login credentials, log in to Salesforce with the service account credentials.
- From the Salesforce Dashboard, go to Setup
- In the Quick Find box, type Sandboxes and click enter
- Find the Sandbox environment you want to refresh and click Refresh
- Select the Sandbox copy you want and click Next
- Ensure the Salesforce objects you want are being carried over, then scroll down and click Create
- To activate your Sandbox immediately after you refresh it, select Auto Activate (You'll receive an email when the refresh has completed instead of an activation email)
Updating Simpplr after a Sandbox Refresh
-
Update or Add Remote Site Settings
- Login using the Simpplr Service Account
- Go to Setup and type Company information into the Quick Find box and click it
- Navigate to your Instance in the right column (You should see it begins with "CS"). This will confirm you're in your sandbox environment.
- Go back to the Quick Find box and type Remote Site Settings and click it
- Scroll down until you see REST_API_URL and click Edit
- Replace the url shown with https://csxx.salesforce.com ("xx" being your instance number such as "cs55" which would be https://cs55.salesforce.com)
- Click Save
- Go back to the Remote site Settings menu and click New Remote Site
- Name your new Remote Site (i.e. CompanyName Sandbox 1) and assign the url as https://staging.api.simpplr.com
- Click Save
- Go back to the Remote site Settings menu and click New Remote Site
- Name your new Remote Site (i.e. CompanyName UAT 1) and assign the url as https://staging.api.simpplr.com
-
Update your Post-Install Instructions
- From the Quick Find box, type Installed Packages and click it
- Choose Simpplr and then scroll down to Post Install Instructions and click View (This will open a new page)
- In the Service Account Setup box, click Connect account
- You will be asked to allow Simpplr access to Salesforce functions, Click Allow
- You can now access Simpplr in your sandbox environment!
-
Import Chatter Groups (Simpplr Sites) using Dataloader
- Ensure that you have Dataloader installed: For instructions, click here. You'll also need to be a Salesforce System admin user.
- Open the data loader on your desktop and login as a Salesforce System Admin and
- Click Export All.
- Log in to your Production environment and check the box next to Show all Salesforce objects.
- Select Group (CollaborationGroup) from the dropdown menu, add the file name GroupExport.csv and choose the location where you want to save the .csv file, and click Next.
- Check the boxes next to the query fields: CollaborationType, Id, Name, and OwnerId. This will auto generate a query as shown below. You can edit this query as needed. Or you can copy and paste the query into the field as shown here: Select CollaborationType, Id, Name, OwnerId, owner.isactive FROM CollaborationGroup. The owner.isactive field will need to be typed into the query, as shown below.
- Click Finish, then in the popup, choose Yes when asked if you want to proceed. Then click OK. You can now close the data loader.
-
Navigate back to your sandbox Salesforce environment and open Simpplr. Go to Manage Application > Troubleshooting and uncheck the Collaboration Group box. Then click Save. This step is going to prevent duplicate sites from being created.
Import and export sandbox data using the data loader
Before completing this next series of steps, you'll want to make sure all inactive users from your Production environment of Salesforce have been removed by removing any "false" values from the GroupExport.csv spreadsheet you just created in the owner.isactive column. This step was completed above.
You'll also need to log out of your data loader in Production (File > logout) before starting these steps.
- Reopen the data loader and click Insert.
- From the dropdown menu, choose Sandbox (remember, you should be logged out of the Production environment right now). Enter your sandbox username and password, then click Log in. Then click Next.
- Check the box for Show all Salesforce objects and find Group (CollaborationGroup).
- Upload the GroupExport.csv file you downloaded from before using Browse.... Then click Next.
- From the next page, choose Create or Edit a Map and select Auto-Match Fields to Columns. Then click OK.
- Once the map is created, choose a location to save your success and error files on your computer. Click Next then Finish, then Yes. Your data is now syncing to your Sandbox environment.
- From the data loader home, click Export All. Then check the box for Show all salesforce objects. Once again, locate Group (CollaborationGroup) and select it. Click Next.
- Enter the following query into the box at the bottom, or select the fields from the list, then click Finish:
Select id, Name, OwnerId, CollaborationType FROM CollaborationGroup where Owner.isactive=TRUE order by name asc
Export Simpplr__Simpplr_Site__c data
- From the data loader, click Export All. Ensure you're still logged in to your sandbox environment. Then select the Simpplr Site (Simpplr__Simpplr_Site__c) object from the dropdown list. Choose a target for extraction. This is where you'll name your file and choose the saving point on your computer. Name your file SimpplrSiteExport.csv. Then click Next.
-
Either choose the following fields from the list, or enter the query below:
Select id, name, simpplr__Chatter_group_id__c from Simpplr__Simpplr_Site__c order by name asc
The query should read like the image shown below. Once input, click Finish, then Yes. - Once the SimpplrSiteExport.csv file is exported, you'll need to replace the Simpplr__Chatter_Group_Id__c column with the ID exported from the file you just created. Copy the Id column from the file you created at the end of the last step and paste it to the Simpplr__Chatter_Group_Id__c column in SimpplrSiteExport.csv. Save the SimpplrSiteExport.csv file (file 2).
- When logged in to your sandbox environment, upload the modified SimpplrSiteExport.csv file back to the data loader using the Update function.
- Select the Simpplr Site (Simpplr__Simpplr_Site__c) object and upload your SimpplrSiteExport.csv file using Browse....
- Click Next.
- From the next page, choose Create or Edit a Map and select Auto-Match Fields to Columns. Then click OK. Click Next.
- Once the map is created, choose a location to save your success and error files on your computer. Click Next then Finish, then Yes.
-
Close the data loader. Navigate to your Sandbox Simpplr environment and from Manage > Application > Troubleshooting, and check the box next to Collaboration group to reenable the trigger. Click Save.
Back to top
Comments
How do we connect our CSV file to our sandbox for the purposes of testing user data changes?
Hi Simpplr Team, we have a partial sandbox and we use that to test releases prior to them being pushed to production. We have spent countless hours going back and forth between Simpplr support and our team to nail down the steps to refresh the Sandbox and upgrade with new release (we've actually created our own version of the instructions as feel that some key bits have been missed). After the refresh has been done, we have to then advise that we need you to reconnect analytics, search, newsletter, video etc which can take 1-2 weeks. We also have to check our user synching and reset permissions for key users.
The above states "we do not recommend you refresh your Sandbox unless you have a specific business case that can't be fulfilled by just creating a new Partial Sandbox. Refreshing is a time-consuming process and in most cases is not needed".
But then if we scroll to the top of the page, it says "We provide you with one Partial Sandbox. Additional Partial Sandboxes are available for an additional cost"
Can you please confirm then that if we're not going to refresh the sandbox (due to the ongoing issues we have each time we do it), we will then have to pay to add another partial sandbox? Or will the new partial sandbox just replace our existing one at no cost?
Hi Natasha. I went ahead and created a ticket with our Support team to get more in depth here, but in short, if you have a partial sandbox active right now, and want another in addition to it, there is a cost. you'd need to speak with your Account Manager to set that up. But if you delete the current partial sandbox in favor of a new one, there is no cost. What I mean in the document is that we recommend deleting the current sandbox and configuring a new one to test new features, as opposed to refreshing all the time. This is true if you plan on doing a lot of testing.
Also Simpplr does not play a role in connecting or reconnecting your analytics, search, newsletter, etc. We cannot gain access to your org's sandbox environment. With your own version of the instructions, do you have a lot of System admins testing things in sandboxes that need to refer to them? I'm happy to improve our documentation if you could help me understand what steps are missing.
Please sign in to leave a comment.