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

Upload Metadata into Salesforce from GitHub

There is a GitHub repository with metadata such as tabs, custom objects with fields, apps, etc. What is the best approach to upload that metadata from GitHub into the SF Sandbox org? Thank you in ...
BB0202's user avatar
  • 11
-1 votes
0 answers
16 views

I have a related list on contact and need to get it ID on contact record

The related object called wallet__C is linked to the contact. It can only have one record. Is it possible to get the ID of the wallet__c record and add it to a lookup field on the contact record?
Keith Fitzmaurice's user avatar
1 vote
1 answer
34 views

Can we add/create a duplicate field with and without namespace prefix in a same object

I have seen this type of scenario in one of the org, where the same field is present with and without namespace-prefix I want to know if is it possible, if possible can you please mention how to ...
Durgesh Patidar's user avatar
-1 votes
1 answer
66 views

apex list of object

I have a list of objects: List<Volume_Detail__c> listVolumesDetails = new List<Volume_Detail__c>([SELECT Id,Year__c,January_Volume__c, April_Volume__c,Volume__c FROM Volume_Detail__c ...
user avatar
0 votes
0 answers
20 views

Create package version with namespace: Error to access custom field in FlexiPage

Hi I understand it don't need to add NAMESPACE in prefix when access <FIELD>, but I still have case like below. My package have relationship between 3 objects: Contact - Affiliations - Account. ...
vctqs1's user avatar
  • 55
0 votes
0 answers
35 views

Custom Object Definition ID: bad value for restricted picklist field <CustomField>

I got this error when creating package version (1) Create_New_Order: Custom Object Definition ID: bad value for restricted picklist field: MOrder__c <?xml version="1.0" encoding="UTF-...
vctqs1's user avatar
  • 55
0 votes
3 answers
118 views

How can I limit the creation of new records to 1 record per parent record?

Is there a solution to limit the creation of 1 record, per parent record? If I disable the "new" button, is there a specific filter for this scenario? If I should establish database control, ...
user avatar
1 vote
0 answers
30 views

Creating a custom object (and tab) to host a library of content

I am trying to create a tab that will have links to pdfs hosted on salesforce. Essentially, a sort of dashboard with content that my users can easily view and open. It needs to be easy for my users to ...
Julie Broderick's user avatar
0 votes
0 answers
46 views

Operating on summarized values in a matrixed report

Hello fellow Trailblazers I'm in a bit of a pickle here I have two tables referring to buys of gas and gas sales to customers. Each table has the same fields (date, price/liter and quantity in liters) ...
Jorge Martins's user avatar
0 votes
1 answer
56 views

Error - Invalid field 'Shares' for CustomObject__c

Quick Dynamic apex question here. I have a list of generic SObjects and I'd like to dynamically get the child share records (I have queried for them previously): for( SObject rec : records ){ for( ...
Bigears's user avatar
  • 1,091
0 votes
1 answer
85 views

How to Update Salesforce Custom Object through AmpScript in Marketing Cloud

We have an Email that has a CTA Button and upon clicking the CTA Button the response should be captured in MC and a field in Salesforce Custom Object should get updated. My code is working fine in ...
Reva's user avatar
  • 3
0 votes
0 answers
41 views

JSON File to Salesforce Object, e.g. using For Each block

I tried to figure out how to get the following JSON object as Mulesoft Payload: [ { "FileType": "pdf", "FileName": "FilenameOfPdf", "FileContent": &...
Lukas Pfeiffer's user avatar
-1 votes
1 answer
89 views

Data Integration Rules

Accessing "Settings" -> "Data Integration Rules" and I have access to the Data Integration Rules. It shows the edition for the type of Account objects. I want to be able to ...
izzamol's user avatar
0 votes
2 answers
86 views

Is there a way to commit custom object records via VS Code to a repo?

I could notice we can commit Custom object fields and layouts and such, but can we commit the custom object records which we created in org?
SF Learner's user avatar
0 votes
1 answer
43 views

How to test two conditions in formula field IF

So I'm stuck on the logic here this was my original code and it worked but I was also trying to add a condition that if TODAY()-LLC_BI__Covenant2__c.LLC_BI__Next_Evaluation_Date__c) > 0 is true ...
Albert Chen's user avatar
0 votes
0 answers
154 views

Journey builder issue with Contact Data

There is an issue with my Journey in Marketing Cloud instance. There are 2 actions: we send SMS messages via that journey and log the answers to these SMS in Salesforce in 24h. The journey runs once ...
Slavik Kharkovskiy's user avatar
0 votes
0 answers
32 views

Capture few Case fields changes and send to third party

We want to track around 20-30 fields changes of case object. These fields changes can include the long text area field, multiselect picklist values, formula fields, and roll summary also. The reason I ...
Sukruti's user avatar
  • 450
0 votes
0 answers
46 views

Duplicate Custom Object Definition The custom object is already assigned to a tab

I am not able to create a Custom Tab for a Custom SObject in my packaging org. Name of the SObject: namespace__Section__c When I try to create a new Custom Tab through Setup I see this message: ...
Denis Lukeniuk's user avatar
0 votes
2 answers
424 views

How to query managed package objects

I'm trying to retrieve record values of a managed package custom object (call it abc__custom_object__c, where 'abc' is the package namespace, as an example). Trying to run the following SOQL query ...
lhh13's user avatar
  • 41
0 votes
1 answer
354 views

Email button for Custom Object List View

Trying to create an action or button to show on a custom object list view to email selected records. My goal is to send an email to selected records when I click on a Send an Email button. I get ...
mackmama's user avatar
  • 689
0 votes
0 answers
35 views

Standard lookup values dialog box disappears on type ahead

I'm facing a weird issue. I have a standard record page on a custom object - Approval_Norms__c and have a lookup field related to another custom object - Approval_Master__c. Lets say if I have a ...
AjaySFDC's user avatar
  • 618
1 vote
1 answer
211 views

Auto populate Lookup Fields related to multiple Objects

I have a custom object called Project, that has related object called Milestone. I then have an object called Log which is related to both a Project and a Milestone. If you create the log from the ...
Ed Lawrence's user avatar
1 vote
1 answer
82 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
  • 413
1 vote
5 answers
816 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
  • 11
0 votes
1 answer
91 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
  • 41
-2 votes
1 answer
50 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
0 votes
0 answers
21 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
52 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
  • 689
-1 votes
1 answer
102 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
3 votes
1 answer
334 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
181 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
23 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 ...
Prateek Mathur's user avatar
0 votes
0 answers
29 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
41 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
165 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
54 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
276 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
110 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
  • 689
0 votes
0 answers
279 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
136 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
  • 457
0 votes
0 answers
943 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
71 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
17 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
146 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
691 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
  • 69.9k
0 votes
0 answers
26 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
69 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
227 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
52 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
228 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

1
2 3 4 5
30