Questions tagged [fields]
When speaking of fields specifically on a Salesforce custom or standard object.
505
questions
0
votes
0
answers
23
views
Can I have a field in Salesforce that decides what to select based on a figure entered manually into FormAssembly? [duplicate]
I collect financial information from people applying to a programme using FormAssembly. I then use connectors to transfer this information into a related field in Salesforce.
The applicant enters the ...
0
votes
1
answer
44
views
Where can I set in Salesforce the PlatformEventSubscriberConfig fields that are accessible (or not) to my Profiles?
It's my first time dealing with PlatformEventSubscriberConfig in our project (and I'm very new to Salesforce, still a 6-month newbie).
We have 2 orgs and I noticed that when I query in UAT (Developer ...
0
votes
1
answer
24
views
Comparison arguments must be compatible types: System.Address, String
I created an apex controller class and i am trying to upload ot to salesforce, i receive many errors, one of them is:"Comparison arguments must be compatible types: System.Address, String" ...
0
votes
1
answer
39
views
Fields, Buttons, Custom Links and Mobile & lighting Actions are not visible on User page layout for edit
I am trying to create a section but the field itself is missing in page layout. Please see image below. Missing required options on the left side to edit the page. Please help.
0
votes
0
answers
102
views
Select multiple contacts using search for a selected account while creating a record for custom object
I am using an aura component where I have a requirement where I need to select multiple contacts for a particular account to create a record in custom object.
This is possible while editing record for ...
0
votes
0
answers
37
views
Custom fields are not visible in custom report type
I am not able to see all the custom fields of an object in custom report type which is recently created. I have opened the report type and tried to edit the layout but the custom fields are not ...
0
votes
1
answer
80
views
Custom field on Payment object automatically filled out when Opportunity is created
My organization is using the Salesforce npsp (non profit success pack).
We use the Opportunities object for both donations and grants and separate the two by different Record Types.
When someone ...
0
votes
2
answers
60
views
LWC - Create Copy Button (Closed)
I use this code to create a button (Lightning Component) on Account object to copy information from Shipping Address to Billing Address but it did not work, can you guys help me to look at my code?
...
0
votes
1
answer
26
views
Error:Method does not exist or incorrect signature: void add(List<Contact>) from the type List<List<GetContact.methodOutputs>>
I am trying to pass a firstname and lastname to an invocable method and get a list back of contacts filterd on firstname and lastname but get the error before saving my class:
Method does not exist ...
0
votes
0
answers
20
views
The field is present in page layout but it is not showing to the Admin
The field is present in page layout but it is not showing to the Admin. Upon saving the record the following error is showing. Admin has read and edit permission for this. Can you please help?
0
votes
0
answers
43
views
Displaying Year in the footer of a custom salesforce email template
Question is: How do you display the current year in a Salesforce classic HTML email template? This would be where the copywrite section with the 2022 goes. This way it doesn't have to be manually ...
0
votes
2
answers
64
views
How to pass field of id from List to set
I have the following List from which I want to pass the UserId field into a set
string filter ='select UserId from OpportunityTeamMember';
List < sObject > filterList = database.query(...
0
votes
2
answers
115
views
How is help text rendered?
The "Focus" field below has some help text that appears when the mouse is hovered over the info icon and disappears when the mouse leaves the icon:
I needed to take a screenshot of the help ...
2
votes
1
answer
54
views
Why does SF retrieves an extra Id column when querying on standard objects? [duplicate]
I'm doing the following query via Apex in my Org with standard objects:
SELECT Id FROM Case WHERE (Id IN ('XXXXXXXXXXXXXXXXXX') ) AND Account.UUID__c = '112b5074-e280-4799-8c89-8c1d89caa14c' LIMIT ...
1
vote
2
answers
89
views
Hide PII in Contact Record for a specific Profile
I created a "Read Only" custom profile. I have a "Private" Record Type for the Contact Object. I would like to hide PII fields in the "Private" contact records for the &...
0
votes
1
answer
94
views
How to write a validation rule that throws an error when a field value was already inserted?
There is a field CreatedById.
I want to throw an error if there are already values with the same CreatedById values.
How can I write such a validation rule?
1
vote
0
answers
247
views
Fields in a Block of a Step disappears while designing an Omniscript
I'm working on a Omni Scripts (Vlocity). I'm designing a screen flow where I have Asset Mgmt Quote, Tax, Doc Request, Sales, Pricing etc., screens. These screens are set by the record Id of the ...
1
vote
2
answers
227
views
Salesforce URL Formula Field Issue - Seems simple to fix, but who knows
I'm working on a Salesforce coding issue. Let me preface this by saying I'm not a developer or Salesforce expert. But I've identified an issue, that can be resolved if we can figure out how to
recode ...
0
votes
1
answer
339
views
How to import parent object field in lightning record form of child custom object?
There is Contact object as parent object and I have created a custom object called Vaccination_Information__c which is a child of Contact object.
I want to include the contact name field from Contact ...
-2
votes
1
answer
43
views
Need "number" field validation rule to accept 08445611044 for ireland companies please help. Currently not accepting this number
The current validation rule, is not accept the number 08445611044:
If( ISPICKVAL( Region__c,"NI"),NOT(REGEX(Phone, "0[1-9]{1}[0-9]{8,9}")) ,
If( ISPICKVAL( Region__c,"SCT&...
0
votes
0
answers
17
views
can i create a field with related list quick links information?
I am needing to create 4 summary fields, in the contact card, I already tried to combine the information between both objects (Cases and contacts) but since both are native objects it will not let me. ...
0
votes
0
answers
189
views
Is it possible to retrieve fields from SOQL in a simpler way?
I'm working with REST API, using endpoint /services/data/v53.0/query.
The question in place is: is it possible to retrieve requested fields API names present in SOQL?
Example. Get from SELECT Id, Name,...
0
votes
0
answers
214
views
How Can I control who can edit a Task?
I have an assignment that ask me to limit who can change fields in the object Task. So the only users that are able to change fields in Quote are the ones who are in the Queue assigned for the Task. ...
0
votes
1
answer
345
views
Custom Object File Field
I'm relatively new to Salesforce development. I have a requirement to create custom fields on our custom object; some of these fields must be able to hold a file attachment (PDFs usually).
I cannot ...
0
votes
0
answers
112
views
Check Field Usage of All Objects at Once
I have a Field Trip application in my org, however, it requires you to analyze each Object individually. It would take quite a bit of time to go through and create a report for ~300 objects. Is there ...
1
vote
0
answers
100
views
I am see records before 18 months without field audit trail in salesforce?
I am a little confused with salesforce documentation here:
https://a.sfdcstatic.com/content/dam/www/ocms/assets/pdf/misc/Platform_FieldAuditTrail_Datasheet.pdf.
As per the link, standard Field History ...
0
votes
0
answers
20
views
what's __pr in salesforce fomula [duplicate]
I've seen the following in a formula field on the account:
IF (
Subscription__pr.Is_Active__c = true, true, false
)
What is this __pr in the formula?
Subscription__c is a child object ...
1
vote
2
answers
595
views
Is it possible to only update one field?
Is it possible to only update one field?
List<Account> accountsFromSF = [SELECT Email_3__c from Account LIMIT 50];
for (Account acc : accountsFromSF){
acc.Email_3__c = 'test@gmail.com';
}
...
0
votes
2
answers
264
views
How to add personalization string _DataSourceName to SendLog in SFMC
We have a sendlog enabled for our account to capture all sends from all BUs.
In the SendLog DE, in past we added the personalization string %%emailname_%% to capture emailname as well (of course ...
0
votes
1
answer
61
views
Is Description field required in Restriction Rules?
When Restriction Rule is created on UI, it is possible to create it without description.
But if you try to retrieve it and deploy to another org, the following error is displayed:
Error ...
0
votes
1
answer
1k
views
Error parsing file: The content of elements must consist of well-formed character data or markup
Error when deploying knowledge fields via sfdx. I am getting following error :
Does anyone encounter this in the past ?
I have checked and current deploying user have the knowledge user checkbox ...
-1
votes
1
answer
195
views
Not available Case Information fields in report type
I'm trying 2 Report types and I have problems with fields availability.
REPORT TYPE 1: Cases standard report type. With this, I can access to 'Case information' fields like Age, Opened Date, and so on....
1
vote
0
answers
119
views
Business Hours Age field on page layout? [closed]
Salesforce provides the Business Hours Age Case's field which is available in reports, is that possible to add this same field to the Case page layout? Is there anyway to get this field by SOQL or ...
0
votes
0
answers
30
views
In this code, how can I get a list of fields that were created and modified by today?
public class demo {
public static void getSOjectsWithFields(){
Map<String, Schema.SObjectType> gd = Schema.getGlobalDescribe();
Set<String> standardObjects = new Set<...
0
votes
0
answers
308
views
Address State and Country not visible on the records
Dear friends I have an interesting problem.
The address fields are not correct visible on the records.
On the account page I see all address fields, but on the Address record and Service Territory I ...
0
votes
1
answer
647
views
How can you get the merge field to take a url field from an object and set it to show up as a picture image in lightning email template?
I am trying to have Salesforce LEX Email Template populate a specific image from a field that's from a Account object and (fyi) the field data type is URL. My idea was simple, put the url into the ...
2
votes
1
answer
1k
views
SFDX: Is it possible to change a Text field to a Picklist?
I have a text field defined with the following XML code:
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
...
0
votes
0
answers
25
views
Salesforce fields recover options
New here, thanks for your help.
I have salesforce cloud enterprise. We had a third party trying to setup their software for scheduling and it was done in the live environment not our sandbox.
Issue is ...
1
vote
1
answer
290
views
Is LastViewedDate field is always present on an object?
We always get an error when we try to query LastViewedDate field on an object whose tab has not been created yet. As soon as we create a tab, the error goes away.
Just outta curiosity -
Is it like ...
0
votes
1
answer
41
views
Where can I find the origin of this error?
Trying to create a ServiceResource assigned to a ServiceAppointment in Flow createRecords element, I get this error:
FLOW_ELEMENT_ERROR This error occurred when the flow tried to create records:
...
0
votes
1
answer
535
views
Modify the Fields on Related List
I would just like to ask on how we can add more fields to display on Related List on the right-side?
I know that I can re-arrange them through Page Layout Editor, but my goal is to display 5-6 fields, ...
-2
votes
1
answer
527
views
How to enable different fields for different users with the same profile and record type in Salesforce
I have a profile XYZ in salesforce which has access to fields A,B,C and D. I have 2 users, User A and User B. User A needs access to fields A,B,C only while user B needs access to fields A,B,C and D.
...
-1
votes
2
answers
331
views
AccountId in Campaign Member - How to deploy standard field?
In my sandbox, the Campaign Member object has a field AccountId, and this field is not custom field, as it does not have __c, hence it is standard field.
In my production, the Campaign Member object ...
0
votes
1
answer
343
views
Difference between Tooling & Rest API when retrieving fields from USER object
I was trying to get the "User" object's fields list, So I tried to do it using an SOQL query via REST API:
Select QualifiedApiName From FieldDefinition where EntityDefinition....
0
votes
1
answer
260
views
Default value not displayed for some currency fields (and displayed for others)
I have a bunch of currency fields that are displayed in a lightning page using the lightning:outputfield.
All of those currency fields have a default value of 0.
2 fields out of several dozens are ...
-1
votes
1
answer
47
views
How best to create a warning for the user - when 2 fields from different objects don't match
First time posting, but a long time lurker.
I have two fields that are basically the same but are on different objects, lets say Serialnumber1 from Account and Serialnumber2 from Lead.
This ...
1
vote
1
answer
305
views
wanted to understand the currency field behavior [closed]
We have a custom object and it has a field lets say PrevYrTPC and it is of type currency.
I was going through the records of the current object and I found something which I could not understand.
The ...
0
votes
0
answers
130
views
How to stop Milestone without including Stopped field in Page Layout?
Actually, I want to stop the milestone when an initial activity was created. For that I am using Flow to make Stopped(API : IsStopped) field equals to true. Here flow is working fine and milestone ...
0
votes
1
answer
115
views
Changing Field Labels / Data Types
There are some spelling errors on a couple of fields in our opportunity layout. I would love to correct the field label. If I do this, will any data from this field get erased? Additionally, I want to ...
0
votes
1
answer
43
views
validation rule creation
Good day,
please support me in the following requirement. I have to create a validation rule on Contact object. It should be valid only for the profiles below. It should be for insertion of Phone or ...