Questions tagged [sandbox]

A sandbox is a copy of your production environment that can be used for various purposes such as development, testing, or training. The three types of sandboxes are developer, configuration-only (config-only), and full (full-copy). The login page for sandboxes is https://test.salesforce.com/.

Filter by
Sorted by
Tagged with
2
votes
1answer
336 views

How to ensure 100% code coverage for isSandbox() method branches [duplicate]

I am using the isSandbox() method outlined in the article Determine the organization's edition and environment via APEX code, to determine whether my current org. is a Sandbox. Sample code from the ...
1
vote
1answer
30 views

Managed Package on Sandbox : Namespace is not removed and the entire app just crashes

I've installed a managed package (released version) on a sandbox and it doesn't work because Namespaces are not removed on the Custom fields API name from Lightning component controllers : From my dev ...
1
vote
0answers
30 views

I cannot change the status of contracts in a sandbox environment (Full copy)

I am having an issue. In a sandbox environment, I cannot change the statut of contracts as system admin, from draft status to any status. This message error displays :" You encountered some ...
0
votes
0answers
31 views

How to find which sandbox a user was created in?

A friend asked me how to figure out which sandbox their user was created in because the username is not being allowed to be reused. Attempts to use Forgot Your Password? at test.salesforce.com have ...
1
vote
0answers
29 views

OAuth2 to Sandbox community with `refresh_token` - requested scope not available

I am using Salesforce Mobile SDK for iOS which uses OAuth 2.0 User-Agent Flow. When authenticating against a community, the URL looks like so https://<Community>/<OptionalPath>/services/...
1
vote
1answer
32 views

Can't connect cloned repo to sandbox in VS Code

I'm using VS Code, Bitbucket, and a standard sandbox (not scratch org).  What's the correct procedure to clone an existing repository and connect it to the sandbox? I've read this question/answer but ...
1
vote
0answers
27 views

Can we refresh Partial Copy sandbox without any data just like developer sandbox

I have a partial copy sandbox created recently and I see that Salesforce loaded around 1.5GB of data from Production. While refreshing partial copy sandbox, I have created a sandbox template including ...
1
vote
1answer
49 views

how I use skinny tables in a sandbox

If I plan to use Skinny tables in my org, and say use it for accounts to improve performance issues, and as a result, set up say 30 fields in the skinny table, how do this work in the sandbox if ...
0
votes
0answers
28 views

Access REST API with Connected-App and JWT Bearer Token Flow

I read this article and created php demo script. https://help.salesforce.com/articleView?id=sf.remoteaccess_oauth_jwt_flow.htm&type=5 Environment: Sandbox OAuth Scopes: api, refresh_token, ...
0
votes
1answer
11 views

How can we restrict managed package not to installed by default in sandbox when refresh sandbox or created from production

How can we restrict managed package not to installed by default in sandbox when refresh sandbox or created from production .
0
votes
1answer
38 views

Convert lead com.sforce.ws.ConnectionException error

I have been using SOAP API(v43.0) and patner wsdl(v43.0) for converting leads. It was working fine till sometime. But recently it started failing with com.sforce.ws.ConnectionException. And this is ...
0
votes
1answer
23 views

Community in partial sandbox

In December, I created a partial sandbox from production.  I have several Communities in production.  Today, I went to publish my community in the partial sandbox only to discover that there doesn't ...
0
votes
1answer
92 views

Is Pardot Sandbox available to install for everyone

I want to install Pardot Sandbox. Please note that, we already have Pardot that was purchased before 2018. We do not have a full Salesforce sandbox. I could'nt find a clear documentation that tells me ...
0
votes
0answers
41 views

INVALID_ARGUMENT_TYPE on ContentVersion insert in test method, varies by sandbox

I'm getting an exception in one sandbox and not another, anytime I try to insert a ContentVersion. I created a simple test to distill this down to its essence: @isTest public class SampleTest { @...
1
vote
1answer
51 views

PushTopic record not getting copied over while creating/refreshing the full sandbox

We create trial orgs from environment hub with managed packages and related configuration. This configuration also includes a PushTopic record. However while creating/refreshing full sandboxes from ...
0
votes
0answers
64 views

MTLS certificate error

I have been breaking my head to get the Mutual Authentication(MTLS) to work in Salesforce for a while but with little success. I am trying this out on a sandbox by enabling this feature and by ...
0
votes
1answer
26 views

Enabling content delivery in old sandbox org

Current issue I have is installing a new version of a package on an old sandbox org but it gives me the error "Class MY_CLASS: Invalid type: Schema.ContentDistribution". I am trying to ...
1
vote
1answer
54 views

How to set up VS code so I can switch smoothly between different sandboxes?

I followed this really helpful guide to set up my VS Code environment and was able to get my Dev sandbox connected. Now I want to connect another sandbox (e.g. QA) to my VS Code because my goal is to ...
0
votes
1answer
30 views

User/Profile access to Organization fields (IsSandbox) in Flow

I have a Flow that checks the Organization field "isSandbox" to determine whether or not to email a test address or a real address. However, when logged in as a non-admin user, this field is ...
1
vote
1answer
35 views

Does developer edition salesforce org's run in production environments?

I'm studying for a certification, this doubt came t me, and I couldn't find any documentation regarding this, I was trying to find differences between dev-sandbox and production, besides the size, ...
0
votes
1answer
32 views

Automated copy of records only (no metadata) from Production to Sandbox

I have read and researched on google and find that any refresh, clone or copy options copies all or selected data plus the metadata or only the metadata from the Production org to Sandbox. Is there a ...
0
votes
1answer
65 views

Conflict connecting to different org with same username and password

Conflict connecting to different org with same username and password. Is there any other way to login to the correct org? I am a user in two different salesforce orgs. My profile is System ...
0
votes
1answer
24 views

Do you need to create new outbound changeset when components are modified?

Let's say I have created an Outbound ChangeSet with a few components like Page Layouts and Lightning Flows. I haven't pushed the change set to Production yet. In the meantime, I decided to make some ...
0
votes
2answers
82 views

How long does a trailhead playground org last?

When I go to trailhead I have a "Hands-On Orgs" option under my profile picture. How long does an org created through that menu last? Screenshot of the menu Screenshot when creating a new ...
0
votes
1answer
21 views

Custom button behaves differently in different sandboxes

I am fairly new to salesforce and have never used a sandbox before. Currently, I am working with two sandboxes provided by a client. In one sandbox a custom button I added by using URL hack is working ...
0
votes
1answer
45 views

INVALID_FIELD_FOR_INSERT_UPDATE, cannot specify Id in an insert call While testing my Apex Trigger

I am new to salesforce, and I am getting an error : INVALID_FIELD_FOR_INSERT_UPDATE, cannot specify Id in an insert call I am trying to test my Trigger My Trigger trigger invoiceTrigger on ...
2
votes
0answers
126 views

CORS Issue loading static resources in lightning

In Winter '21 we have started getting a CORS error when loading resources from static resources. We believe it relates to this. If this is the intended behaviour, what is the recommended way of ...
0
votes
2answers
162 views

Full Sandbox is really required?

We have been paying for full sandbox license. Our setup is not complex and we feel it is not required to spend so much on full sandbox. Can someone suggest me If we should really have a full sandbox ...
0
votes
1answer
88 views

Is there some standardized way to ensure custom settings are not automatically cloned into Sandboxes?

Among other things, our custom settings include URLs for production servers and credentials to access those servers. Arguably, some of these things should probably be Named Credentials, but the ...
0
votes
0answers
46 views

Migrating All Metadata from Developer Org to Sandbox [duplicate]

Is there any way to move all org metadata (Objects, Apex classes, VF pages, Aura) from Developer Edition to Sandbox? I have started my development in Developer Org, Now i have Purchased new Enterprise ...
0
votes
1answer
108 views

How do I add ContactPointAddress.PreferenceRank field?

Hi I am comparing a sandbox to production and noticed that two additional fields are present on the Contact Point Address object in the sandbox. Preference Rank Usage Type I don't think they are ...
0
votes
0answers
54 views

Custom Settings allow limit is 0MB in Sandbox

I try to update Custom Settings in my sandbox org. And I meet CUSTOM_SETTINGS_LIMIT_EXCEEDED error message. I found Custom Settings in my Sandbox allow limit is 0MB. Please see follow picture. How ...
0
votes
1answer
120 views

Copy all Metadata from Sandbox to Production [duplicate]

How do you transfer all setting & metadata (not data) from a sandbox to production? I have just joined a project which has been tested and approved by the client. My first job is to move ...
0
votes
1answer
118 views

Can i add Salesforce developer org or Sandbox Org into Social studio?

I want to add either Salesforce developer org or Sandbox Org into Social studio . Then want to use it in Engagement macros so that i can test Lead and case creation In Service cloud from social studio ...
0
votes
1answer
40 views

Groups not showing in partial sandbox

I created a partial sandbox and noticed that the groups in my production instance did not carry over. Is this normal?
0
votes
0answers
62 views

Mapping text field to picklist field

I have a picklist field on 'Product' object which contains two values as 'Yes' and 'No'. On the 'Classification' object I have another field of text(100). I need to map text(100) to picklist field. ...
0
votes
0answers
32 views

Issue keeping connected app values the same after Salesforce redeploy [duplicate]

I'm facing an issue when we redeploy Salesforce. The connect applications on each environments lose all of their correct settings. I'm hoping to find a way around this. My main goal is to keep the ...
0
votes
0answers
31 views

Can I autorun Data Mask when creating a new sandbox?

The challenge I have is that I need to be able to mask data in my Salesforce sandbox as soon as its created, is it possible to get the Data Mask app to run when the s/box is being created?
0
votes
1answer
41 views

System Admin with View All permissions can not see records -Sandbox

We have a new sandbox and are logging in as a System Admin user. The Org Wide Default sharing settings on Accounts (and most objects) is Public Read Write. System Admin permissions on Account are View ...
3
votes
1answer
176 views

How does SFDX and org changes work for Admins?

I've been trying to put together a plan for using SFDX in conjunction with a CI tool like Azure DevOps. It appears to have all of the right pieces for deploying metadata to/from git and scratch orgs/...
3
votes
3answers
528 views

Sample Data in Developer Sandbox

I've seen a few threads on this subject, but they're pretty old. Thought I'd reach out and see if there's there were any developments on this subject. We have a highly complex data structure (500+ ...
0
votes
1answer
129 views

Best way to Cover Organization isSandbox in TestClasses

hope you're all doing well and still able to chug along during the pandemic. Today, I'm trying to put in place some checks for sandbox so that certain classes will not run in production. TLDR: How do ...
1
vote
0answers
22 views

Translations of standard fields via change set

Is it possible to migrate the translated values for standard fields and managed packages? Due to the fact that standard fields cannot be included in the change set, i can't find a way to migrate the ...
1
vote
1answer
57 views

Error message installing App from AppExchange [closed]

I am tryin to install the App "Any Record Hierarchy" (https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000G12hNUAR) from AppExchange on my Sandbox, but i get an error: ...
1
vote
1answer
110 views

Is it possible to increase size of storage for Devpro sandbox?

Is it possible to increase the storage size from 1Gb to something larger for Dev-pro Sandbox. Is my only option to change to Full or Partial Copy Sandbox?
1
vote
1answer
95 views

Pros and Cons of Sandbox delete vs refresh

Our partial sandbox is out of date, and before undertaking a new project, our developers suggest deleting the sandbox completely and create from scratch instead of refreshing and renaming it. Can ...
0
votes
0answers
241 views

multiple developers working on same sandbox using visual studio code

We (Team & Org.) are new in salesforce development and not sure if our infrastructure setup is right or not. Current Setup: We have a set of 3 developers working on one developer sandbox. The ...
0
votes
1answer
30 views

Shifting from Sandbox to Production in Salesforce

We have just connected sandbox with MC so there is nothing much in the MC apart from synced contacts from sandbox and couple of queries and DE. Should I just disconnect the salesforce integration from ...
2
votes
1answer
241 views

if i create a record in a Sandbox, is it possible or impossible that it might accidentally have the same ID as a record in the Production org?

My Apex code in a Sandbox will execute a DML Insert that will create an Account. It would simplify my algorithm if I were certain that the new record's ID could not possibly match that of an Account ...
0
votes
0answers
32 views

i am getting error when deploying test class to production, but not failing in sandbox [duplicate]

error when deploying /* * @Description - This test class is to provide test data for AccountTrigger & AccountTriggerHandler * This Test class Also Tests The Trigger Logic On After Update To sent ...

1
2 3 4 5
13