Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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 ...

0
votes
2answers
30 views

Import and use strike components

I'm new to salesforce development so this will be probably a very trivial question but I'm stuck here. I'm trying to import and use Strike lookup component So I have imported all the files in the ...
0
votes
1answer
13 views

I have one lookup field in contact object and need to disable new record to be creating

I have one lookup field in contact object and need to disable new record to be creating. I just wanted to hide/disable the New record creation button from lookup in sfdc.please suggest
1
vote
1answer
14 views

Cannot access packaged custom field via rest api

I have made a managed package which contains few custom field. Till now it was not having any issues, but today someone installed that package in a group edition salesforce account, and he is not able ...
0
votes
1answer
21 views

Custom Formula Field

I am attempting to create a custom formula field on the Case Object, which brings over the To Address field from the Email Message Object. However, when a new Case is created from Email-To-Case, the ...
0
votes
1answer
24 views

Standard custom fields

I have a totally new, untouched org (Partner Developer Edition). I was going to make some customizations but before I did I created a new unmanaged package. I happen to notice though that there are ...
0
votes
1answer
22 views

Having trouble retrieving a checkbox value with SOAP API in c#

This is the first issue I have ran into retrieving data from Salesforce using the SOAP AP. So I have introduced a custom field which is a checkbox, (lets call it Checked) and I have added it to the ...
2
votes
1answer
40 views

Lightning Component: Custom Fields Not Being Stored when saving force:recordData

I've been following the Salesforce documentation on using the force:recordData component to instantiate a new instance of a Case object (targetRecord) using component.getNewRecord, then pushing data ...
0
votes
1answer
21 views

adding up custom field with triggar [duplicate]

trigger PaymentTrigger on Money_Received__c (after insert, after update, after delete) { Money_Received__c moneyReceived = [SELECT Reservation__c FROM Money_Received__c]; Reservation__c ...
0
votes
0answers
14 views

Guest user profile unable to access Service Appointment custom field

I have a managed package that has created two custom fields in Service Appointments. We need to allow Guest users to create Service Appointments via community. They are able to create the Service ...
0
votes
2answers
25 views

custom field formula

I have two custom objects. Reservation__c and MoneyReceived__c and they are lookup relationship. I want Reservation__c.totalReceived__c = sum of all MoneyReceived__c.amountReceived__c. There are one ...
1
vote
1answer
58 views

Error : Property 'encryption Scheme' not valid in version 43.0

what i need to change here? how to over come this Error? MY package.xml is 44.0
3
votes
1answer
33 views

Are there any limits on field history tracking?

If I have a record that is updated every 5 minutes, and I have field history enabled on the field changing, will I run into any field history tracking limits? Ex. Does Salesforce only store X number ...
1
vote
1answer
55 views

Custom field datetype with month and year only

I'm trying to credit a custom field which only need month and year (like credit card exp date) I choose datetype date, when creating the field, but it also needs a date as well. How can I create a ...
1
vote
1answer
24 views

How to autocompile a picklist?

I would like to know if it's possible to autocompile a picklist field with a value of different picklist on others object. In this case, I created a picklist with a name: Campo Prova Picklist ...
0
votes
0answers
23 views

I have created a custom field with the metadata API and when I try to programmatically write to it I receive an error

Wrather, I create the field in the UI or with the metadata api I get the same result on this one field. Error, batchInfo: Error: InvalidBatch : Field name not found : prefix__ID__c All my fields ...
0
votes
1answer
19 views

Change Data Type

I have a field in production number_of_requests__c type Number (18, 0), the entered data is copied (on save) to another field number_of_case__c type Number (6, 0) of another related object. In the ...
0
votes
1answer
38 views

I want to use JSForce to create a custom field on the Contact Object using the metadata API

I am trying to use code like this to create custom fields on the Contact Object in salesforce using JSForce. This does not work of course and the documentation does not show how to do this with ...
0
votes
1answer
25 views

How to create Custom Fields on Standard Objects in the package.xml

I want to add custom fields to the Contact Object in SFDC. When I look into the package.xml I do not see any of these changes or fields. I am missing something?
0
votes
1answer
17 views

Automation process based on count roll-up summary field

I have an automation process based on the returned value from a count roll-up summary field. For instace I have two statuses. Primary status Secondary status Let's say the user creates two records. ...
0
votes
0answers
21 views

Formula Field Related SObject Issue

I do not get why i can't see my custom formula field filled. Are there some rules that do not let me check a reference field on formula? I'm trying to create a 'Shortcut' for handle the Account.Name ...
1
vote
0answers
50 views

Lightning component String.length not the same as what the custom field gives as length

I'm working on a lightning component which stores it's data to a Salesforce Long Text Area custom field of size 600 on the Account object. In the component, we have an html text area, upon each keyup, ...
2
votes
1answer
23 views

Does field length matter much in performance

Maybe very trivial question but I don't know the answer. When I create a new field , I always think why don't I give the max length for this field? How does 20 is different from giving 100 as length. ...
1
vote
1answer
23 views

What is “Field Based Page Assignment Criteria” in relation to a custom field?

I am attempting to delete a custom field from the Contact object and when I do, I get a message saying it cannot be deleted because it is referenced elsewhere on salesforce.com. The section listed is "...
0
votes
1answer
82 views

Not able to create lookup relationship of same object on Activity Object

I have already created activity custom field of type Lookup(user) on Activity object. I want to create one more custom field of type Lookup(user) on Activity object, but I am getting validation error ...
1
vote
1answer
27 views

Custom activity field and page layout

I have created a new custom picklist for an activity type in the Activity Object. This custom field will appear when clicking the "Log A Call" button under the Activity History related list. However, ...
0
votes
1answer
80 views

data import wizard map lookup field custom

I have a Custom Object called MCC with two fields: Name : 'MCC NAME' Code__c: 1234 I have a lookup field on Lead to the MCC object. I am trying to import Leads using the Data Import wizard using a ...
0
votes
2answers
15 views

How do I determine by Apex code if Custom Field allows setting Field Level Security and if can be edited?

To assign correct FLS permissions in bulk for a given profile I need to know which fields are readonly and which fields support Field Level Security. I see that there is field IsFlsEnabled in ...
0
votes
2answers
33 views

Find record in lookup field on a case object based on custom case number

We have a Visualforce page on the case object which is used to create quality issue related cases of our customers. We have different functional areas such as Design, Quality etc., For ex, customer A ...
0
votes
0answers
22 views

Custom object with multiple one-to-one relationships possible

I have an informational custom object with historical information (i will refer to it as History__c) that gets a relationship to a lead initially. The history object needs to become the child of an ...
1
vote
0answers
51 views

Do custom fields on standard objects in managed package count towards the total limits for number of custom fields in an org?

I have read a lot of questions mainly this one : Custom Field Limits For Managed Packages) posted here but still not able to find a clear answer. I have a 'security verified' app exchange package ...
2
votes
1answer
31 views

How to deal with users without permission while using Lightning Data Services?

To be more specific, I have the following scenario that just happened: I developed a component on a sandbox (development environment). This component uses force:recordData to retrieve some field data ...
1
vote
1answer
17 views

How to add hyperlink to custom case numbers in Reports

We have a visualforce page which is used to input details about quality issues and create cases. I've created a custom case number field for newly created cases in an auto-numbered format. I've to ...
0
votes
0answers
34 views

Custom Fields are not Displaying on Lead Page Layout During Creation

I have created custom lead fields (one currency field, one date field) and added them to the page layout of a custom lead record type. I have verified the page layout assignment is correct. When ...
1
vote
2answers
379 views

“Required field missing: PicklistMasterId” error when deploying a path from a sandbox to another

When deploying a case path assistant from a sandbox to another I'm getting an error when deploying the package: Required fields missing: [PicklistMasterId] We have deployed all fields being used in ...
0
votes
2answers
132 views

Validation rule to allow 15 digits only

Please advise a validation rule to allow me to enter 15 digits only. If the number of entered digits is higher or less than 15 the validation rule should display an error message. If there are ...
0
votes
0answers
85 views

Retrieve email ID pardot

I want to retieve the id of an email within the HTML but I don't manage to reach the email ID : I tried several expressions like : %%_emailid%%, %%id%%, %%email_id%% but nothing works. Do you have ...
0
votes
1answer
14 views

Adding many relations when creating a record

How can I customize object or layout, to make it possible to select many related records when creating a new record? I think we can select only one record for Lookup Relationship field as a default, ...
2
votes
0answers
102 views

Is there a way to create an OpenAPI / Swagger spec for my Salesforce Account?

I've been using the Saleforce REST API for a while and I'm interested in using an OpenAPI / Swagger spec to auto-generate a SDK using OpenAPI Generator and Swagger Codegen. Is there a way to get an ...
1
vote
1answer
18 views

Field Label change is not reflecting on Contact object

I have a checkbox field on the contact object that should be reading ‘Email Opt Out’. However, this is still what the field looks like on the actual contact page. The Field Name “...
1
vote
3answers
197 views

Time Field on Data Load - “value not of required type: 5:33 PM”

I am attempting to insert some records on a custom object that requires a value in the Time Received field, of type Time. Within an existing record (created manually) the value inside the detail page, ...
0
votes
2answers
29 views

Custom Object Section in Account is not Showing Custom Fields

I have Created an Custom Object "Text Subscriptions" And also created a Custom Fields as Account which has Master-details Field type. I have Created some More Custom fields: Text Plan, SMS Number, ...
0
votes
1answer
38 views

If statement based on created by profile name to show value is custom formula field

This new field will be called "Line item Total Test" on Opportunity Product. This Formula is not working- IF(CreatedBy.Profile.Name = "Standard User", TotalPrice), IF(CreatedBy.Profile.Name = "...
0
votes
0answers
24 views

Formula logical operators currency madness

Either there is something really wrong going on with SF or I'm going crazy. I have some fields: Total__c, Amount_Received__c, Amount_Refunded__c (Currency) Amount_Paid__c (Formula Currency) ...
0
votes
1answer
44 views

Managed packaged validation rule fails when package license gets expired

We have a validation rule on account object inside our managed package which checks the validity of custom field (from the same managed package). After installing this managed package, the above ...
2
votes
2answers
11 views

Managed custom field not being set in test script

I have this simplified code in a test script: Account acct = new Account(); acct.Name = 'Test Account'; acct.managed_package_custom_field__c = '12345'; insert acct; system.debug([SELECT Id, ...
0
votes
1answer
57 views

XML object creation. Is there any documentation?

I'm currently working on adding custom fields to an object. However I can't find any documentation or something like this which would indicate me to what should I do to create for example picklist or ...
1
vote
1answer
27 views

List of all objects with the current number of used custom fields

You can view custom object field limits by going on: App > Customize > Object > Limits Is there a way of getting a list of all objects with the current number of used custom fields? EDIT: I know ...
1
vote
2answers
162 views

Can a formula field be indexed?

I have a formula field called ContactID18__c on the Account object. The formula is CASESAFEID(PersonContact.Id). Can this field be indexed or no because it is a custom field and a formula? Or is ...
0
votes
0answers
57 views

Why field dependency not work in Opportunity Product Lightning?

So the scenario is, i have 2 field dependencies from 4 custom picklist fields in Opportunity Product like below. Next When i try to add products in opportunity, the interface seems lock. Even i ...
4
votes
2answers
375 views

“No such column on entity” error for an existing custom field

I am trying to run a simple SOQL on a custom object: SELECT Id, Course_Link__c FROM Course__c But instead I am getting an error saying: SELECT Id, Course_Link__c ^ ERROR at Row:1:...