Questions tagged [setup-object]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
1answer
58 views

Apex method to find out if SObject is a setup object

Regular SObjects and Setup Objects can't be mixed in DML otherwise you'll experience a Mixed Dml Exception. How can Apex code find out if a given SObjectType is such a setup object? System.assert(...
0
votes
1answer
76 views

Mixed_DML_Operation for one User Update method, but not another. Unclear why

I have a Contact Trigger Handler that, after update, checks to see if some fields (Email or Team) were changed, and if they were, it updates the fields on the Contact's Community User record. These ...
0
votes
1answer
744 views

The simplest way to get custom field id dynamically in Lightning

I have a lightning component where I need to display link to related list of children relationship record for given custom object record. Since I developed this application on sandbox, I can't ...
0
votes
1answer
78 views

How do I allow allow a user to add values to a picklist fields for lead objects

How do I allow allow a user to add values to a picklist fields for lead objects. Show I create a permission set?
0
votes
1answer
61 views

How can i open a window with different URLs depending of a value

First of all thank you for ur help. Ok. What do I have? When the user clicks on "Generar Albarán Entrada" it opens a new window showing some info. I have done that window and that is not a problem. ...
3
votes
1answer
2k views

List of setup objects in Salesforce

Does salesforce have any documentation saying which objects are setup objects? I found this https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/reference_objects_setup.htm ...