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
votes
0answers
21 views

How to get Address by using latitude and longitude [closed]

I want to get the address of a particular location by using latitude and longitude. the scenario is like this... when I click the button"location" the latitude and longitude field automatically update ...
0
votes
2answers
40 views

How to List all Custom Objects from Salesforce API?

I'm currently working to use the Salesforce REST API to get a list of all Salesforce Custom SObjects without including System or Standard Objects (like how the /services/data/vXX.X/sobjects/ does). ...
0
votes
1answer
23 views

Custom Objects in Salesforce but Not Visible in Object Manager or Scheme Builder

I have some custom survey objects that I have uploaded via the data import wizard. But the objects are not available in the scheme builder or object manager. They are in the org because I can populate ...
2
votes
1answer
19 views

Revert Public Visibility to Protected Prior to Packaging

I have a regular custom object that was marked as Protected in my 1GP packaging org. It has been included in the last few releases of the package as Protected. In my DX Scratch Org, I had to ...
0
votes
1answer
31 views

Update related list view

I have a custom object with a master-detail relationship to some standard objects through a junction object. On the related list view on the standard object, I would like to: Remove the checkboxes on ...
0
votes
0answers
36 views

How to get IDs of checked records from list view

I need to get Ids of checked records of Custom object's list view page. Custom button using visualforce page can get it, but it is not good solution. The best is I can do it from utility bar ...
0
votes
0answers
28 views

Salesforce Custom Object and field data model

I am trying to create a custom object related to a field related to the accounts objects and as well as a picklist and checkbox field. What I would like is that for every single record on the object I ...
0
votes
1answer
62 views

How to enter date and lookup field into an object

I rewrote the code, through anonymous works. I only have a problem with the date and field Log__c (lookup). public class ExampleExchange { @AuraEnabled public static List<Exchange_Rate__c> ...
0
votes
0answers
17 views

Usage of custom fields of a custom object in visual force page? [duplicate]

How to access custom object fields from visualforce pages? My custom object is Project__C Custom fields are : Client__C, Project name, Start date, End date, Notes Should I use custom controller? ...
0
votes
0answers
24 views

Mytrailhead data model

My company has a business scenario to record multiple workshops outcome against each account. Instead of building custom object, we are thinking leveraging Salesforce mytrailhead to achieve this. But ...
8
votes
1answer
77 views

Maximum number of fields in a custom object, considering managed packages?

I am under the impression that a custom SObject can have no more than 500 (or 800) fields in total across all namespaces. From the Salesforce Features and Edition Allocations documentation there is ...
1
vote
1answer
25 views

Add Custom Fields after a Managed Package is Released

Based on the following I understand that new custom fields of an existing custom object aren't available to users after Pushing a Managed Packaged Assigning Access to New Components and Fields From ...
0
votes
1answer
29 views

“Protected” Records and profiles permissions

In our org, we have a custom object, which all records meeting specific criteria need to be protected (criteria is StartDate older than 3 months) By 'protected records' we mean: for some specific ...
2
votes
0answers
26 views

how to deduplicate millions of records of custom objects [closed]

In an org of a client we have about 170 million records of mostly custom objects, with some single custom objects having as much as 70 million records on their own. The problem is that for about 10 ...
0
votes
0answers
9 views

How to manage gift cards?

We would like the ability to send gift cards to certain accounts as needed. At this stage, we are not really worried about redemption, tracking etc. The first stage is to get to a point where a sales ...
0
votes
0answers
39 views

Making an object available for Report

There is a case here when the object was created, the allow reports option was left unchecked, and I need that to be checked again so that I can allow reports checkbox to be enabled. However, when I ...
-2
votes
1answer
76 views

Custom Object or Big Object for dataset of 3 million records [closed]

I am sort of confused in what approach to take in storing large amounts of data in Salesforce. I have some data that is between 2 - 3 million records and I want to access that data through apex code ...
0
votes
1answer
35 views

Webhook / View Object Data from a Website (Wordpress)

Is there a way to access records from a custom object and then put those records on a website without using API? Specifically, feed-like-RSS that could generate JSON/XML? The CRM I'm working in does ...
0
votes
1answer
20 views

Custom Object ID into a field?

I'm new to using Salesforce, but I need the ID of my custom object e.g. a054J0000057Ps8QAE to show in a Custom Field, is this possible? I'm guessing there's maybe a formal I need to add in the ...
1
vote
1answer
33 views

Quick Action doesnt show up in the Layout

I created a quick action on Oppurtunity record and it doent show up in the Layout. The quick action is to create a custom object And I added it to the Layout But on the Opportunity Record I dont ...
1
vote
1answer
84 views

APEX trigger lookup field value in onther custom object

This is what I have: trigger ComplaintInitialize on Complaints__c (before insert, before update) { for(Complaints__c Complaint : Trigger.new) { if(Complaint.RecordType_Name__c == '...
1
vote
1answer
47 views

Pass in Form Values to Salesforce Community Create Record Page

I'm trying to prepopulate some values on a Salesforce Community create record page based on a URL with URL params that is clicked. Use Case: User clicks: https://mySandbox-request.cs24.force.com/...
1
vote
2answers
69 views

How can we create Custom objects and fields without using Object Manager(from the UI)?

I am already aware of the Traditional method of creating Custom Objects and fields using object manager in Salesforce but just curious if there is another way to create them that will increase a ...
0
votes
1answer
25 views

I need to add a variable number of business days to a date

I have a field in the products called RPG_LeadTime and this is the product lead time before we are expecting to dispatch the product. So if the date is 23.12.2019 and the lead time it two days then ...
1
vote
3answers
599 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 ...
1
vote
3answers
141 views

What is causing the “Invalid Character in Identifier” error when compiling my Apex code

I've got the Following code: Global class EmailToLeadTST implements Messaging.InboundEmailHandler { global Messaging.InboundEmailResult handleInboundEmail(Messaging.inboundEmail email, ...
2
votes
1answer
57 views

Create List View Action to call apex method

I have a set of list views for my Custom_Object__c and these list views are visible in the community. I need to create a custom action for the Custom_Object__c list view. Then user should be able to ...
1
vote
1answer
33 views

How to delete the shared object record

I have written a trigger which will insert, update and delete the project when a new project team is created and removes access when the it is deleted . I have successfully written the code for insert ...
0
votes
1answer
116 views

best way to make a checklist in salesforce?

hello i'm trying to make a new hire checklist within salesforce to track completion. currently we use an excel spreadsheet that has the task, whether its completed or not, the owner of the task and ...
0
votes
1answer
54 views

Accessing data of Sandbox from Scratch Org

I want to be able to query, insert and update records of a Sandbox from a Scratch org, only during the development phase. I know that scratch orgs are meant to be populated with just a little amount ...
0
votes
0answers
20 views

Visualforce Email template recipient type with multiple customized objects. Create customized object

Requirement is to use email template with visual force components, and send an email for each environment the contact is associated to. For example, contactA is associated with env1, env2, and env3. I ...
0
votes
1answer
137 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
132 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
1answer
215 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
81 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
25 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
29 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
15 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
28 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
49 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
16 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
29 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
57 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
30 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
76 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
40 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
20 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
27 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. ...

1
2 3 4 5
26