Questions tagged [fields]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
22 views

LWC: how to get field values from the Related tab (without apex)

how can I access the Medias Request entries values from the Related (highlighted) area in a object entry? using LWC (without apex classes) import { LightningElement, api, wire, track } from 'lwc'; ...
1
vote
0answers
27 views

UserPermissionsMarketingUser is visible on the User Detail record for user records but it cannot be found in Object Manager

I can select or deselect UserPermissionsMarketingUser for User detail records manually. The field is visible. However, when I click on the Fields and Relationships for the User object using Object ...
1
vote
1answer
23 views

Why isUpdateable() is not working for non required fields in RestResource class?

I want to update two fields in a custom object from a RestResource class. This is the code I used: @RestResource(urlMapping='/AllHistory/*') global class SampleClass{ @HttpPut global static ...
0
votes
0answers
9 views

How to update a field automatically on a looup field change before pressing save button?

I have a custom object 'Shop' which has a relation to another object named 'Shop Location'. Now what I want whenever user creates or updates a record for Shop object if the user changes the lookup ...
0
votes
0answers
10 views

Need to create a specific workOrder when Maintaince Plan is created

I need help with some stuff, I need to create suppose 5 workOrder when the Maintain Plan is created via APEX ? When i access it's field's via apex it give me error. I have the Field Level Access (...
2
votes
0answers
41 views

Updating the Case MasterRecordId field in Apex tests

I have currently got a bit of code running in my beforeUpdate trigger that updates 4 fields of a case once the MasterRecordId field is changed. This is because that field is used to distinguish ...
0
votes
1answer
31 views

Making changes to Case Effective Date

I am attempting to use workbench to update the Effective Date of several cases and it's giving me the error "'7/8/2020' is not a valid value for the type xsd:date." Updating Object Type: ...
0
votes
0answers
33 views

How can the Case History fields present in Case Lifecycle report type be retrieved with SOQLs?

In the standard report type Case Lifecycle the following fields of Case History object can be retrieved even if not present in the object itself: Case History Owner Case History Status Case History ...
1
vote
1answer
28 views

Invalid field from Lead using sobject.put in batch apex

During a batch apex class, we are copying one field value from one field to another field. Using the following code below we got the error message. How can we resolve this issue? Steps we have tried ...
0
votes
1answer
37 views

Trim whitespace between fields in lightning:recordEditForm with slds-form_horizontal deprecated?

I slimmed down my code to better illustrate the issue. I have a simple lightning:recordEditForm with lightning:inputField(s) inside. By default these fields pad themselves with a lot of vertical ...
0
votes
1answer
30 views

How can I take all fields (or at least all mandatory fields) for one object?

I need to take all mandatory FIELD NAMEs (not FIELD LABEL) so that I can create object. What are the ways to do it outside copying each FIELD NAME from Object Manager?
0
votes
0answers
37 views

When using /sfc/servlet.shepherd/document/download/ <ContentDocument IDs> , can we rename the zip folder document?

I have used the Custom button (/sfc/servlet.shepherd/document/download/ ) to download all the files realed to an object. The Zip folder always has a name “downloaded-content”. So I need to change this ...
0
votes
1answer
44 views

Dynamically convert CSV field value into salesforce data type

I am trying to create fields dynamically based on the CSV data. All CSV headers represent the field name in Salesforce and rows represent the values. As all CSV values are in string format I have to ...
2
votes
1answer
32 views

Send only udpated fields instead of all the field information

I am integrating an external system with Salesforce and I am sending certain information to the other system from Salesforce once a record is created or updated. I wanted to know if it is possible to ...
0
votes
1answer
45 views

Field Not Writable - Master field on Child object

I have the below functionality inside a for loop, the highlighted field is a master field in the child object that is populated in this piece. For the first iteration it populated the value but the ...
0
votes
0answers
33 views

How to filter out the fields available for a record type

Is there a way to list out the fields available for a specific record type? Maybe an apex or soql solution? Basically this would mean a list of fields that are available in the record type page ...
0
votes
1answer
27 views

PersonAccount. Can I access and write in standard Contact's field?

I'm trying to write some standard Contact's fields e.g. MobilePhone and Email (I'm new to this object), when I create a new PersonAccount. For example using an Anonymous window I tried with this code:...
0
votes
0answers
10 views

Salesforce Consumer Goods Cloud

I'm implementing Salesforce Consumer Goods Cloud and on the Retail Store standard object OwnerId NOT showing under "Fields & Relationships", so I'm unable to add it to the Retail Store page layout/...
0
votes
0answers
16 views

Salutation field on the Lead object has missing label when viewed on the salesforce app

I have created a new layout for the Lead object which contains the default Name field that comes with the lead. When viewed on the desktop, the field appears properly with labels for Salutation, ...
0
votes
1answer
41 views

User Password field max length

What is the maximum number of characters for the password field on the User object? I cannot find it in the documentation anywhere, and this question seems to imply its: 1333.33333333 Is that ...
0
votes
1answer
51 views

Community users can't see fields inside any section on page layout

I am attempting to implement self service for service cloud using salesforce communities. We now have the case list and the record page all set up. I have given the community profile their own page ...
0
votes
1answer
29 views

Get SuscriberKey field name that relates to a field in a Data Extension

So in Marketing Cloud I'm trying to get the field name from a data extension that is the relationship to the SubscriberKey; E.g. let's say I know the DE customer key and I retrieve all fields via ...
0
votes
0answers
13 views

How to add a row above the datatable columns? [duplicate]

I need to create a datatable where I have to add a row above the columns that act more like headers. I have tried the following below, but could not get it to add the headers. How can I add a ...
0
votes
0answers
20 views

Add Custom fields in “My Settings” page for User

I need to add a Date field in "Approver Settings" section from "My Settings" page. I created this field "Delegate Till" - and added in User layout. But this just adds field "Additional Information" ...
0
votes
2answers
83 views

Is 'Where is this Used Button' reliable?

I've got a field which is definitely being referenced in a visualforce page (in an inputfield, and being written to from there) as well as being part of a criteria in a process builder, but when I ...
1
vote
0answers
34 views

Field History Tracking for Territory Field on Opportunity object

I want to enable field history tracking for Territory field (API Name Territory2) on Opportunity Object. However on field history tracking page, I cannot find that field, so I am not really sure if ...
0
votes
0answers
36 views

Validation rule crashes when fields required are populated in form

I have a validation rule to require a Vacancy Announcement No to be filled in mandatory if a Date Vacancy Announcement Opened. I Cloned a ticket and it had the value beforehand in both places. Now I ...
3
votes
1answer
29 views

AgentWork time fields

Does anybody knows if the fields ActiveTime,HandleTime from the object AgentWork Are in seconds? Here is the documentation but it does not say anything about that. https://developer.salesforce.com/...
0
votes
1answer
237 views

Embedded Live-Agent Chat Settings Offline support Case field selection

I try to add new Case field by pressing plus sign. There are some set of Case fields selectable and to be used for Case form. I need Case description field and it is missing from selectable case ...
0
votes
1answer
80 views

How to filter records based on parent object in process builder?

I am working on process builder. If the record passes the criteria node, I have added another filter before it tries to update the fields on the object. My object has a lookup to Account object, and ...
0
votes
2answers
291 views

SOQL SORTING WITH 2 FIELDS

I have the object Animal__c, with the field ZooId. I want to make an SOQL Query with the animals sorted by CreatedDate DESC and Zoo Id. Now the list is: Animal 0 ZooId 5 CreatedDate Yesterday ...
4
votes
1answer
98 views

How to access fields returned by Polymorphic query in apex/soql?

This might seem to be a fairly simple question, but I am unable to figure out how to use the fields returned by a Polymorphic SOQL query. For example: I ran the following query in dev console's query ...
0
votes
0answers
97 views

Insert a new record with multiple fields Error 431 HTTP

I am trying to insert a new records in my custom object Monitor__c with too many fields, when I execute my code in an anonymous window in the developer console, It delivers the following error: ...
0
votes
1answer
20 views

Is there a way to define if a field is Ever Updateable, if Update access can be granted to a field by Profile or Permission Set?

Is there a way to define if a field is Ever Updateable, if Update access can be granted to a field by Profile or Permission Set? Field Describe information for a field can define if permissions can ...
0
votes
2answers
92 views

Does the getRecordUi support Location Object?

I have a lwc component, In order to show WorkORder details page I need a relatedField on a relatedObject wich is Location.Name. I have used two methods import LOCATION_NAME_FIELD from "@salesforce/...
0
votes
0answers
242 views

Is there any setting why a field is not visible in lightning but in classic for same user?

why a field is not visible in lightning but in classic for same user. Do I need to make any change.
0
votes
1answer
89 views

Ampersand in field while saved set &amp; then &amp;amp; until too large for update

Sorry if there are already subjects about this, didn't found anything. Here is my problem : some records contains "&" in fields (or accents). They have to. Those fields are automatically updated ...
0
votes
1answer
46 views

Contact Email field not queryable in SOQL

I'm querying contact email field in apex class and saving the return record inside a list. but when I debug the list queried then it does not show the email field. Below is the SOQL which I'm using ...
0
votes
1answer
18 views

Read the first number of the field

I need help please on the formula field i want to have value a VISA or MC. I have to read the first number of specific field. For example, the account is 465xxxx868. The account is starting by 4 then ...
0
votes
1answer
56 views

Getting different field label while accessing it in apex component

here the sObjectType is of Account type Map<String, Schema.SObjectField> fieldMap = sObjectType.getDescribe().fields.getMap(); for (String fName: fieldMap.keySet()) System.debug('Field ...
0
votes
1answer
136 views

“Visual Lines” attribute for Long Text Area field doesn't do anything?

I created a new field on a custom object, and when creating it, I have the option to specify the amount of visible lines: But when I look at the object in SF, all the lines are displayed. Why is this?...
2
votes
3answers
217 views

SOQL for Winter 20 Where is this used functionality

Hi I would like to know how I can query the "Where is this used" relationship via SOQL. Generally, Metadata information on Fields can be found in FieldDefinition and Entity Particle tables, but can ...
0
votes
1answer
63 views

Javascript: Validating fields in a field set

I am working with a Javascript button to validate fields before the button can update fields. Since there are over 20 fields to validate, (With the possibility of adding more) listing out each field ...
0
votes
1answer
436 views

Field Service Lightning (FSL) Scheduling

I am learning FSL and trying to schedule Service Appointments in Field Service Gantt. I am not able to drag or locate my Service Appointments in Gantt. There is a warning sign with my Service ...
0
votes
1answer
253 views

SyncedQuote field is read only within a trigger

I'm trying to clone an Opportunity at before update event of Opportunity. But it throws me error, Opportunity SyncedQuote field is read only within a trigger for(Opportunity oppoFull :listOpp){...
0
votes
0answers
13 views

Tooling API to fetch Duplicate Objects/Fields

I want to fetch duplicate object and field information before deploying my package to another org. Is there any pre build tool or tooling API reference that can resolve my problem?
-2
votes
1answer
287 views

How can I display the asterisk missing in first name and title after I made them mandatory

I want to make "salutation" and "first name" fields mandatory in the account creation form. I've added validation rules and it works but I can't see the asterisks and it's not intuitive for the ...
0
votes
1answer
98 views

Flow and capturing Display Text on screen

I am attempting to build a guided actions list using flow on the leads object. What I've completed so far is: Assigning RecordID Getting Lead fields Screen that displays 3 questions (Display Text) &...
0
votes
1answer
346 views

Can't disable “Edit Read Only Fields” permission for system administrator

If I go to: service setup - profiles - system administrator - system permissions Here there's a long list of permissions. I'd like to disable the "Edit Read Only Fields" permission but there's not ...
0
votes
2answers
41 views

To create a custom field

Is it possible to implement the following requirement in declarative way? One custom field Ability to enter URL of size greater than 500 characters and displays only first 50 characters. Editable ...

1
2 3 4 5
9