Questions tagged [custom-object]

A custom object is an object that is created in an org as opposed to standard objects which are provided by Salesforce. Objects in Salesforce are like tables, so creating a custom object is analogous to creating a table in a relational database.

Filter by
Sorted by
Tagged with
0
votes
0answers
14 views

Cannot create new Object within Schema Builder, while doing Trailhead Tutorial

The Error Message: The value of the "le" parameter contains a character that is not allowed or the value exceeds the maximum allowed length. Remove the character from the parameter value or ...
0
votes
2answers
28 views

How to build relationship standard / custom object

I have the following standard and custom objects and I'm little lost how to build the relationship, let me first describe you my data model and then what I'm looking for. my data model is: Standard ...
1
vote
1answer
48 views

Can an object record's id repeat?

I know that Id records in an object are created randomly and are not repeated. My question is: this repetition does not occur because the records exist, but what if one or more records are deleted? ...
0
votes
1answer
17 views

Autopopulate a new field with Account Name when I add a contact through a Lookup field

I want a custom new field called "Organization" to auto-populate with "Account Name" related to the contact I add in my look-up field called "Class host": To paint the ...
0
votes
1answer
18 views

How are the Custom Objects Limits calculated?

We have an Unlimited Edition org and evaluating whether we can scale down to an Enterprise Edition. Comparing all the different limits, we came across the limit of Custom Objects. I have read the ...
0
votes
0answers
19 views

Export List of Field sets and their objects/Export list of fields per field set

I am finding a way to either exporting all the fields set with their objects details or list of fields in each field set. we have so many custom objects and it's hard to go look for a specific field ...
0
votes
0answers
21 views

My tab style selector isn't working

After I create a new object and have to select the style for the tab, every time I click a style it doesn't select it and I am unable to create the tab. The style's aren't in use so I am unsure as to ...
0
votes
1answer
12 views

Need help adding a title attribute to Standard/Custom Field labels

I was wondering if there is a way to add a description/tooltip on Field labels for Standard/Custom objects from the UI. In HTML this would be done via the 'title' attribute, but was looking for ways ...
0
votes
1answer
10 views

Custom object lookup to Case

I have a custom object that will contain the bulk (or all) of 100+ fields for a new lightning app. Also plan to associate the custom object with a new Case standard record at the same time the custom ...
0
votes
0answers
23 views

Trigger to Create Event Record is Not Firing Properly

I'm a new developer and would really appreciate some help on a trigger that I created that is not firing properly. Purpose of Trigger: I use Einstein Activity Capture (EAC) to sync my Google calendar'...
1
vote
1answer
21 views

If I create a custom object tab with tab settings as “Default on” for system administrator profile and not include it any app?

Now, I created a custom object and then created a custom tab for it, in that I selected default ON only for system admin profile, after that I did not include the tab in any of the applications. Now ...
0
votes
0answers
14 views

picklist (MULTIPLE SELECTIONS WITH CUSTOM OBJECT DATA)

Is there a way to create an Option List (multiple selection), in which the list items are the records of an object? Ex: MyObject__C my item 01 my item 02 my item 03 my item 04 list of options (my ...
0
votes
0answers
26 views

How To autopopulate values in fields from previous record

I have created a Custom Object related to Accounts called Onboarding, the object contains of 6 Date fields 6 picklist fields for each Date Status and Notes field, I need to set it up in a way where ...
4
votes
1answer
102 views

Do Master Records (in a Master-detail Relationship) Get Locked?

Suppose the following: There's a master-detail relationship between two custom objects There are no roll-up summary fields on the master object There are no declarative automations or Apex triggers ...
3
votes
1answer
67 views

How to distinguish between Custom Objects and Platform Events when querying the CustomObject table?

The CustomObject table that can be accessed via the Tooling API includes fields like: NamespacePrefix DeveloperName that provide enough information for a Custom Object API name to be constructed as ...
0
votes
0answers
22 views

How to skip a mandatory field in custom layout when you create a new record

Background; I have created a custom object A which has a Master-Detail relationship field to a Parent object (Let's say it's field F). I also created a custom layout for the object A. Problem When I ...
0
votes
1answer
29 views

Report Cross-Filter on Lookup . Looking for a standard solution

the scenario is the following one: My client wants to be able to report his opportunities based on the Account Segmentation I cannot create new fields because we are in a system used by different ...
0
votes
1answer
6 views

Custom fields do not show for AssociatedLocation

I have split my metadata into multiple sub-directories (I'll call them 'tiers' here) with each properly described in my sfdx-project.json I just successfully deployed 4 of the 5 tiers using sfdx force:...
1
vote
0answers
31 views

How to replace create and edit page of custom object with a new custom component? [closed]

I am new to salesforce and I have requirement where I need to create a component to create and edit a record for a custom object (Appointment__c), the look & feel and functionality should be same ...
0
votes
1answer
22 views

How to display autopopulate rest of the fields based on a lookup field selected

I Have a custom object called Withdrawal which is having a lookup to Opportunity object My requirement is to override the standard New creation button for the Withdrawal object and whenever someone ...
3
votes
0answers
75 views

Unable to perform Create, Edit, Delete on Protected Custom Object records in packaging org

I am trying to understand how the protected custom object works within a package context. With the help of Salesforce support, I was able to enable Feature Management option in the sample packaging ...
0
votes
0answers
19 views

Errors when using Import Wizard to upsert custom object records with external ID

I am trying to upsert a large number of records into a custom object "Invoices". This Invoices object is a child of Accounts. Thus, every Invoice record I upsert must be associated with a ...
0
votes
1answer
21 views

How can I create picklist field on a object, where the values/options of picklist should be the fields of another object?

I am new to salesforce and I have been trying to find answer for this requirement related to our application. Basically I have a Custom Object Field_Config__c, on which I want to create a picklist ...
0
votes
0answers
30 views

How to share notes between two objects

I have two objects subject and subject requirements. The subject has a master details relationship with the subject requirement. what I would like to do is if I write something in the subject ...
0
votes
3answers
119 views

Defining flow conditions - get parent object fields

I have a custom object 'Invoice' that has a lookup relationship with the Contact object. I want to create a flow that will have two conditions. Check if the Invoice status is 'Unpaid' Check the ...
0
votes
1answer
26 views

Is there a performance difference between Custom Settings vs Custom Objects? [closed]

Specifically, is it faster to query for a single record from a Custom Setting vs a Custom Object? Or is it about equal performance?
0
votes
1answer
112 views

SFDX - deploy a brand new custom object with only specific fields from one org to another

I have a scenario where I need to deploy a brand new custom object only with specific custom field(s) to another org. The other org does not have that custom object at all. I'm using sfdx for VS Code ...
1
vote
1answer
34 views

File Privacy Field access

I am trying to update the File Privacy on Records field via Process Builder for multiple files associated with a custom object record. But unable to do so as this field was not available under ...
0
votes
1answer
31 views

Visualforce page at parent with table records from custom child

I have a parent custom object called Game__c and a child custom object called Player__c.). The child Player__c has 4 fields: Name(String), Phone__c(Number), isHealthy__c(boolean), and Game__c(lookup). ...
1
vote
1answer
104 views

Name field type change for custom objects which are already used in a managed package showing error

To practice the managed package, I created a package that is a simple app from one org and installed it in another. In the packaging org, all the Name field's type for the custom objects were set to ...
0
votes
1answer
52 views

Writing a trigger to update lookup field from custom object

I have a standard object (Lead) and a custom object (Country). Lead - important fields Address (where Country is stored)- I think this is Lead.Country Country Lookup (a lookup field related to the ...
0
votes
1answer
35 views

SOQL lookup query between standard and custom object does not work

Good morning, In the custom object Equipment_maintenance_item__c there is a lastModifiedById lookup field to the User object. My understanding is that User is the parent object, and that to query it ...
0
votes
1answer
109 views

Custom Tabs in Salesforce

I have a custom app named "Home Solutions" in Lightning Version of Salesforce. I created another custom object on Sales app named School Details (standard app available by default in SFDC) ...
0
votes
0answers
29 views

1-to-many relationship in data designer using salesforce data

We're having an issue regarding data designer in MC. Within schema builder in our SF org we have a custom object which has 2 lookups fields related to the same contact object. The 1st field called'...
0
votes
1answer
34 views

How can we Remove “New” Button from Custom Object Tab View? [closed]

New ABC_CustomObject record should only be created through the VF page and not directly from the standard record page from the ABC_CustomObject Tab.
0
votes
0answers
135 views

Error : The approval process references the workflow action FieldUpdate #### which doesn't exist for the **** object

While deploying the Approval Process through Change Sets, I am facing this error at line 15(in img) : The approval process references the workflow action FieldUpdate Status_to_Complete, which doesn't ...
1
vote
1answer
30 views

Simple query of custom object returns zero rows in developer console

I'm working in the Dev Console, trying to help out a friend who needs a custom subset of data that his useless consult can't seem to figure out. I can successfully query the standard objects, but when ...
0
votes
2answers
30 views

Assign look-up fields in Page layout

I have a custom object Called App__c and Context__c , App__c has look-up with Context__c , Now need to add App__c object fields in Context__c page layout. Is this possible? Anyone can help? Thanks in ...
0
votes
0answers
23 views

hide the custom object tab for the profile in salesforce

I want to hide a custom object tab for a sales profile, I tried doing that by removing the CRUD permission on profiles and changing the tab settings to hidden. but I am still able to see the custom ...
0
votes
1answer
14 views

time zone being removed from query result after putting into a generic sobject

Note i can provide full code examples for running , but for brevity i am including snippets at this time i have a query that i am dynamically retrieving all fields and placing them in an object to ...
0
votes
1answer
86 views

How to restrict users from getting entered in a lookup field based on their permission set assignment using validation rules

I've a use case where Users having a PermissionSetAssignment X should not be allowed to be made owner of a custom object record by another users. I'm able to do this using a trigger but I've to make ...
0
votes
0answers
20 views

Possible Trigger and Process builder recursion

I have created a Trigger on Order object. There is a field called pacing in both Order and Order product Objects. When the Pacing is updated in the Order, I am updating the Pacing field in the Order ...
0
votes
0answers
23 views

Junction Object or Comma separated values

Customer has a table in their legacy application where one of the fields have comma separated values of customer Ids. CustomerId could exist on multiple of these records. So there is Many to Many ...
1
vote
0answers
33 views

Custom object protected visibility failing JSON parser

My custom object in a DE org with a namespace has its visibility set to protected: Only Apex code in the same namespace can see the type. The name of the type and the record are visible if they're ...
0
votes
1answer
60 views

What data type can be used to support file uploads in Salesforce?

I have a custom object and I want to add a new field to support file attachments. For example, while creating new record, I want the user/admin to have an option to attach files to that record during ...
0
votes
0answers
79 views

How to autopopulate the existing lookup values in Custom Lightning Datatable using Lwc

can you help me in auto-populating the existing lookup field values. There is an example in this website : https://live.playg.app/play/lookup-in-lightning-datatable-lwc I need to display all the ...
0
votes
1answer
24 views

How to autofill one field on change another field

Below is my Featured Program object I wanna autofill Featured Programs Name when I select or change CMS As you can see when I changed CMS now no new name here and I had to manually enter the name of ...
1
vote
2answers
43 views

Index SOQL Query has a cost of 7.8

I've got a SOQL query that takes a very long time to run that's part of a larger Apex class. Below is a quick explanation of our org setup, the purpose of the query, and the query itself. Any help to ...
0
votes
1answer
24 views

Is it possible to hide a read only section entirely in popup but display it in details?

We have a custom object and in that object's layout, there is a section called 'Billing Information'. All of the 8 fields in that section are read-only. Is it possible to hide the section entirely in ...
0
votes
1answer
386 views

Fields not appearing in lightning-record-view-form's payload if not included in page layout

I'm using a lightning-record-view-form in my component to display some record's fields, but I found out that if there is a field not included in the record page layout then it's not appearing in form'...

1
2 3 4 5
28