We’re rewarding the question askers & reputations are being recalculated! Read more.

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
31 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 ...
0
votes
2answers
40 views

Type requires name=value pair construction: Donation__c

I have a custom object @AuraEnabled public static List<Donation__c> onLoad(string recordId){ List<Donation__c> donList = new List<Donation__c>(); Contact con = [...
1
vote
1answer
25 views

Hiding certain records and their related records

I am trying to keep records separate from certain users when it is categorized in a specific group. For instance, when an account is created if it's in category A I want only group A to have access to ...
1
vote
0answers
17 views

Lightning Record Form not working for custom objects in communities

There is a custome object called CutomObject in my sandbox system. I have created a salesforce community to display these objects. I have created a sharing set on this object type as follows and ...
0
votes
1answer
23 views

Disable delete option in Notes and attachment

Requirement - I need to remove or disable a delete button from Notes and attachment on VF page. Even I tried to write a trigger but it is working on request which got generated not on the attachment....
0
votes
0answers
10 views

Email template relatedToType not binding values

I have done a full day of research, looked into many code examples, but could not figure out what went wrong with my code. Help please. My email template <messaging:emailTemplate subject="TEST-{!...
0
votes
1answer
23 views

Community Advanced Audience configuration

Good afternoon. I am trying to set up an audience by assigning a record type. However, the object I want does not appear in the list: Is this a setup that should be done in Salesforce? Remembering ...
0
votes
1answer
10 views

External Object Sync Without Wiping Cusomizations?

I have a table in a PostgreSQL database that I am exposing as an External ODATA Object to bring into my Salesforce Org. There are about 25 columns on this table. Within my Org, in the external object ...
0
votes
1answer
31 views

Declare custom object with relationships

Beginner disclaimer Apologies if this seems stupid but I've been a bit stumped by this. I have looked through documentation but cannot find the answer I need to here I am. I have a custom object ...
0
votes
1answer
21 views

Different Formula for Different Record Types

I have a custom object that has all the same fields except the value of one depends on the record type. I would imagine I could define a lengthy formula with IF but is there a cleaner way? Ideally, I ...
2
votes
1answer
24 views

How does Salesforce audit the 10 custom objects limit for community licenses?

To be clear, I do understand that this is a CONTRACTUAL limitation and not a TECHNICAL limitation, but in the event that Salesforce does want to take a peek at our org, we want to make sure we're not ...
0
votes
0answers
14 views

Can't report on new field on custom object

I recently created a new object type and added a formula field for the Case Safe ID. But when I try to report on that object, the new field doesn't show up in the options for report columns. Why is ...
1
vote
1answer
23 views

Master-Detail Relationship causing problems with creating Related Records

We have a custom object to log our Activities with Customers. Until very recently, it had a lookup to that account. To better serve our reporting needs, I changed that lookup to a master-detail. Now, ...
0
votes
1answer
33 views

Remove the “__c” from custom field API name

I've created a custom object in Salesforce with a number of custom fields. Is there any way to remove the "__c" from the API names of those custom fields?
1
vote
2answers
28 views

Get SOQL result from multiple tables and use in APEX

I have two custom objects ObjA and ObjB. ObjA.b is a LookUp field for ObjB. I have written following SOQL. SELECT Id, b.Name FROM ObjA This query gives correct results. Then I need to use these data ...
0
votes
1answer
25 views

Store and Revert Prior Field Values on Object After Approval Process Rejection

I am building a process where partner users make multiple field updates to an object Fatburger_Menu__c (all the fields are currency), which will activate an approval process for one of our team ...
0
votes
1answer
30 views

What query is causing error: “List has no rows for assignment to SObject”

The error occurs when loading the page for a custom object. My understanding is that this error means a query did not return any results, but I don't know how to begin identifying what query that is....
0
votes
1answer
14 views

How to Dynamically Embed Images from Files into Email Templates

I have a custom object with Files. The Files hold images. I am creating an email template and want the Files to embed in the email template. How do I even begin to go about that? I can't find anything ...
0
votes
0answers
15 views

Filter picklist values based on other objects field values

Is it possible to filter picklist values based on the 2 other object fields relation? In that case I mean for example: I have an Order Type field which on junction object is related to Region (e.g. ...
0
votes
1answer
36 views

Access custom object inside Visual force page set with standard controller to Contact

I am trying to add custom visualforce page in standard contact page layout. For that I have created one VF page that has standardController set to Contact in order view it in contact's page layout. &...
0
votes
1answer
31 views

How to delete child lookups from the parent after reparenting

Im a beginner and still learning to write apex.. Im creating a new object from the old object. I want to reparent the Lookup to the new object and delete it from the old object. //map of ids of new ...
0
votes
0answers
9 views

Page Title in Google Analytics

When capturing Google Analytics data from my Community, the page title is not being captured correctly for custom objects. For example, when I view a page on the web, the page tile in the browser tab ...
0
votes
0answers
12 views

Assign Related Record from Related List

I am struggling to find a solution, without over complicating my dataset. I have 2 object, Product and Product_Alias (Custom). Our Product_Alias table is a table of UPC codes that we have purchased. ...
0
votes
1answer
30 views

Related List is not showing up…?

I'm having an issue that a related list is not showing up on the detail page of the Asset object. When I try with the 'System Administrator' profile it shows up, but when I try with other profiles, it ...
0
votes
0answers
14 views

Importing custom object records with self lookup relationship to the custom object records on the same CSV file

I want to upsert some custom object records in a CSV file that has a lookup relationship to the another records on the same CSV file using sfdx upsert command. My CSV file: Name,Code__c,...
0
votes
1answer
34 views

Importing Custom Object to Commerce Cloud

I've been following the instructions on the SFMC Connector repository, and one of those instructions says to "Import the metadata, custom objects, and jobs definitions into your B2C Commerce ...
0
votes
2answers
48 views

how to make copy of custom object to from sandbox to other sandbox

I'm trying to make a copy of custom object from a sandbox to other sandbox, like by using "Change Sets". However, that was not successfull and I cannot find good ways of doing that. How can I move ...
0
votes
1answer
58 views

QuickActionApi - Unable to select SendEmail on custom object page

I am trying to initiate the SendEmail quick action from a button on my lightning record page. This seems to work for Account, but does not work for custom objects. Code is as follows Component <...
0
votes
1answer
25 views

Update owner Change

I have a custom field as previous owner in account lookup to user object Whenever I modify an account the previous owner field should get updated as account owner. I tried it using workflow and ...
-1
votes
1answer
40 views

Queried column disappears from results

I just added a new field to a custom Salesforce Object. I now want to query that field from the database. If I query it from the developer console, everything is fine. However... If I query it from ...
1
vote
1answer
25 views

Creating custom Object using external source

So basically I have been trying to work out a quicker way of creating a new object thats going to consist of around 400 fields I know I can use fieldcreator.herokuapp but this isnt that much quicker. ...
0
votes
0answers
16 views

Data does not show with Related Lookup Custom to Account

Inside Setup->Object Manager, I have created 2 custom tables (Driver__c and Vin__c) I went into my Driver__c table, created a new Lookup(Account) field and set a Filter that links Driver__c....
0
votes
1answer
22 views

Save vf page as attachment in custom object

I have a dynamic virtual page that I create, and I would like to know if it was possible to save it as html (not pdf as I need to do some modification later on) inside my related files for a custom ...
1
vote
1answer
47 views

Unable to view the Custom Object in App Builder

I have custom object named Order Line Item I'm able to create Tabs using the custom object. But if I go to Lightning App Builder and try to add a list view for my custom object i'm not able to see ...
0
votes
1answer
36 views

Importing custom objects

I have a problem importing and creating more than one custom object at a time using the data wizard. I have created a csv-file with headers that map correctly and imports fine when there is only one ...
2
votes
2answers
107 views

CreateSalesforceObject AMPscript

I am trying to create a new record on a salesforce custom object for storing survey responses. I am sending the Name (full name) to the cloud page via AMPscript in an email link. Here is the ...
1
vote
2answers
27 views

Managed package not letting me add a new custom field to already packaged object

I have a new field on an object that has already been packaged in my package org. This field is referenced in Apex as well. When I go to my package and look at the components, this field is not ...
0
votes
3answers
82 views

How can I get the custom object Tooling API Id?

I want to get the custom object id using the custom object's API name. Please tell me the way how to get id. req.setEndpoint(domainUrl+'/services/data/v46.0/tooling/query?q='+ ...
0
votes
3answers
74 views

How to get custom object id dynamically using apex

How to get custom object id dynamically. I have created one button on UI called Create custom field and on click of that button, I want to redirect it to that custom object field creation page(object ...
1
vote
1answer
71 views

Updating Custom Object using Visualforce

I am trying to update fields on a custom object using visualforce. I have embedded a visualforce page on Lead Layout that displays records of my custom object linked to the lead. I want to update ...
0
votes
0answers
10 views

Reporting with Custom Objects on Flow Sessions

We are using Flows to guide users through standard processes and want to be able to report on a user's session through the Flow, what choices were selected, etc. The Flows are hosted on a Community. ...
0
votes
0answers
23 views

Filtering by date-field

I'm trying to create a report over "Faktura" filtering by its field "Dato for fakturering", but it's not showing up in the report maker. Can anyone explain why this is? Is there any way to fix it? ...
1
vote
1answer
23 views

How to assign a queue based on Custom Object

I want to create a queue on the basis of a custom object, I want to assign custom object on the queue but my custom object is not showing on the supported list. Why is this?
0
votes
0answers
17 views

Don't leave Parent Page after adding a new Child object

I have an object: Parent and an object: Child on my SalesForce, the issue is that when I am on my parent object and I click on 'create new child' then I create this child, after confirming that child ...
2
votes
0answers
28 views

SFDX - force:source:convert command not including label, sharingmodel, name in CustomObject

I only want to deploy a new CustomField to my Sandbox org. My initial package.xml is using the CustomField metadata type to pull my new field from my development organization. However, when I ...
0
votes
1answer
43 views

Insufficient Privileges while adding field to a custom object

My user is with System Administrator profile in the Org I am trying to add a field to a custom object but getting Insufficient Privileges error. Like this: System Administrator has Administrative ...
1
vote
0answers
82 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
vote
1answer
74 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
31 views

Can I create a separate custom Person Object in Salesforce/SFMC?

Leads and Contacts are special objects. They are treated differently by the system. I need a custom one. Can I use a separate RecordType? Yes, this is perfect except that it doesn't help with ...
0
votes
1answer
26 views

Stop 3rd Party Integration from Changing Record Ownership

We are using a 3rd party app to have incoming emails send to SF under our custom Messages Object. However, the app also changes the ownership of the record to the themselves when a user clicks to view ...