The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [custom-field]

A custom field can be added to standard objects that support custom fields and custom objects to extend the capabilities of Salesforce to suit the specific needs of an organization. Custom fields can be accessed in code by referring to them by their API Name which is their specified Field Name value suffixed with an __c.

Filter by
Sorted by
Tagged with
0
votes
0answers
6 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 ...
0
votes
1answer
30 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?
0
votes
0answers
13 views

A report with a Custom Report Type has a field not properly displaying

I am trying to create a report that utilizes a custom Report Type. I need this report to have fields and get filtered across three objects, Contact - A, Inquiries - B (With or Without A), and Offers - ...
0
votes
1answer
18 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
35 views

wire getPicklistValues User fields

I am trying to use the 'getPicklistValues' in a lightning web component. The goal is to get the picklist values of a custom field on 'User'. However to use the wire function you have to pass a ...
0
votes
0answers
19 views

Delete Attempted Error

I am doing some tech debt clean up. Currently in the process of deleting 170 fields from the Account object. Today, however, I'm getting this error when attempting to delete. See screenshot I've ...
2
votes
2answers
39 views

Problem updating custom Account custom fields with trigger

First of all, I am new to Apex. I am trying to create a trigger to do the following: when the user adds or updates an account, the trigger takes the billing address and makes a call to the Google Maps ...
0
votes
0answers
20 views

Events Custom fields for a particular Custom object

I have created a custom field on Activity for Events and activate it through Global Actions But I don't want it to show every every on every tab(Accounts, Leads) when click on Event, I just want it ...
1
vote
1answer
30 views

My Validation Rule isn't working properly

I have a custom object that track several products, but none are required to be filled out. However, if there is a product, I want to make sure my users are inputting all the necessary information. So ...
0
votes
1answer
40 views

How to include custom field in a standard object using package manager?

I am trying to turn an app into an unmanaged package using the package manager's wizard in setup. The app has some custom fields within standard objects that I am trying to include in the unmanaged ...
0
votes
1answer
63 views

What does a URL field do that a text field doesn't?

What are the benefits of using the URL field type rather than a text field named "URL"? I did research but only found that they're limited to 255 characters (whereas real URLs are not). I also found ...
1
vote
1answer
24 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. ...
2
votes
1answer
49 views

sum of a field giving incorrect values when queried

I have a field called purchase price in orders table. When I query for those orders, I got 4 records. They are as follows Here, as per the above query, when i sum purchase_price__c, i am getting 194....
0
votes
1answer
28 views

Update CustomField via Metadata API without including extraneous updates

as the title says, I'm working on a project to update the Description on the CustomField metadata type via the Metadata API and would like to figure out a way to do this without needing to read the ...
1
vote
2answers
25 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 ...
1
vote
1answer
36 views

Creating a lookup relationship between two standard objects using a custom field

We are using the standard Salesforce Account and Order objects and are populating records via the Bulk API (using jsforce). Both Account and Order have a custom field external_id__c, which is the ...
0
votes
1answer
34 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 ...
0
votes
1answer
17 views

Multi Picklist Custom Formula Field Get First Group

On the contact object, a contact can be grouped into multiple groups through a native multi-picklist field. I want a custom field that should pick out the first group in the group field. For example, ...
0
votes
0answers
56 views

Sort checked row

I have a tab where i save my values in first column. And when I check checkbox I want to copy value from first column then sort it and save in second column. How to implement sort? Any suggestions ...
0
votes
2answers
35 views

To create a custom field

Is it possible to implement the following requirement in declarative way? One custom field Ability to enter URL of size greater than 500 characters and displays only first 50 characters. Editable ...
0
votes
0answers
18 views

I'm having trouble. I would like if the test field is selected. Test2 is search-enabled

<c:customLookup aura:id="teste" objectAPIName="teste" IconName="custom:custom36" label="teste" selectedRecord="{!v.teste.Id}" /> I tried to use the onLookupChange of the lookup itself <c:...
0
votes
1answer
28 views

Changing field type from Checkbox to Formula(Checkbox)

I have read that change in field type would result in data loss. I have a custom field which is of type checkbox and has around 200 records. Now, I need to change this field data type to formula (...
0
votes
2answers
15 views

Custom Fields: Access other data assoc. with Object other than its fields

I want to make a custom field for Salesforce's Contact object; I would like to access information that can be found on the Contact object page, but are NOT fields. Notice in the picture, I want to ...
0
votes
1answer
27 views

How To Find Out What Was The Last Updated Field On A Lead Without History Tracking

A managed package updated a field on the Lead object but that field is not in the history tracking. Is there an easy way to find out what field was updated exactly? The Lead has 400+ custom fields ...
1
vote
1answer
23 views

Custom render field for lightning

Scenario I've have multiple images categorised like before, after, extra images. And I want to display them together in Record page, ofc with customisation like in HTML grid something as I need some ...
0
votes
1answer
20 views

Copy opportunity information to custom object using a button [closed]

I'm trying to create a new custom object when an opportunity is closed won. For that I chose to use a button in the opportunity's page layout to create a new custom record. I want to fill ...
2
votes
1answer
121 views

SOQL Profile Id Bug Introduced in Summer 2019 Release

We have discovered SOQL Profile Id Bug Introduced in Summer 2019 Release. To reproduce this, we need to have either a Custom Object or Custom metadata with Custom Field of Text field which contains ...
0
votes
0answers
48 views

Days in this month and days in this year formulas

I have a formulas of days in this month and this year with start and finish dates. My formula counts the number of days in this month/year that fall in a given interval (between Start Date and Close ...
-2
votes
2answers
59 views

How can I simplify the formula to avoid limit?

I'm getting "Maximum size is 5,000 characters" for formula, when trying to do this: ((Account.Cost_per_day__c + IF( (AND(Cleaning__c = TRUE, Parking__c = TRUE)), (VALUE(TEXT(Number_of_cleaning__c)...
1
vote
2answers
260 views

The number of days until the end of the month

For example, I have Start Date 29.05.2019, and Finish Date 4.06.2019. I have a formula field which displays 6 days between these 2 dates. But how can I count the number of days from Start Date until ...
1
vote
1answer
355 views

lightning:inputField is not rendering, saying the request is missing the field data when it is not

I am trying to display a list of date ranges based on an objects start and end dates using a lightning component. When I open it in a visualforce page as part of a set of nested components, it will ...
2
votes
1answer
46 views

Prepopulate user lookup fields with current user, with additional criterias

I have a custom object that we use to log client visits, where both a Sales Rep & a Support Engineer can take part. I have 2 custom lookup fields on this object, one is called "Sales Rep", while ...
1
vote
0answers
41 views

No such column on sobject error occurring on sObject that does have that column

When attempting to update a custom object using SF default API endpoints (/services/data/v43.0/sobjects/MyCustomObject__c/customId__c/4003) I am getting a weird error telling me that a column doesn't ...
0
votes
0answers
17 views

Richtext Field contains GIF image

I have richtext field(crich__c) that contains gif image in salesforce. When created an email template and merge my richtextfield it doesnt show.
0
votes
1answer
39 views

AutoNumber based on Fiscal Year

I have Autonumber (fiscal year). For example Jan 1 2018. My AutoNumber field will be 180000 . For next Year Jan 1 2019. my autonunber should be 190000.. is this possible ? Thanks for the help
0
votes
0answers
30 views

Don't get complete set of custom/standard fields in sandbox just after creating it with permission to all objects

I just create sandbox in Enterprise Edition but don't get full/complete set of fields for Opportunity.I made a copy from production org. Any assistance will be highly appreciated.
2
votes
1answer
37 views

How to Change a Custom Field to a Roll-up/Formula Field

I have a custom field on the Account object that had been getting populated by an external data source. We are making changes and will no longer be populating the field from the data source but are ...
0
votes
0answers
151 views

Opportunity Line Item's Unit Price(quoted price) field update from related Product custom field

I have a requirement to update the Unit price(quoted Price) field of an Opportunity Line Item from the related Product Object custom field. And I need to perform this update when I am creating the ...
0
votes
1answer
35 views

List all Custom Fields that exists in the org and relate then with the appropriate objects [closed]

I need to list in a visualforce page all Custom Fields existing in my org and them relate then with the Standard or Custom Objects. For example: Example_Object__c Example_Field__c If i select the ...
1
vote
1answer
115 views

Create lookup field that can relate to two types of objects

I have a custom object, that I would like to relate to the built-in Accounts and Opportunities objects. Sometimes this custom object can be related to an Account, sometimes it can be related to an ...
1
vote
2answers
27 views

Field not available in list from SOQL

I have a custom field that is populated by integration, and in certain cases a currency field will end up as blank. It will not evaluate to null or 0. SQL Execute from dev console log: 13:26:53:006 ...
0
votes
1answer
259 views

Time field based on TimeZone

Is Salesforce time field dependant on timezone. Is the time field value change based on TimeZone.
0
votes
1answer
37 views

how to show picklist values in different languages dependent on the current user’s country?

I want to show picklist values in the language of the logged in user. (don't want to use VF pages)
2
votes
1answer
134 views

Error in a formula field

I have a requirement where I need to populate records where a criteria is true. The criteria is the users must have joined in between Jul,2018 to May,2019. I thought I can achieve this using a ...
2
votes
1answer
244 views

How to access existing custom fields from SFDX-managed unlocked package?

Long ago, I added a field Type__c to Contact on our production org. Now, I'm using SFDX to develop an unlocked package with code that refers to that custom field, like someContact.Type__c = 'Student'. ...
0
votes
0answers
31 views

Picklist value added to Inactive values list if i create new value from rest API?

I have one pick-list field called type if i gave new value to type pick-list field it's creating the value in field but it is in active.I am creating record Throw REST API.How to make this active ...
1
vote
1answer
151 views

Salesforce DX referring to Global picklist “CustomField not found.”

I have successfully deployed a Global Picklist "State" in scratch Org. Following deployment I am referring the global picklist in a custom field. I am get the following deployment error API Name : ...
1
vote
1answer
81 views

Insert or Update Custom Metadata Type Boolean Field

How, or can we, update Custom Metadata Types that have a checkbox field using the MDAPI? When I set it to '1' or 'true' in both instances it says value not of required type: <?xml version="...
0
votes
0answers
28 views

Can I Stamp my Service Appointment Status?

I'm looking to capture via the process builder when a Service Appointment status has been changed, and I want to store this timestamp in a custom field from a custom object for each one of the ...
1
vote
2answers
57 views

Update fieldPermissions with metadata api of Salesforce

I try to update the permissions on a field created from the API so that it is visible and usable. so I do this via the salesforce metadata API. responses = client.call(:update_metadata, message_tag: ...