Questions tagged [fields]
When speaking of fields specifically on a Salesforce custom or standard object.
518
questions
0
votes
1
answer
75
views
Flow - Copying one Field Value to Another Field
I just want to preface this by saying I am new to building out flows, so lots of trial and error, just wanting to guidance and advice!
I am wanting to create a flow that copies a currency(numeric) ...
-1
votes
1
answer
18
views
Task Object Page Layout shows more fields than Fields and Relationships section
I noticed that on the Task object, the page layout offers a lot more fields than there are in the Fields and Relationship section. What could be the reason for this?
0
votes
0
answers
18
views
Inline help text translation overrides default value
Performing sf project retrieve start changes text value in field's <inlineHelpText>.
What is retrieved depends on language settings of the user performing the retrieve.
Is there any way around ...
-2
votes
1
answer
36
views
Setting checkbox fields via trigger
I'm in the process of learning Apex triggers, and I've been attempting to write code that runs before updating a field.
The code should change the Primary Contact field to FALSE if the checkbox field ...
0
votes
1
answer
47
views
Attendees Field on Event object is null in backend
In my use case I would like to grab all event where a certain user has been added as an attendee for the event.
When I do get records in the flow and I actually get null value in the Attendees field ...
-1
votes
1
answer
111
views
Set field visibility dynamically
We want to assign field visibility on UI level based on whether a user is a member of a specific team or not. E.g. we have an opportunity record and we need to display some fields only if the running ...
0
votes
0
answers
68
views
Events not showing on a custom report of opportunities with activities
I've created a custom report type. The primary object is 'opportunities'. The secondary object is activities. The report is set to show all opportunities, with or without activities.
I went into the ...
-1
votes
1
answer
16
views
Why am I getting this error when I sue the solution posted for how to use a picklist field in a formula field
Error: Incorrect parameter type for operator '+'. Expected Text, received Number
The formula content is this: I need to pull together the Tracking # + the Case # + the Pickup Type__c, which is a ...
0
votes
0
answers
22
views
In Before Flow: How to set a Text field from standard Email field on a related contact record?
I've attempted both options:
creating a text variable, assigning the email field's value to it, and then updating the text field with the text variable; and
updating the text field directly with the ...
0
votes
1
answer
85
views
SOQL Query to capture contents of compound field
Awhile ago, I was given a SOQL query that would retrieve the fields of a given object:
SELECT Label, QualifiedApiName FROM FieldDefinition WHERE EntityDefinition.QualifiedApiName = 'ObjectName'
I am ...
-2
votes
2
answers
195
views
How to get the length of all the fields in an object
I'm looking for a way to get the max length of each field in an object. I believe if I do something like
System.Debug(ObjectName.FieldName.getDescribe().length);
In Apex, it will get me the length of ...
0
votes
3
answers
146
views
Getting a list of the items in "Fields & Relationships" under Object Manager
I thought that this should be fairly straightforward, but I'm not finding a way to do it. If I go to Object Manager, then Account, and then Fields & Relationships - I need a way to get a csv of ...
0
votes
0
answers
131
views
B2B LWR: Phone number field in Shipping Address checkout form
In B2B LWR Checkout page there are 2 properties for Phone Number in the Shipping Address component configuration, plus there is a standard field for it in the ContactPointAddress object, PhoneNumber.
...
0
votes
0
answers
22
views
How is ContactId determined in Visit object on Consumer Goods Cloud?
I'm new to Consumer Goods Cloud and I would like to ask you about a doubt I haven't been able to discover.
I have not understand how is the "Contact" (ContactId) standard Lookup field ...
0
votes
0
answers
14
views
Can you create a field that points to a specific File?
Is there a way to create a Lookup Relationship field such that the field points to a Related File?
For example, in FSL we have the Asset object. Our users upload photos to an Asset object as Files. ...
2
votes
1
answer
188
views
Event object IsRecurrence2 field is not visible in Lightning App Builder
I have a Event record page. I am creating recuring event. To create recurring event salesforce had provided checkbox field called IsRecurrence2 on Event object. I want to set visibility criteria in ...
0
votes
1
answer
460
views
Fields missing from 'Available Fields' list when Editing/creating list view
I am Admin and want to update a "list view" in opportunity Object
I want to add the standard lookup field "Price Book" to the list,
but it is not available in the "Available ...
-1
votes
1
answer
147
views
Is there any way to change field label character limit in salesforce?
I am not able to add field label more than 40 characters, because of salesforce limitations is there any workaround for this.
0
votes
1
answer
718
views
Update IsCustomerPortal field in Account Object
During the process of self Registration of users in a Experience Site, we need to create a new Account and a new Contact if the users email doesnt match any of the existing contacts.
However in order ...
1
vote
1
answer
190
views
Lightning Field Labels displayed Inline for some Users
In our Production Org the Field Labels on Standard and Custom Lighting Pages are displaying "inline" (to the left) instead of above for some Users.
I know you can apply the label-inline ...
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
99
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
84
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
121
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
177
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
352
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
268
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
351
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
725
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
2
answers
135
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
677
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
74
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
303
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
268
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
671
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
1k
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
1k
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
491
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
1
answer
1k
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 ...
1
vote
0
answers
153
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 ...
2
votes
2
answers
994
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 = '[email protected]';
}
...
0
votes
2
answers
669
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
82
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
3k
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
533
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
366
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
37
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
706
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
1k
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 ...