Questions tagged [fields]
When speaking of fields specifically on a Salesforce custom or standard object.
479
questions
0
votes
0
answers
11
views
Field cannot be found in Mass Delete Records critera
I used Import Wizard to write in the "Comments" field "delete", for 4.8K records. However, in Mass Delete Records, I couldn't find the field "Comments" to use as a ...
0
votes
0
answers
17
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
30
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
14
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
76
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
22
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
111
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
20
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
31
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
27
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
64
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
69
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
25
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
43
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
40
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
26
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
23
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
37
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 ...
0
votes
1
answer
59
views
How to use Custom Settings or Custom Metadata to dynamically add fields to code
I have written apex code to copy the data of a few specified fields from Order record to Order Line Item record when their values are modified.
The problem here is every time a new field has to be ...
0
votes
0
answers
23
views
control visibility of certain fields on popup case status picklist item selected
I have the below picklist items on the Status field of the case object and the Path bar
New
Pending
Completed
Based on the status selected on the path bar I need to display a popup with certain ...
1
vote
1
answer
32
views
Cases Page Layout Design Question
I've added a field to Cases that relate to an Opportunity. 'Insurance Carrier'
I'd like that field of the Opportunity to surface under a Tab in the page layout instead of in the details of the Case.
...
0
votes
1
answer
49
views
Service Cloud field "PersonMailingAddress" not available in Marketing Cloud
We have set the Marketing Cloud Connector with Service Cloud, and when i want to select fields in the Account Object I do not find the PersonMailingAddress.
The field is a combination of the mailing ...
4
votes
1
answer
180
views
Rest API query with FIELDS() does not return nextRecordsUrl
Goal: Get all Account records with all fields via REST API
Approach: Send GET request with query:
/services/data/v53.0/query?q=SELECT+FIELDS(ALL)+FROM+Account+ORDER+BY+Name+ASC+LIMIT+200
Problem: I ...
0
votes
0
answers
28
views
Assign User to a field on another object
Hi I am a beginner in SF.
I am trying to create a process or a field update where I need ac account field to show information from another field on another object:
Account Object field "vCISO ...
0
votes
2
answers
27
views
Bypassing Required Fields so just One Can be Edited on the Fly
I have some cases coming in via email to case. The issue is that I am looking to add a value to a empty date field without the need to add a value to other required fields so I can quickly triage as ...
1
vote
1
answer
40
views
Set value immediately when creating Picklist Field on Existing Records
I'm trying to create a new Picklist Field. I know that I can assign a default value for it so that Newly Created Records would always have that value (unless manually changed).
However, my concern is ...
0
votes
1
answer
37
views
How to store information on Product stocks with variable number of warehouses
In my recent Salesforce project, we came across tough problem storing product stocks coming from integration with ERP API.
Initially there were only 10 warehouses and thus there was 10 fields on ...
0
votes
0
answers
15
views
Task Status - can you have multiple picklist values set as a 'closed', but have the closed radio button in engagement history default to only one?
Initially we've had only one task status with the 'closed' configuration enabled called "Complete". However, we wanted to add an additional 'closed' status type for tasks which we want to ...
0
votes
1
answer
33
views
Name field creating middle name partial from first name
I'm hoping to get some guidance around a confusing bug in my salesforce.
For some reason, and I can't figure out why, the Name field continues to create a middle name partially from the first name.
...
0
votes
1
answer
94
views
Why can't I see a type ahead block within two blocks in a Omniscript?
Could anyone tell me why I can't display a Type Ahead Block that is within 2 Blocks? How do I get it displayed in this condition?
The example in the picture, TypeAhead3 is not being displayed. I would ...
0
votes
1
answer
48
views
validation rule for ISCHANGED
Good evening,
I have to create one validation rule that should be valid for specific custom profile, specific pick list field value Automotive. The validation rule should make all editable fields Read ...
0
votes
1
answer
65
views
Sobject.isSet() not working with Trigger Sobjects
I'm having an issue with the Sobject method "isSet()". It works well if I query for a record or create a record outright. But does not work correctly for Trigger objects. On trigger objects, ...
0
votes
0
answers
14
views
Add Additional fields to Record List Component for Communities
I'm trying to go a declarative route on a community for a Record List. But I'm not able to find where you add additional fields to the list.
What layouts effect the Record List component so I can add ...
0
votes
1
answer
54
views
Can I customize "Maps and Location Services (powered by Google)" locale when searching for an address?
Below you'll see the result of auto-complete operation by using the Google Location Service:
After typing "mokotowska 1" I got a correct result, choosing which resulted in filling all the ...
0
votes
1
answer
40
views
Detect if an object allows creation of custom fields
I am building a package for custom field creation. I have noticed in some cases the following errors:
FIELD_INTEGRITY_EXCEPTION:Cannot add custom fields to entity: AIRecordInsight
and
...
2
votes
2
answers
57
views
How do I detect if a field is polymorphic?
I am building a package where I use child-to-parent query to get the data, and I allow users to select fields and relationships they want. This may lead to problems like this, or in my case when I try ...
2
votes
1
answer
87
views
Is there a way to distinguish Long Text Area field or Rich Text Area field from a regular Text Area?
I need to build an interface to allow a user to filter record by the field chosen by the user. I know that I can use Text Area fields in the WHERE Clause but I can't use Long Text Area field or Rich ...
0
votes
0
answers
17
views
Milestone countdown
Is it possible to exclude the field "stopped" in the object case page layout without interfering with the process that pauses the SLA?
1
vote
1
answer
104
views
How do I use the merge field in the formula field which is rolled up?
There are three objects:
Room: Field - Price(Currency)
Customer: Field - Total Amount(Rollup-(Amount))
Booking: Field- Amount (Formula-currency).
-> Booking has master-detail relationship with ...
0
votes
1
answer
57
views
personemail not showing in account permission set
when tring to set permissions for account fields for a permission set, personemail is not showing,
how can I update the field permission using permission sets and not profiles?
0
votes
0
answers
213
views
Is it possible to query Quip spreadsheet fields directly with the API or must the html be parsed?
I am attempting to extract a date from a quip spreadsheet cell in a Node.js application. I am able to extract the html from the html property of the object returned by the getThread API call, but it ...
0
votes
1
answer
484
views
Hiding Custom Fields based on the value of other custom field
I have two fields configured in my org. One is A Checkbox and the other is a Number. I want to hide the Number field based on the Checkbox field value. I tried using Field Dependencies but as one ...
0
votes
1
answer
42
views
add custom field to New Event
I would like to change the Subject field to a picklist with specific values.
I am unable to identify where I can do this within Setup - can anyone please advise?
0
votes
1
answer
56
views
Convert Group ID into Name [closed]
Rookie here so please be patient...
My goal is to store the last queue a case owned by before being assigned by omni. I'm using a pb process to trigger on the agent work object. Currently I'm ...
0
votes
0
answers
57
views
Formula field not working
I want a formula to display:
red color when the due date is either today or in the past
amber color when the due date is in the next 5 days
green color when the due date is either after 5 days or the ...
0
votes
2
answers
118
views
Why FirstName, LastName, Company field not found in FieldPermission query result?
I'm trying to get all fields and its read and write permission using below query
SELECT Field, PermissionsRead, PermissionsEdit FROM FieldPermissions WHERE SObjectType ='Lead' AND parentId IN ( SELECT ...
0
votes
1
answer
475
views
Lightning:input required="true" is not working [closed]
I'm using a required field for an aura component that should does not save a record if any of required fields is missing.
This is my input:
<lightning:input aura:id="test" name="test&...
0
votes
0
answers
56
views
How to insert data text field [number datatype] to database using javascript
below is my interface. My question is when the user insert a number in the field, may I know how to posh it to the database?
Here is my code
{!REQUIRESCRIPT("/soap/ajax/20.0/connection.js")}...
1
vote
1
answer
58
views
Use address state/province CODE field - can this be used without being linked to the state text field?
When Salesforce was set up in our organisation, the State text field part of the compound address was repurposed to store the City data instead (City field is being used for Suburb, since there isn't ...
-1
votes
1
answer
27
views
How do I get records when Id's are in a text field of an object. These Id's are Ids of duplicate record and need to be eliminated using a flow
I am trying to extract IDs from a text field and trying to get records of the ID that are in the text field. Basically, the text field stores the IDs of duplicate records and only one of the records ...