Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [object]

Referring to an instance in object orientated programming, but within force.com more likely refering to an entity or sObject.

Filter by
Sorted by
Tagged with
1 vote
1 answer
22 views

How can you access a dynamic related list from an object?

I have a dynamic related list "Qualified Contacts" in my Account object, that filters contacts based on tenure (custom field). I want to access this filtered list in a trigger, however I ...
Christine Hanson's user avatar
0 votes
0 answers
22 views

Will Large Data Volumes Affect the Performance of Custom and Activity Objects?

We plan to associate a custom object with the activity object to record the actions of our sales personnel. Based on our preliminary estimates, both the custom object and the activity object will ...
Lex's user avatar
  • 11
-1 votes
1 answer
38 views

How do I resolve timeout error when pulling in a large object from Salesforce

I will preface this by saying that I am new to PowerBI, but experienced in Salesforce. I am trying to pull in several objects into a PowerBI report by going to Get Data>Salesforce Objects>Custom....
Laurel Link's user avatar
0 votes
0 answers
32 views

Why did the "type" field disappear when I tried to add new picklist values to the task object in Fields and Relationships?

I wanted to try and add a few picklist values to the "type" field in the Task object in Salesforce. After I added them in, I went to test it out but the Type field has now completely ...
Cameron Anderson's user avatar
0 votes
1 answer
171 views

How to hide the Standard Field (Name) from the Layout

I have created an object named "Bus". By default, a field called Bus Name has been created in this object. However, I don't need this field based on my scenario and requirement. Is there any ...
Sham Hiruthik's user avatar
-2 votes
1 answer
92 views

How to edit the account results in the leads object?

In the leads object, when I click on "Convert" a lead, I click on "choose existing", I want to search for an account, then I can see a page with Account results (as you can see in ...
Alain's user avatar
  • 9
0 votes
0 answers
102 views

Create and populate custom object in Salesforce

I have built a custom survey system, and I would like to see the option on saving the results in Salesforce, on a custom object. In general, the object will have the following fields: Start date (...
Stratos Nikolaidis's user avatar
2 votes
1 answer
852 views

View default record type on all the objects on a particular profile

Is there any way we can view the default record type for all the objects custom/standar for a particular profile rather than going on each object and checking its default record type because there ...
SFDC_learner's user avatar
-1 votes
1 answer
183 views

Can't find this field under any object in Salesforce

Im building a report under "Contacts with Activities" and there is a field called "Assigned". I tried looking in every single object, in object manager, and the closest thing I ...
RK5123's user avatar
  • 1
-1 votes
1 answer
238 views

Is profile considered as an object?

I'm asking because someone mentioned that a new field was added to our profile table, but when I checked, I couldn't find "Profile" in the object manager... Any idea how a field was added in ...
Etothez's user avatar
0 votes
3 answers
1k views

Getting a list of the items in "Fields & Relationships" under Object Manager

I thought that this should be fairly straightforward, but I'm not finding a way to do it. If I go to Object Manager, then Account, and then Fields & Relationships - I need a way to get a csv of ...
lengthy_preamble's user avatar
0 votes
1 answer
251 views

How to retrieve exactly all SObject Names in Object Manager

On the Object Manager tab, My org has 173 objects with 172 standard objects and 1 custom object. However, when I use System.debug(Schema.getGlobalDescribe().values().size()); It returns 1058 records. ...
Tuấn Trần quốc's user avatar
0 votes
2 answers
31 views

Description Validation Rule Help

I have to create a validation rule "n/a should never be placed inside a description field" and cannot figure it out.
Artimus Fowl's user avatar
4 votes
1 answer
428 views

Methods inherited from Object class

The Apex includes a system class named Object which serves as the foundation (superclass) for all standard and custom types. Questions Which methods does the Object class contain, and which ones can ...
Piotr Gajek's user avatar
  • 2,784
0 votes
1 answer
93 views

Issue querying custom object with external ID in webhook-triggered Apex class

I'm new to Salesforce and Apex, and I'm encountering an issue with my webhook setup. I've created a site using an Apex class to receive webhooks, and it's working well. The problem arises when I try ...
Christian Langer's user avatar
1 vote
1 answer
2k views

How to check if a http response is null when it is an empty object and status code is 200?

Im making a POST to an endpoint and this is what I get back in my response, its a successful POST and the status is 200 but the payload is empty. { "payload":[], "datetimestamp"...
potato46's user avatar
3 votes
1 answer
395 views

Reactive array of objects and "Use Lightning Web Security for Lightning Web Components"

I have a component that iterates through a property that is an array of objects. <template> <template for:each={widgets} for:item="widget"> <p key="widget.name"...
nstuyvesant's user avatar
0 votes
1 answer
72 views

Pardot - why is using own objects and sync mechanism? [closed]

I am learning about Pardot Cloud. I have searched a lot but did not find answers that will satisfy my questions. By learning on trailhead, I know that Salesforce treats Pardot as something as "...
Łukasz Franczyk's user avatar
0 votes
1 answer
505 views

What are the objects (or) Account forecast objects does not support Triggers in Manufacturing Cloud?

I came across this question which was asked in the 'Manufacturing Cloud' Certification.
Senthamizh's user avatar
0 votes
1 answer
773 views

Restrict User Access to Object by Field Value [duplicate]

Is there a way to restrict a user's access to a subset of objects by field value? Essentially I'm trying to create a profile that only has access to orders/accounts/contacts that have a boolean field ...
user3609814's user avatar
0 votes
0 answers
56 views

UpdateSingleSFObject function is not working correctly

I need help with my code snippet. It's part of an automation that first of all use a query to get the emails from contacts that I need to update in Salesforce CRM. Next to get the emails, I execute a ...
pvpolo's user avatar
  • 1
0 votes
0 answers
106 views

Pass a record from object to salesforce community

I created this object containing FAQs. Later I created a lwc component that should pass me the FAQ in this object in my community, but rightly if in "getRecord" I put "$ recordId" ...
Giuseppe's user avatar
-1 votes
1 answer
192 views

Get object with specify id from list object in APEX [closed]

I have a list like following: List<idName> = [idName:[name='AAA', id=1], idName:[name='BBB', id=2], idName:[name='CCC', id=3]] And one input is equal 2; So how can I ...
Richard's user avatar
  • 33
0 votes
1 answer
3k views

How Apex Clone Works

I tried cloning a PendingServiceRouting object within the apex class. But few attributes are missing in the cloned object(Id, CreatedDate). Can someone explain what is happening here? How can we copy ...
xyzabc's user avatar
  • 111
1 vote
0 answers
94 views

Is it possible to change the contact field on all cases from a lookup to a non-linking text field?

We are cleaning up old contacts and running into the issue of being blocked by linked helpdesk cases. We no longer use Salesforce as a helpdesk but would like to keep record of cases in case we need ...
KKulhanek's user avatar
0 votes
1 answer
2k views

Unable to set object permission

As and admin I have cloned a profile and am trying to restrict the access of the new profile to only several objects. First I want to remove the access to object "Financial goals". I uncheck ...
Alpar.Balo's user avatar
1 vote
1 answer
1k views

How can we upsert a record in the object, querying by a particular field?

How can we upsert (insert if not found, update if found) a record in the object, querying by a particular field (in our case: UserID__c)? We tried to PATCH the following request URL: $userId = $_POST['...
Platoscave's user avatar
1 vote
1 answer
583 views

How do I get my record name instead of RecordID?

Currently, I have three objects namely: User, Review and Cases where a user can create a case and other users can make reviews on the cases. This is illustrated in the schema as shown below: In my UI,...
H4shBrown's user avatar
0 votes
0 answers
39 views

How to use Record Type for this specific question

I am in the process of adding a new object to my org. I am unsure how to store all the information I need on this object. I need to have 5 sections every time I update this object: 3 sections that ...
Ruth's user avatar
  • 3
1 vote
1 answer
378 views

Are Object Limits available from a Salesforce API? [duplicate]

When in Object Manager, there is 'Object Limits'; which displays the high-level limit info of that particular object. It would be helpful to be able to query this via a Salesforce API. It seems that ...
Andy Hitchings's user avatar
0 votes
1 answer
363 views

Is there a way to create/add NEW Quote/Invoice in Order sObject? [duplicate]

Is there a way to create/add a NEW Quote/Invoice directly in the Order Object? I have noticed that only the Opportunity Object have this option (to add/create a NEW Quote). SO, I was wondering if ...
Salesforce Newbie's user avatar
-1 votes
1 answer
39 views

New object window ; is it possible to change locations of the fields

New object window ; is it possible to change locations of the fields
Adam 's user avatar
0 votes
1 answer
523 views

Component Error has occurred: Uncaught Error in $A.getCallback() [ErrorAttempt to de-reference a null object]

I am not a developer but would like guidance into an issue a specific User sees when trying to add List Members to a Campaign. This only applies in Prod and not UAT. Not sure where to begin. A ...
Aron Schor's user avatar
-1 votes
1 answer
2k views

Conversion of String to the Field data type in apex

I have an JSON which changes dynamically with respect to the Fields in the field set. For example, sometimes JSON can look like: { 'Name': 'SFdev', 'IsGenuine__c': 'True', 'No_Of_Active__c: '3' }...
Rahul Allada's user avatar
-1 votes
1 answer
692 views

Not available Case Information fields in report type

I'm trying 2 Report types and I have problems with fields availability. REPORT TYPE 1: Cases standard report type. With this, I can access to 'Case information' fields like Age, Opened Date, and so on....
CPS's user avatar
  • 365
1 vote
1 answer
1k views

How to fetch name field for a record of given record id but known object?

I am trying to obtain all related child (look up) records of a record whose record id is passed. Salesforce docs say that for every object, regardless of type, name is a standard field, just like Id. ...
darthcoderUS's user avatar
0 votes
1 answer
757 views

Apex - Insert json value into custom field

I am inserting records into custom object Rating__c via trigger. This object has a field that stores json value against each record based on Account ID(Related Account). Example: {"attributes&...
Ram's user avatar
  • 1
0 votes
1 answer
520 views

How can I get key prefixes of each object from a Salesforce Instance with pythons simple_salesforce API?

I want to extract keys for each Salesforce object (including custom) from a Salesforce environment via the simple_salesforce python library. That is, I want a pandas dataframe that looks as follows: ...
Corram's user avatar
  • 123
1 vote
1 answer
323 views

Datorama array size after the use of SPLIT

On Datorama when trying to get the length of an array I'm able to get it using a calculated dimension by: a = SPLIT([Media_Buy_Name],'_') return EXTRACT(a[a.length-1],'&',0) But when using the ...
mario ruiz's user avatar
0 votes
1 answer
577 views

I have a Cross object checkbox formula that checks whether a texbox has been checked or not. Why does it return a "No" if the box is checked?

IF(Member__r.Member__r.Confirmed_Certification_Holder__c = TRUE, "Yes", "No")
James 's user avatar
1 vote
1 answer
120 views

Theoretic question about sObject

I am currently at module Apex Basics & Database > use sObjects lesson; Here they told me I can use a generic sObject datatype to any fields or objects, and show me this code: sObject sobj1 = ...
Vinícius Almeida's user avatar
1 vote
1 answer
433 views

How to edit Field Level Security of Attachment Object (Notes & Attachments)?

is there a way to edit the Field Level Security for the Notes & Attachments object? I've tried from both Lightning and Classic but I can't find the object and a way to edit it...
Teemo_smr's user avatar
  • 142
-1 votes
2 answers
706 views

AccountId in Campaign Member - How to deploy standard field?

In my sandbox, the Campaign Member object has a field AccountId, and this field is not custom field, as it does not have __c, hence it is standard field. In my production, the Campaign Member object ...
Arthur Almeida's user avatar
1 vote
1 answer
2k views

Proper Use of EntityDefinition, FieldDefinition objects' DeveloperName, DurableId, and QualifiedApiName fields

Please help me understand the SF documentation and the proper use of these fields, in terms of accurately identifying an instance of an EntityDefinition or FieldDefinition object. The use of the word &...
user avatar
0 votes
1 answer
140 views

Fetch fields from another objectApiName with Aura

I am doing the following code <lightning:recordEditForm recordId="{!v.recordId}" objectApiName="Opportunity"> <lightning:messages /> ...
Willy Kelly's user avatar
0 votes
1 answer
2k views

Line break in a property of JS in Lightning accordion

Is it possible create a line break in a property of a JavaScript object? Like this: const test= { name: account.Section__r.Name, label: account.Section__r.Name + '\n' + account....
CPS's user avatar
  • 365
0 votes
1 answer
978 views

How to create a record in link with other object

I am new to apex triggers and starting new with trailhead i have this task to do : Implement database trigger for Order object ● Trigger should create an invoice record for the order record always ...
Ben Harper's user avatar
0 votes
0 answers
294 views

How to handle the special symbol vertical bar "|" when saving a string into a JS object

I am trying to store the content of a Salesforce custom object data into a JS object. My issue is that one object property (LaborTask) has string values with the vertical bar in it (this bar |). For ...
cpaesano's user avatar
4 votes
1 answer
14k views

apex : convert object to a list

I have an object with value (s1,s2,s3,s4) (this is the value I get during System.debug). Now I want to convert this values to list of strings, i.e ['s1','s2','s3','s4']. How can I do that? I tried, ...
Akash Jain's user avatar
-1 votes
1 answer
880 views

Can I Convert Map<String,sobject> to Map<String,object> [closed]

I have Data in MAP<String,sobject> type map and I wants to put it in Map<String,object> type Map. Please help with this casting.
developer's user avatar

1
2 3 4 5 6