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
0
votes
0answers
13 views

When I call PackageLicense SOQL query using rest API, I am getting duplicate records with same “NamespacePrefix” value in the API response

SOQL query - SELECT AllowedLicenses, CreatedDate, ExpirationDate, Id, IsProvisioned, LastModifiedDate, NamespacePrefix, Status, SystemModstamp, UsedLicenses FROM PackageLicense When I call the above ...
2
votes
0answers
39 views

Insufficient Privileges On Custom Object Deletion

I am observing a weird behaviour on scratch org, When I tried to delete the custom object it throw an "Insufficient Privileges" error, but this is happening when only financial service cloud ...
0
votes
1answer
17 views

Nothing shows in Personal Settings --> Connected Accounts in sandbox org

After successfully setting up Einstein Activity Capture (for Google) on my production org, I then assigned the Standard Einstein Activity Capture permission set to a user. In the production org I was ...
1
vote
1answer
38 views

How To Enable Einstein Activity Capture In Sandbox Org

After successfully setting up Einstein Activity Capture (for Google) on my production org, I then created a sandbox for it. In the sandbox org, when I go to Einstein Activity Capture in Settings, the ...
3
votes
1answer
112 views

Why can't I refresh any of my sandboxes

I am unable to refresh any of my sandboxes We have 20 remaining Developer sandboxes We have used 5 Developer, 1 Partial and 1 FullCopy.
0
votes
1answer
22 views

Impact of uninstalling installed package from production on sandbox?

I have to remove all of the installed packages (mostly managed packages) from Production. Reason: Some of the packages are unwanted now and for others a different package version(not higher) is ...
2
votes
0answers
42 views

How to handle expired access/refresh token from visual studio

Currently, I'm facing an issue while retrieving package.xml after refreshed the sandbox. Error authenticating with the refresh token due to: expired access/refresh token Note: I have reauthorized the ...
0
votes
2answers
64 views

Best Practices for Change Set and Deployments

If we built an entire web of objects and tons of flows and apex code that goes along with them. Would it make sense to split this into 2 pieces. The first one containing only the object and fields, ...
0
votes
0answers
38 views

not available for deploy for this org error using VSCode

I recently refreshed my sandbox and trying to deploy some new files, myApexClass.cls, to the sandbox through VSCode, but I am getting the following error message. Question How do I resolve this issue ...
0
votes
1answer
16 views

Difference between sending leads into Dev account as opposed to Sandbox account? Leads not sent into Sandbox with similar settings as Dev account

We have created a webapp to send Leads into the salesforce system, which works great in our Dev account. However when using the same app for another business, which has a Sandbox account, the Leads ...
1
vote
1answer
87 views

Messaging.sendEmail not sending emails for non-admin profile in sandbox

In a partial sandbox I am calling Messaging.sendEmail through an @InvocableMethod through a Flow, and emails are not going out for a non-admin profile. There are no errors anywhere and even debugging ...
3
votes
0answers
53 views

How to access a refreshed Sandbox in CI/CD? [duplicate]

We are using the classical machine-to-machine approach to connect to our DevHub to create scratch org, but in pre-release we need to connect to sandbox environments, which we would like to refresh ...
0
votes
1answer
95 views

Process Builder: Ischanged() does not work for new records

I am trying to create a process that runs when it meets the following criteria: Field A has been inserted or changed Field B has a certain picklist value(Attended or connected) Field C or Field D(...
0
votes
1answer
69 views

Bring validation rule to VS Code project

I am new to Salesforce and I have a question regarding to my first real task so I don’t make nothing wrong. I have created a new validation rule in my sandbox and I want to bring this to my Visual ...
0
votes
2answers
27 views

Experience Cloud Visualforce page is having library and resource loading issues after cloning a Sandbox from Production

The Visualforce page is working fine in prod, but I spun up a Sandbox to do some dev work on it and the CSS wasn't loading, nor was jQuery. jQuery seems to be the first area where things start to ...
2
votes
1answer
373 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
33 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
80 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
35 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
31 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
56 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
75 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
57 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
63 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
48 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
37 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
215 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
84 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
67 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
139 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
45 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
126 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
66 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
71 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
35 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
128 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
30 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
130 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
30 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 ...
-1
votes
1answer
70 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
174 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
282 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
127 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
47 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
160 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
56 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
204 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
173 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
53 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?

1
2 3 4 5
13