As of May 31, 2023, we have updated our Code of Conduct.

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
1 answer
20 views

Why Force.com - Enterprise Edition (Light Applications) 10 object limit doesn't apply?

We are currently using Force.com - Enterprise Edition (Light Application), this is what it's called in the contract, but in Company overview it's called Force.com - App Subscription. From what I've ...
jema's user avatar
  • 403
0 votes
1 answer
35 views

Custom Metadata Type Records Mass Insert

Trying to mass upload custom metadata type records using cmdt commands. The following was working but now it stopped. I keep getting this error: 'The column Name is not found on the custom metadata'. ...
Dmns's user avatar
  • 1
0 votes
1 answer
21 views

How do you create a custom object for a managed package

I'm creating a new managed package and I'm unsure of how to add a custom object to the package. In 1GP I would create a new object in the org as normal and then retrieve source from org to pull ...
lhh13's user avatar
  • 5
-2 votes
1 answer
26 views

Prevents the deletion of contracts that are in active status

I want to give a validation on contract that when contract status is on active nobody can't delete the contract. But I can't do this. If anyone have solution give me the solution it helps me a lot.
Md Mamunur Rashid's user avatar
-1 votes
0 answers
21 views

How to create path for status field for a custom object

I have created a custom object with a field status consisting Pending, approved, declined as the selective options. I need to create path for status field for custom object.
Abishethvarman V's user avatar
0 votes
0 answers
17 views

Creating a record for a custom object and attaching a relevant pdf using dataloader

I have a custom object called 'Document Review', which contains a serious of questions that reviewers will need to answer when reviewing a single document. The documents themselves come in batches of ...
Frank Anderson's user avatar
-1 votes
1 answer
31 views

Custom Object list view

I have a requirement to only show certain records in a list view to users based on two field values. I can filter the fields on the list view page but I have not been able to find if I can default to ...
mackmama's user avatar
  • 605
-1 votes
1 answer
36 views

Are custom objects enabled on Salesforce Essential Edition

This is a quick question. Is it possible to create custom Object in Salesforce Essential Edition? If so, is there a way to enable it?
Gabriel Gessen's user avatar
4 votes
1 answer
215 views

User without create permission can create a custom object from Managed package using Custom Rest API

I have a Managed Package where I have Custom Object called Transaction and Apex Rest Resource for creating this object. The Resource Code: @RestResource(urlMapping='/v1/transaction/*') global with ...
Vitalii Dehnerys's user avatar
0 votes
0 answers
38 views

Salesforce formula showing negative number/time between two dates

I have a business requirement to show the total number of working hours (Mon-Friday 8.30am to 5pm) between the case creation date and current time (NOW() if the case is open) or closing time if the ...
Marjan's user avatar
  • 15
0 votes
0 answers
20 views

Managed Package - Allow only application code, and few authorized users, to insert records of a custom object

We have a custom object in our core managed package (visibility is public). There are a bunch of other managed packages that work alongside the core managed package and have code to insert records of ...
prateekmathur1991's user avatar
0 votes
0 answers
27 views

Issue with Creating records thru flow with all access data in community portal

Current Config Organization-wide setting - Sharing Setting Custom Object LeadStage - External sharing - Public Read /Write Community Portal Guest User Profile Custom Object LeadStage - Create, Edit ...
Nams's user avatar
  • 1
0 votes
1 answer
25 views

display paragraph based on conditions

I have a VFP and I'd like to show some of my paragraph based on conditions. Here is one example of my code: <apex:outputText rendered="{!Offer__c.Offer_Type__c == 'Conditional' && ...
bbas's user avatar
  • 1
0 votes
0 answers
38 views

Cannot find the declaration of element 'custom-objects'

I have been adhering to the guidelines provided on the SFMC Connector repository, and as per one of the instructions, it is recommended to "import the metadata, custom objects, and job ...
Rania's user avatar
  • 1
-1 votes
1 answer
31 views

Formula field not working - Error: Incorrect parameter type for operator '-'. Expected Number, DateTime, received Date

I wrote the following formula to calculate number of hours (monday-friday 9am to 5pm) between two dates: ( 5 * ( FLOOR(( Closed__c - Opened__c ) / 7) + MIN(1, MOD( Closed__c - Opened__c, 7 ))...
Marjan's user avatar
  • 15
-1 votes
1 answer
52 views

I want to make a URL from record in a custom object in lightning email template

"Hello everyone, I need help creating a URL in a Lightning email template in Salesforce. But what's special about my situation is that I need the email URL to take me to a path similar to this ...
Rodrigo Maldonado's user avatar
0 votes
0 answers
54 views

Dynamic Custom Object Name auto number formatting

I have a requirement when creating a Custom Object to dynamically have the Name (when auto-number) prefix changed based on Record Type. It looks like it can't be modified in a trigger and I don't see ...
mackmama's user avatar
  • 605
0 votes
0 answers
74 views

Custom object visible in Classic view, but not in Lightning (object is attached to the ''related'' tab of another object)

Got a case where the custom object was created ( in Lightning ). I am able to see the object by itself, but when I want to see it in the ''related tab'' of another object I cannot, even if all the ...
Mihaela C.'s user avatar
-1 votes
2 answers
54 views

Creating Custom Object__c

According to Salesforce documentation when creating a custom Object we need to add __c at the end of the string. Does it make any difference if when creating a custom Object we don't add the __c?
Duicug's user avatar
  • 429
0 votes
0 answers
244 views

Auto-Populating Fields before a new record is created

Is there a way to auto-populate the fields based on the lookup field while user is on the New record screen? Example, Let's say I have custom object called Project. I have a lookup field "Master ...
SWP's user avatar
  • 3
0 votes
0 answers
33 views

Formula field displays incorrect value

I want to calculate total number of working hours (Mon-Fri 9am-5pm) between two date/time fields. I have written the formula below: ROUND(8 * ( (5 * FLOOR((DATEVALUE( Closed__c ) -DATE(1996,01,01))/7) ...
Marjan's user avatar
  • 15
0 votes
0 answers
16 views

Deprecated field - Manage existing reports [duplicate]

Object A is a parent of object B. Object A is referenced in object B using field X. I recently found out that field X was deprecated, stopping me from creating any new records from Object B using Apex ...
Hans Rogg-Desormeaux's user avatar
0 votes
0 answers
30 views

new custom field visible in view mode but not in edit mode in classic

I created a new custom field in a custom object in classic (picklist). The field is in the page layout and has all permissions and visibility given. It can be seen in view mode but disappears when I ...
Deb S's user avatar
  • 1
1 vote
1 answer
291 views

What happens when I create a custom object with Name field = NULL?

I have an application where there is a custom object Sales_Order__c. The Name field is defined as Text , not AutoNumber There is Apex that creates this object and inserts as follows: Sales_Order__c ...
cropredy's user avatar
  • 67.6k
0 votes
0 answers
24 views

Page looks nothing like page layout

super new to Salesforce. We have a custom object called "Evaluator." However, when we created different layouts for this object. However, the page layout editor looks nothing like the actual ...
amenayang's user avatar
0 votes
0 answers
39 views

Using AMPscript to dynamically supply values to a custom object inside journey builder

I am using a custom Salesforce object to store information related to sending printed pieces that are relevant when someone reaches a specific part of a journey. One of the attributes we want to ...
someoneinomaha's user avatar
2 votes
1 answer
101 views

Mocked imperative Apex method does not return mocked value

My lwc has an input and a button. When I press the button an apex call with the input's value is made. Even though the method is called with the right params, the return value is some sort of empty ...
Christian Llanos's user avatar
0 votes
1 answer
42 views

Design Decision: Object with a lot of empty fields [closed]

I want to design a table that will contain a lot of fields. I can normalize that table into a set of tables. But in that case, individual rows from those tables will count under storage (each row size ...
Rajendra Singh Nagar's user avatar
0 votes
1 answer
104 views

Sending Adobe agreements on custom object relationship error

I have created a custom send for signature button for a specific Adobe Agreement in Salesforce lightning using the following: {!URLFOR('/apex/echosign_dev1__AgreementTemplateProcess', null, [masterId =...
stelts's user avatar
  • 1
0 votes
1 answer
30 views

Pardot - why is using own objects and sync mechanism? [closed]

I am learning about Pardot Cloud. I have searched a lot but did not find answers that will satisfy my questions. By learning on trailhead, I know that Salesforce treats Pardot as something as "...
Łukasz Franczyk's user avatar
-1 votes
1 answer
46 views

Contact to contacts

I'd like to be able to relate a contact to multiple contacts. For example, John is a student, and I want him linked with Teacher A and Teacher B, etc. I created a custom object "Teachers" ...
Sako's user avatar
  • 1
0 votes
0 answers
27 views

How to group fields and duplicate group

I'm new in Salesforce and i would like to know two things, I try to create a custom object in Object Manager, it looks like this for now I have a section named "Personne" where i can add ...
dc-mpo's user avatar
  • 101
0 votes
0 answers
26 views

Creating New Object - Display Format configuration [duplicate]

I need to create a custom object. For the Record Name display format, it needs to be a 2-digit year followed by a 6 digit number. Rookie question: When I'm setting this up, in the Display Format ...
SalesforceJunkie's user avatar
0 votes
1 answer
44 views

What are the best way to automatize the creation of related records when the information is coming from Callouts?

I want to know if there is a way to relate records when the information is coming from Schedulable callouts, I created other classes to create the first and the second list of records but now I need ...
Gerson Baires's user avatar
0 votes
2 answers
363 views

How to check if a particular record already exist in a record using apex class trigger

i am having some problem in solving a particular record. problem - Repeated Units should not be allowed to be created for same building. Error to be thrown as (Another Unit with same specs already ...
Mr- Roman's user avatar
0 votes
1 answer
40 views

Conditional Formatting Visualforce Cells

Hello there, I am attempting to re-create the lightning stage path with branching stages. I built a Visualforce table with the bare-bones of these stages, but am running into trouble when I go to add ...
Grey Consultant's user avatar
0 votes
1 answer
382 views

Unable to create custom object from spreadsheet

While i was trying to create custom objects using spreadsheet (Object Manager -> Create Custom Objects from spreadsheet -> Takes you to https://object-creator.salesforce.com/), it always ...
Harikrishnan's user avatar
0 votes
1 answer
730 views

Remove standard delete button from list view page and add custom button there

How to remove standard delete button and add custom delete button(LWC added to Quick action) here
Aruna's user avatar
  • 397
0 votes
0 answers
183 views

Restriction rule not working on user alias

I have a custom object that has a picklist field called 'LoS'. The field has 5 different values. I created a restriction rule so one particular user should only view records where the picklist value ...
Marjan's user avatar
  • 15
0 votes
1 answer
195 views

Roll-up summary field of formula fields that returns currency

Documentation it shows that SUM is only available for some types of data. Currency is one of them. I can't use my formula field to do the SUM of all of them. That's the structure of my child object. ...
devpbrn's user avatar
0 votes
0 answers
37 views

Summary Level Formula Field on a Custom Object

Say I want to create a forecasting model in Salesforce that can show me the expected close rate of any deal that that meets certain criteria. Has anyone tried to create a custom object that ...
rslaney's user avatar
-1 votes
1 answer
352 views

I want to copy field value from Account object to Opportunity object [closed]

Copy from Account object [Field name: "Region") to Opportunity object (Field name "Business Region") Both "region" field on account and "business region" field ...
Ankita's user avatar
  • 1
-1 votes
1 answer
130 views

how to see previous value of a field in salesforce edited by mistake

I edited by mistake the value of a field. The track history of the custom object isn't enable. Can i do something to see the the old value? Maybe with a query.
user123788's user avatar
0 votes
0 answers
84 views

Pull value from related object

I would like to be able to access a checkbox value from a related object, within my opportunity field. Custom Object: Shift Formula checkbox: Pushed to Google Calendar When an opportunity is in ...
Wouter van den Bijgaart's user avatar
0 votes
1 answer
85 views

Preserve Leading and Trailing Spaces in Contact Name

I have passed contact name with leading and trailing spaces but when I click on save the spaces are removed from the name. Is there any way we can preserve spaces in Contact's Firstname and Lastname?
G Salesforce's user avatar
0 votes
1 answer
317 views

Is there a way to hide the Standard NAME field?

Is there a way to delete/hide this field? It comes with object creation but I don't need it. Or is there a flow /formula field I can do to update this field with the user? This is for a tab called ...
123here's user avatar
  • 19
0 votes
1 answer
58 views

Custom Object to replace tasks to handle 255 Char limit

In salesforce lightning, The Task/Activities Object (I believe one inherits from another), seems to have a hard limit of 255 chars for a field and does not have options for the text field long or rich ...
Rogelio's user avatar
  • 115
0 votes
0 answers
19 views

Creating formatted file type from object

I'm having a go at creating a formatted file its a txt file with extension 'aba.' (Sometimes called cemtext) its used for Australian banking systems to pay multiple people in one hit. The idea is ...
Mike Cuming's user avatar
0 votes
1 answer
2k views

Custom Object not Visible in SF

Salesforce Admin newbie here. I've picked up support of an org that I was not involved in building. There is a formula field in 3 or 4 small custom objects I need to investigate and possibly change. ...
Dubbs's user avatar
  • 13
1 vote
0 answers
95 views

"ExecutionException: List index out of bounds: 0" while sending email from Apex using email template with Custom Object merged fields

Here is the code- public static void sendEmailToUser(String email, String emailTemplateNameText, String selectedRecordId){ String emailTemplateName = '%' + emailTemplateNameText + '%'; ...
Prapti's user avatar
  • 45

1
2 3 4 5
30