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
1
vote
1answer
482 views

use trigger to match and populate field based off of another object

So as the title states I am trying to populate a field from the premium object with data from fetchRates. I have code that works but it is not populating for some reason. Any assistance would be much ...
-1
votes
0answers
32 views

External REST API call on object load? [closed]

I have an object. I need to be able to call my Mulesoft API in order to display a property for that object (it's stored outside of Salesforce, and so is exposed via this API). I wrote a small LWC ...
1
vote
3answers
2k views

Unable to create Master-Detail relationship field

I am configuring a many-to-many relationship between custom object and Contact. For this purpose I created a junction object. Next, I have to create 2 Master-Detail relations. One for custom object, ...
-2
votes
1answer
42 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 ...
0
votes
0answers
23 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 ...
0
votes
1answer
15 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
28 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
34 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
1answer
2k views

Default Submit for Approval button?

I created a custom object. I have not created any approval processes for this object but for some reason, there's a Submit for Approval button showing up while viewing a record for this new object. ...
0
votes
1answer
1k views

LWC: Form Data not updating to Apex controller

Ive developed a component that lists Contacts related to an Account. Each Contact listed has an action button that opens a modal window to edit fields on the Contact. If I change the value in one of ...
3
votes
1answer
2k views

DocuSign for SF - Send & Attach to Custom Object

I was wondering if it's possible to have DocuSign "live" on a custom object, instead of the predefined standard objects? I've attempted to 'Connect' the object, as well as created the JS button to ...
1
vote
1answer
3k views

Why does my custom global action not show up on my mobile device to add a new entry

We have set up a custom notes and call log field under the global actions. I can add a new note or call entry on the web but not on my iPad. I can see notes that have been added on the web, on my iPad....
0
votes
2answers
34 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.
1
vote
1answer
2k views

how to add multiple records to relate list via rest api

What exist So I've custom Object called Credit Memo where I want to relate one Order and I want multiple OrderItem in the Relate List(Related Tab). I don't have Master-Detail relationship. Or by ...
0
votes
1answer
28 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
25 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 ...
1
vote
2answers
774 views

Inserting an object with not writable field

I've this class that I need to test it: public class A800ExpiredClientReportV2 { Public ID quotID {get;set;} Public List<Quotation__c> quotList {set;get;} Public ...
2
votes
0answers
50 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-...
2
votes
1answer
756 views

How to Include Profile Setting into a package

1 . We have package where we have created custom object. 2 . This object needs to be accessed and displayed to standard users in managed package. 3. We have create custom profile which has access to ...
5
votes
4answers
6k views

Salesforce.com: How to find all tables and columns? (like SQL sys.tables, sys.columns)

I've inherted an SSIS package where the data source is salesforce.com, using the Pragmatic Works controls TFSalesForce Source / Destination. Ten tables, some of these tables have 700+ columns, and my ...
0
votes
0answers
17 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
10 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 ...
1
vote
1answer
1k views

How do i Upsert record in Parent- child relationship from custom to custom object Using External ID

We have data integration Job for SQL SERVER - SFDC using Talend data integration tool. SFDC environment: Full sandbox Account We have two custom object. In that, Master-Detail relationship from ...
1
vote
4answers
1k views

Is There a Way to Know if an Id Exists Without Querying?

Is there a way to know if an Object ID exists in a sandbox without querying for it? Sometimes we store ID's in Metadata/Custom Settings and I'm curious if there is a way to know if the ID exists ...
0
votes
0answers
29 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
504 views

Is it possible to set the default value on a user lookup to be the logged user?

I have a lookup field of users on the custom object. Wherein I'm looking to set the field to be the logged on user. once the user clicks the new button. As Highlighted, I wanted to set that user ...
0
votes
1answer
18 views
0
votes
1answer
7k views

Field Missing / Field Not Showing Process Builder Create a Record

I am trying to create a record via Process Builder, and set the value for a custom field of type text, but the custom field doesn't show up in the list of fields that I can set. How can I get this ...
0
votes
2answers
50 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 ...
3
votes
1answer
2k views

Custom object doesn't appear in "Related Entity Type" dropdown for Lightning Email Template

When I go to create a Lightning Email Template, a custom object I recently created doesn't appear alongside other custom objects in the list of objects available for merge field filtering. What do I ...
-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
38 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 ...
0
votes
1answer
571 views

Update custom object upon opportunity stage change

I recently managed, with your help, to list available real estate properties (a custom object) based on its linked Opportunity StageName. Now I noticed that this method will eventually return false ...
0
votes
1answer
17 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
30 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 ...
1
vote
3answers
911 views

how to handle schema changes in salesforce and notify other systems (push vs pull)

We have some of our objects and fields synced to other systems and one of the common concern we see is the changes to these objects / fields (specifically deleting them in salesforce) are impacting ...
0
votes
1answer
2k views

How to query objects that may not exist?

In my application in my managed package... I want to give the option to query and view certain objects from another managed package if that package is installed as well. My question is: how do I ...
0
votes
1answer
37 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 ...
0
votes
2answers
1k views

Replication run with Full Extract on Salesforce Objects in Einstein Analytics

How long does it take for any changes that has been made on a certain Salesforce fields or records to get replicated by full extract in Einstein Analytics ? After changing a record value in the ...
1
vote
1answer
240 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
27 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 ...
0
votes
3answers
1k 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 ...
2
votes
1answer
86 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 ...
1
vote
1answer
1k views

Not able to give CRUD permissions to custom object on Customer Community Plus Login User Standard Profile

Profile Screnshot I need give access to Customer Community Plus Login User to one of my custom objects,this user should be able to crete and delete the records of the custom objects. However, when I ...
0
votes
0answers
26 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
16 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
616 views

Open Activities /Activity History don't appear under Custom Object page layout's Related Lists

I'm trying to add an Activities section to this custom object, but I can't figure out how to get the Related List section to show Open Activities and Activity History so I can progress.
0
votes
1answer
28 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
vote
1answer
42 views

Custom "new object" screen from related list

Let's say I have two objects, Object A and Object B. I have a related list on Object A's page layout, which can be used to create B objects. The problem is, Object B has many "system" fields ...

1
2 3 4 5
28