19 votes
Accepted

Is Username Globally Unique?

Salesforce is split across login "domains." Each domain uses its own username index, which means it's entirely possible to create the exact same user on login.salesforce.com, test.salesforce.com, and ...
sfdcfox's user avatar
  • 490k
18 votes
Accepted

Is there a way to access SFDC API log?

There is now the Event Monitoring API (Paid Feature). You can use this with the API EventType to get a complete log of all the calls that were made on a certain day. You can use the METHOD_NAME, ...
Daniel Ballinger's user avatar
17 votes
Accepted

Exclusive differences Profiles vs permission sets?

As far as i know anything you can do w permission sets you can do w profiles, but there are a few things that can as of now only be done w profiles. The key UI difference in my experience is that only ...
16 votes

Exclusive differences Profiles vs permission sets?

What permission sets allow you to do is minimize the number of profiles that you have to create. It also allows you to temporarily add and remove permissions for users without needing to change their ...
crmprogdev's user avatar
13 votes
Accepted

Is it possible to get the Standard Field "Name" increased form 80 characters lenght to a greater legth by Salesforce Support?

No - it is not possible to increase the Name field from 80 chars. I raised a case with Salesforce Support regarding this, as I was curious. The response is below: Currently, this is not yet ...
Andy Hitchings's user avatar
13 votes

How to get the current sandbox-name programmatically (dynamically) via APEX?

After Spring'16 release there is an ability to specify an Apex class which executes every time the sandbox is copied. See SandboxPostCopy Interface. You can get the sandbox name from SandboxContext ...
Vadim  Rudkov's user avatar
13 votes
Accepted

Compile All Classes?

The ability to Compile All Code has been around as long as Apex Code has been a thing. You'll want to watch Peek Under the Hood of the New Apex Compiler, a Dreamforce 16 presentation that was later ...
sfdcfox's user avatar
  • 490k
12 votes

Action not displaying in Salesforce Lightning

If the highlight panel you're attempting to add actions to is for Case, note that Quick Actions added to the Case highlight panel actually appear on the Feed tab on the layout. Actions on cases and ...
Brian Mansfield's user avatar
11 votes
Accepted

Replacing the Picklist old values into new values?

No, workflow rules, triggers, validation rules, flows, Process Builders, and any other logic that would run on a normal DML operation will not run as a result of using Replace.
sfdcfox's user avatar
  • 490k
9 votes
Accepted

Inserting Accounts and Contacts Simultaneously

If you have an External Id field on Account that you can specify, you can set the relationship via the Name Pointing Field (Account). String externalId = '<some_value>'; Account ...
Adrian Larson's user avatar
  • 150k
9 votes
Accepted

Why can't I see "Login" button on User record

Enable Administrators Can Log in as Any User on "Login Access Policies"
Madhavi Bhattad's user avatar
8 votes
Accepted

Is there a way to see all recent changes in an org

Monitor Setup Changes Setup Audit Trail tracks the recent setup changes that you and other admins have made to your org. Audit history is especially useful in orgs with multiple admins. To view the ...
Adrian Larson's user avatar
  • 150k
8 votes
Accepted

Einstein Sentiment - Not precise

TL; DR The results from the supplied Einstein (Metamind) Sentiment model will only be as good as the input data that Salesforce used to create it. If your text varies significantly from the training ...
Daniel Ballinger's user avatar
7 votes

How to get the current sandbox-name programmatically (dynamically) via APEX?

There is now an official solution that is out with the Spring' 22 release. You can use the new getSandboxName() method: System.Domain d = System.DomainParser.parse(URL.getOrgDomainUrl()); System.debug(...
Fabien Taillon's user avatar
7 votes
Accepted

Sandboxes - Full versus Partial Copy - Same Except Storage

There are more differences. A Full Sandbox can only be refreshed every 29 days, whereas a Partial Copy Sandbox can be refreshed every 5 days. Only sample data is copied to a Partial Copy Sandbox on ...
Adrian Larson's user avatar
  • 150k
7 votes
Accepted

Salesforce Dev Org - Unable to Login - No access to mail

If you're registered as an ISV, you can log a case in the Partner Portal. Otherwise, there's nothing that support is willing to do for you. You'll have to build a new Developer Edition org from ...
sfdcfox's user avatar
  • 490k
7 votes

URL To A Record - Specify A Different Page Layout

You basically have three options: Change the RecordType of the record in question. Change the Profile of the running User Implement a Visualforce override Likely, only door number 3 is viable here. ...
Adrian Larson's user avatar
  • 150k
6 votes

How do you delete a class from production without using an IDE?

I guess you can do that with the Developer Workbench. Steps: Navigate to Rest Explorer Select Delete call /services/data/v34.0/tooling/sobjects/ApexClass/{Class Id} Also you can query for desire ...
Sashko's user avatar
  • 86
6 votes

Exclusive differences Profiles vs permission sets?

In addition to Crmprogdev's answers and comments, this paragraph taken from here may be helpful: The key difference between the two is that the Profile is the users base set of permissions and ...
Andy Hitchings's user avatar
6 votes
Accepted

How can I stayed logged in as ADMINISTRATOR itself after logging out from a user?

From Setup, enter Session Settings in the Quick Find box, then select Session Settings. Make sure "Force relogin after Login-As-User" is not checked.
Guy Clairbois's user avatar
6 votes
Accepted

Is it possible to not have an Icon for a Custom Tab?

No, the icon is definitely required. Salesforce wants the UI to be consistent, and not having an icon would be inconsistent. If you're not satisfied with the Classic icons, though, why not choose one ...
sfdcfox's user avatar
  • 490k
6 votes
Accepted

How to disable sending email from salesforce Org.

Setup -> Email Administration - > Email Deliverability Set to "No Access" This will stop ALL email from being sent which seems like what you want. Be aware though it could cause code ...
Eric's user avatar
  • 54.2k
6 votes
Accepted

List of all objects with the current number of used custom fields

I'll convert this comment into an answer. You can obtain this data rather clumsily with the Tooling API in the Developer Console. Enter the following in the Query Editor, and check the "Use Tooling ...
David Reed's user avatar
  • 92.8k
6 votes
Accepted

Record type behavior not working on edit record layout

The Record Type is an attribute of the record, not of the profile. Record types can be enabled on a per-profile basis, which changes what record types members of that profile can create (not has no ...
David Reed's user avatar
  • 92.8k
6 votes

Einstein Sentiment - Not precise

Lets take a look at your results and try to make sense of them. This takes a bit of understanding of statistics. The sentiment analysis has broken down different parts of what it's read and evaluated ...
crmprogdev's user avatar
6 votes

Change/Update User License assigned to a permission set

No, you can't change the license, but you can clone the permission set using vs code. Get your existing permission using package.xml <types> <members>*</members> <name>...
Rahul Gawale's user avatar
  • 12.2k
6 votes
Accepted

Billing State/Province and Shipping State/Province picklist values not popualted for Japan Country addresses

You need to configure your state & territory picklist, then it will appear there. Please find the steps in below screenshot
Virendra's user avatar
  • 519
6 votes
Accepted

Salesforce Optimizer: Inactive Workflow Rules

I just tested this, and amazingly, inactive workflow rules still take up some execution time. With a workflow enabled: 09:42:38.0 (536879862)|WF_RULE_EVAL_BEGIN|Workflow 09:42:38.0 (536946558)|...
sfdcfox's user avatar
  • 490k
5 votes

what does auto number data format indicates

When you create a new record, Salesforce will give that record a sequential Name. That sequence is simply a number that increments by 1 every time you get a new record. However, Salesforce also ...
Sebastian Kessel's user avatar
5 votes
Accepted

profile object permissions for a detail record

This refers to objects which are related by the master detail relationship. In case of such relationships we have two objects - parent ( usually referred as Master) and child(referred as detail). When ...
Shailesh Deshpande's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible