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
1answer
22 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
35 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 ...
0
votes
0answers
24 views

Edit Button Missing on Custom Object [closed]

I am attempting to check the reporting, track activities, and track field history checkbox on a custom object, however, the edit button is not on the layout. How can I correct this? I am a system ...
1
vote
1answer
26 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
28 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
81 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
35 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
24 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
40 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
27 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
31 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
28 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
26 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
21 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
19 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
20 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
17 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
21 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
26 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
40 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
36 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
18 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
40 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
153 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'...
0
votes
0answers
12 views

Joined report grouping

I have a joined report of two different objects with activities. I have grouped them cross-block with accounts since they both are related to accounts. Is it possible to group within a block as well? ...
0
votes
2answers
37 views

how can i leave a field without value if the condiction is true?

for(Account acc : lstAc){ Account acount = new Account(); if (acc.Property_Managment_Company__c == 'Independent') { acount.ParentId = THIS FIELD SHOULD BE EMPTY. }...
0
votes
1answer
14 views

SOQL Query for Account - Junction - Account

I need to join Account (type = person account) --> Junction Object --> Account (type = business account) We have person accounts enabled on our org. I can easily write what I need in SQL, but ...
0
votes
1answer
26 views

what is wrong in this batch? [closed]

global class ALN_Integration_Batch implements Database.Batchable<sObject> { for (ALN_Integration__c recAln : lstCon) { AccountContactRelation acr = new ...
0
votes
1answer
31 views

Search Layouts not available for Custom Object

I can see the Search layout in my object after enabling Allow Search, but I can't see any layout where I can add my fields. Please see the attached screenshot. How can I add layout in the Search ...
1
vote
1answer
188 views

Community - Flow - Upload File to custom object fails with error 'Can't upload …'

This error shows up while trying to upload a file from within a community flow as a registered user and to a custom object created by the registered user himself: I'm using the standard lightning ...
0
votes
2answers
19 views

Arranging Custom Fields in Custom Settings

Is it possible to arrange custom fields in a custom settings object? I have an object in custom settings (MyCustomSettings__c) and I'm creating custom fields. I'd like these to be arranged in specific ...
0
votes
1answer
80 views

Process builder failing only in test class

I have 3 custom objects in my salesforce org that are involved in a process builder. The process builder is invoked by creation of or changes to Commodity__c records. The process builder is outlined ...
0
votes
2answers
70 views

Check if current record value present in other records

I have a requirement, where account name and account number if do not match with any other records, a custom field called alert_text__c will be updated with some text. It is as follows: List<...
1
vote
0answers
39 views

Can I use Apex and SOQL to import data from other objects into a new custom object?

This is my first time posting in stack exchange :) I have a Salesforce Admin Cert, but I have very little experience in the realm of writing code. So here goes. The goal of my apex code is to import ...
0
votes
1answer
271 views

Set History Tracking - fields not showing-up in related list

I have a custom object in which I have selected few <20 fields to track. But I don't see the custom object fields in the "Related List Properties" for the Activity History here is what I ...
0
votes
0answers
43 views

How to navigate to Related Tab using URL hack?

I am trying to create a list type button which will be added to a related list. Say I have a object name classroom and a object name student who has a lookup field for classroom. Now I wanted to auto ...
0
votes
1answer
30 views

Create custom labels for Custom object fields

Is it possible to create a custom label for a field in a custom object in order to enable translation across languages?
0
votes
1answer
27 views

Unable to query fields from Related List of Custom Object - getting query exception? [duplicate]

I have a Custom Object Rule__c, And I have added another Custom object Rule_Set__c as Related list in page layout for Rule__c and when I try to query like below: @AuraEnabled(cacheable=true) ...
0
votes
1answer
46 views

Case Merge: What happens with related records

We have custom objects that are related to the Case object. Until now we have been using custom case merge functionality, but it has its bugs, and are exploring moving over to the new SF case merge ...
2
votes
2answers
155 views

SFDX Best practices for managing custom objects?

We would like to use the SFDX Cli to version our custom objects in a Git repository. For now, because we're new to SFDX and our codebase will be small, we want a single sfdx app. We currently have ...
0
votes
1answer
27 views

Deny or allow the creation of a new record if in the parent object (records) - the field of the picklist type has the status “closed” or “active”

I have two objects: Training and Participant with a master-detail relationship (Training (master), Participant (detail)). When training is "canceled" (Status (Picklist) field selected ...
0
votes
1answer
31 views

When and If, Does the 'version' in ContentVersion Change?

I'm using the lightning-file-upload component to upload files (wow). My question is: is it safe to add a custom lookup relationship on the ContentVersion object? I guess I don't really understand the '...
0
votes
0answers
12 views

Connecting an Object Detail page with a __kav object

Im a bit of a Salesforce newbie. So I apologize on any terminology I am getting incorrect. On our salesforce environment we have a Knowledge Article custom object set up called Articles__kav. Is there ...
0
votes
1answer
47 views

Cannot write custom object via Soap API, getting INVALID_TYPE: sObject type is not supported

We have created a new custom object in our SF account named "Product License". We are trying to write new data to it via SF Soap API. However, when I try to call the update method, I get the ...
0
votes
1answer
27 views

Mismatch in custom object field count in rest api and salesforce UI

I have a java codebase for performing CRUD on salesforce as an rdbms db. I was looking at the response on my rest api and that on SF setup UI of a custom object that I create in object manager. I have ...
0
votes
1answer
53 views

Process builder not firing for managed package object

I have a process builder that I want to fire when a record changes. This record is an Answer object which is apart of the Youreka managed package. I have created a simple process builder that is ...
0
votes
0answers
22 views

Cannot Create Lookup Relationship on Custom Object

I'm trying to create a lookup relationship field however it's giving me an error saying it cannot create a Master-Detail relationship, which is not what I selected. Is there any reasion for this ...
0
votes
2answers
69 views

Not able to see the standard User lookup field for custom object in a tab, even as System Administrator profile

I have created a custom object with several fields in which one of the field is of type lookup to the reference to the User object. When I created a tab to add records to this object, I can only see ...

1
2 3 4 5
27