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
7 views

Reference Unrelated Report on Dashboard

I am trying to create a report that is dependent on the Case object, as well as the Einstein Bot Reports from AppExchange. Is it possible to reference a total from a report built on the case object? ...
0
votes
1answer
17 views

Object permission settings not enabled for community profile

I am not able to view the custom object permissions enabled for Customer Community profile. What could be the issue?
1
vote
1answer
39 views

Salesforce REST API not allowing to create records by using a reference field

I have 2 custom objects: custObj1 & custObj2. It is a one:Many relationship between the 2. I have set up a lookup relationship under custObj2. Wallet_Address__c is on both objects and is the ...
-3
votes
1answer
54 views

System.DmlException error while trying to insert in custom field [closed]

Hi i am trying to add items in salesforce custom fields though data loader , i am getting the below error when i am pushing the value in it ERROR: dlrs_School_GroupTrigger: execution of ...
0
votes
0answers
16 views

Update Number Field on Custom Object based on Opportunity Stage

I would like to update a Number field on a custom object when an opportunity's stage changes to one of a set of options (picklist). I have multiple opportunities related to each object, and need to ...
0
votes
0answers
16 views

Not able to edit Lookup Filter for custom field

I need to change the Filter Criteria of the lookup filter for a custom field. But then i edit the custom field I am not able to edit the lookup filter option.
1
vote
1answer
40 views

Field not populating within Report

Hope you're well. I'm currently building out a report, but despite my best efforts so far, I can't get some information to populate within the report. It does not appear to me that salesforce is ...
0
votes
0answers
13 views

Salesforce fieldSets for GrandParent Relationship Details

I have installed a managed package which can use in some cases "FieldSets". Field sets as i have seen can be defined only in Salesforce Classic. My question is: Can i define in a fieldSet a ...
1
vote
2answers
52 views

How to exclude objects from other packages in sfdx

How to exclude objects from other packages (prefix) in sfdx? Since I created a dependent unlocked package when I add custom fields to objects of the "needed/parent" package when I retrieve ...
4
votes
2answers
192 views

Design Considerations - When to use a custom object vs standard object

I am creating a salesforce unlocked package that I want to get out on the app exchange. The package is for a company that wants to insert and update records with product usage data. They want to send ...
-1
votes
1answer
89 views

How to query parent to child (custom objects)

I have a problem, same articles here doesn't help me. I try to query from parent (Proposal__c) to child (EquipmentProposal__c) [Select Id, (Select Equipment__c, Quantity__c, Price__c From ...
0
votes
0answers
13 views

Different Related List View in Lightning Page?

Probably an easy fix but struggling regardless. I created a secondary list view with a different set of fields on an object (we will call Obj1). I am currently creating a tab on a related object ...
0
votes
0answers
44 views

Can't edit select fields to display on a ListView in Salesforce Lightning

A User was able to edit fields to display on a ListView in Salesforce Lightning, Suddenly the end user reported saying He cannot edit the "fields to display" on a ListView in Salesforce ...
0
votes
1answer
25 views

What is an effective way to validate a picklist field?

thank you for your time. I have a custom object 'Work Order' with a 'Status' field that I want to create a validation function for. I would like to show an error message if a user tries to change the ...
0
votes
1answer
89 views

Get object apiname based on recordid in lightning web component

Is it possible to het the object apiname based on a recordId in a lwc without a call to apex? Something like apex but then without going to backend: Id recordId = '001g000001jmmCA'; System.debug('...
1
vote
1answer
289 views

How many formula fields we can create per one custom object in Salesforce?

How many formula fields we can create per one custom object in Salesforce ? I can not find any information about it here Any help will be appreciated. Thank you.
0
votes
0answers
11 views

Append Custom Object Name to Iframe

I have an iframe that I am trying to make it so that it will append the Name to the end of and will hopefully pull through the correct dataset depending on the record, not sure why it is not working? ...
0
votes
1answer
38 views

Multiselect picklist and owner id validation [closed]

An administrator uploads the data in the custom object, By giving the ownerid and the multiselect picklist values. Each owner can be assigned each multiselect picklist value only ones. Example : A ...
1
vote
1answer
33 views

How do I add active TDTM trigger handler records to an org with CumulusCI?

EDA and NPSP come with Table-Driven Trigger Management (TDTM), a trigger framework that uses records in a custom object to track which "trigger handler" Apex classes are active, rather than, ...
0
votes
0answers
30 views

Screen flow look-up keeps loading forever

I am creating a screen flow where I want to use a lookup component to get records of a custom object. When I try to debug the flow, it keeps loading forever. I'm running the flow as system admin who ...
0
votes
1answer
20 views

Page layout displaying fields that are not available in object

I using FSL for our project. On the Shift object page layout, I can see two extra fields: Territory Start Time (GMT) and Territory End Time (GMT). See the image below: However, when I go to the Setup-...
1
vote
1answer
44 views

Is there a way to upload/insert a particular custom object record and its related file document from one single csv file using data loader?

Hi it would be great if anyone could help me out with this. I have encountered a requirement in salesforce where I have to upload/insert a custom object record and its related file attachment into ...
1
vote
1answer
35 views

Retrieving field dynamically from anonymous object

I have a scenario where I need to dynamically retrieve fields from a custom object, in which I don't know the type. For the following code, the query is passed in from somewhere else, I just wrote it ...
0
votes
1answer
19 views

How would I go about creating parent/child records on a custom object? [closed]

I'm trying to import a list of grant awardees. I have a custom object called Grant, in which I will import all of the various grants (Grant A, Grant B, Grant C, etc.). I could create a custom object ...
0
votes
0answers
30 views

Enhanced Lightning Grid error in dev sandbox but not prod

I haven't used enhanced lightning grid extensively in the past, but a previous admin has three components on a lightning page for contacts. They are working in production and when I edit that page in ...
-3
votes
1answer
87 views

Create Map from records of 2 List [closed]

I need to create map from 2 lists. One list ids and another list<custom_object__c> objects. But i dont get how to do it? id list is not id from custom_object__c. With on list it easy, but how to ...
1
vote
1answer
20 views

Get object record with unique field from list

I want to remove People__c record from list based on field value I have list of custom object People__c with field Responsible__c which is another object id. I am getting list of id and want to get ...
0
votes
1answer
128 views

Soql check if related record exist

I am using two sobjects Work__c with field name and WorkAssign__c with name,freeze__c and Work__c master-detail to Works sobject. Upd: So i want to get first Work__c record which doesnt related to ...
1
vote
1answer
65 views

How do I use the merge field in the formula field which is rolled up?

There are three objects: Room: Field - Price(Currency) Customer: Field - Total Amount(Rollup-(Amount)) Booking: Field- Amount (Formula-currency). -> Booking has master-detail relationship with ...
0
votes
2answers
66 views

For a CustomeObject where woud I put/find the Picklist translations?

I have a custome object and that has a field with a picklist. Now I need to translate the picklist not via the UI I just like to know what file I need to put in which folder.
0
votes
1answer
35 views

Salesforce Site - Access error - Authorization Required - unable to retrieve object - VF Page

I had a site setup which just hosts a single VF page. This page is an e-ticket which needs to be accessable publicly. It was working fine about a year ago until i revisted it last month and now I'm ...
0
votes
1answer
74 views

Push custom object and custom metadata type to scratch

So i retrieved custom metadata type and just custom object from my org via Ant Migration tool. After i createad a sfdx project. created scratch org and used push. It gives me error: 'Must specify a ...
2
votes
0answers
56 views

Setting one autonumber that will sync to all (related) objects [closed]

We have decided we want all Leads, Opportunities, Quotes and a few custom objects to inherit the same autonumber so that it is easy to see related objects just by the number. Leads should get an LD-...
0
votes
0answers
18 views

Post request with records to another org scheduled batch

I am making a post request to another org with custom object records. I have created boolean field to mark needed records and transsfer them though batch. That field changes in Trigger on create and ...
0
votes
0answers
22 views

User with correct profile permissions unable to view Related Custom Object list

I recently rolled out a new custom object to our org and have made sure profile settings are correct for read / view / edit access for the custom object itself, and the related objects that need to be ...
0
votes
0answers
52 views

How to display the value of two fields in my lookup field

I add a new lookup field in my Contract Object named (compte de facturation) ,this field is a lookup field that will bring all accounts with record type Billing . My question now ,how can i display in ...
0
votes
1answer
18 views

The field of checkbox type isn't available when I try to make a new object

The field of checkbox type isn't available when I try to make a new object.
0
votes
2answers
140 views

How to get the value of Custom field with SOQL

I am using SOQL to get team names from salesforce for each current project. It all returns, however the name is returned in ID format rather than the string name. This is confusing to me because when ...
0
votes
1answer
45 views

Using a String to access an object's parameter (APEX)

I have a list that contains an object's parameters that I'd like to access from the object. Below is an example of what I am trying to do //temp is the name of an object which contains all of the ...
-1
votes
1answer
21 views

Add a field from a different object on a VisualFoce page

I am working on the Account VF page that has a custom controller (AccountPageController). On this page I would like to add a field (customField__c) from a different CustomObject__C. What I have tried ...
0
votes
1answer
21 views

How to delete a custom metadata that is protected component via Apex or Metadata API

Anybody have experience doing this in Apex/Metadata API?
0
votes
0answers
37 views

I am getting the wrong Id in a Lookup Field by the record page, but the correct value by SOQL. What could be happening?

I recently updated a field called "Account Name" by Dataloader. It is a lookup field to Account. For specifics records, If I enter in the page view (like in the Image), I will get the Old ...
0
votes
1answer
47 views

Can I delete a custom field and a custom object manually in the production org?

I know that some options that are in the sandbox might not be in production. I'll have to delete a Custom Field and a Custom Object in production org. I need to know if it's possible to do manually ...
1
vote
1answer
682 views

Apex trigger to check field values from two custom objects

I have three custom objects: Book, Loan, and Reader. Loan is a junction object with lookup relationship with both Book and Reader. The diagram below shows their relationship: I want to create a ...
0
votes
0answers
30 views

Is it possible to create direct link in apex trigger or any other solution to ensure file attachment is required before save?

I want to create a required file section where it will pop out error if no file is attached before save? Since the file section as in image shown cannot be created inside my custom form, can i create ...
2
votes
1answer
368 views

How to change object during LWC wire - pulling multiple variables

I need to pull out data from wire method which returns 3 objects. List, and two Sets: Set based on delievered id parameter. I need list of contacts returned with changed properties to Value and Label ...
0
votes
0answers
43 views

Related List 'Files' not showing related Files

I have a custom object with several lookups to other objects. On the page layout I have added a related list 'Files'. When I click on 'add files' a dialog window opens. Here I miss the tab related ...
0
votes
0answers
22 views

I'm geting compilation error on below code

trigger ChildTrigger on Child__c(before insert,after insert,before update,after update,after delete) { decimal val = 0; if(Trigger.isAfter && Trigger.isInsert){ try {...
0
votes
0answers
32 views

Is there a method to strip HTML tags or perform other conversions so record values may be used for SEO meta tags in Experience Builder?

Record object fields we intend to use in Experience Builder for SEO meta and open graph values contain HTML tags that need to be stripped before use. {!Record._Title} contains the plain text title as ...
0
votes
1answer
49 views

SFDX export related records for data upload to a scratch org

I have a relationship between Account and MyCustomObject__c where Account.CustomField__c is a lookup to MyCustomObject__c. When I try to export the field on the Account and related records using sfdx, ...

1
2 3 4 5
29