Questions tagged [fields]

When speaking of fields specifically on a Salesforce custom or standard object.

Filter by
Sorted by
Tagged with
2 votes
1 answer
50 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 ...
  • 41
-1 votes
0 answers
24 views

Reference Field from Opportunity to the Case Object [closed]

I am looking to reference a field from the Opportunity Object to the Case Object. In our org we can associate a case with an opportunity. I would like to pull a value from the field of an Opportunity ...
1 vote
2 answers
27 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
44 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?
  • 9
1 vote
0 answers
38 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
63 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 ...
  • 13
0 votes
1 answer
41 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 ...
  • 1
-2 votes
1 answer
41 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
14 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
77 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
58 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
97 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
50 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
49 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 ...
  • 640
1 vote
2 answers
290 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'; } ...
  • 39
0 votes
2 answers
127 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 ...
  • 131
0 votes
1 answer
38 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 ...
  • 13.9k
0 votes
1 answer
518 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 ...
  • 2,413
-1 votes
1 answer
50 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....
  • 185
1 vote
0 answers
40 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
22 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<...
  • 1
0 votes
0 answers
141 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
351 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
497 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
197 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 ...
  • 109
0 votes
1 answer
24 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: ...
  • 185
0 votes
1 answer
228 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, ...
  • 103
-2 votes
1 answer
308 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
-1 votes
2 answers
190 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
170 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....
  • 3
0 votes
1 answer
125 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 ...
  • 125
-1 votes
1 answer
44 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 ...
  • 3
1 vote
1 answer
131 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 ...
  • 55
0 votes
0 answers
72 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
53 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
41 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
227 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
85 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
39 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. ...
  • 13
0 votes
1 answer
92 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
295 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
34 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 ...
  • 3
0 votes
2 answers
46 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 ...
  • 23
1 vote
1 answer
124 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 ...
  • 103
0 votes
1 answer
62 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
35 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
121 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
260 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 ...
  • 123

1
2 3 4 5
10