Questions tagged [fields]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
12 views

Lightning:input required=“true” is not working

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
1answer
48 views

User object field access to profiles [closed]

I want to give access to a Standard field SAML Federation ID which is in user object to a profile, but i don't see that field in profile. How do i give edit permissions to profiles.
0
votes
1answer
29 views

How can I make a field that displays the account owner's email address? [closed]

I'm trying to make a field on the Account object called "Account owner email" that shows the email address of the Account Owner, which I guess would pull from the Users area in Set Up. Can ...
1
vote
1answer
15 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
1answer
18 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 ...
0
votes
0answers
33 views

How to get fields without access in LWC?

I have a set of field names that I am getting from a FieldSet. And some fields are inaccessible (I closed access for them). But I have to get these fields and output them to the form. How can i do ...
0
votes
1answer
19 views

Why this set does not contain my data?

I have this data: Account.Zone__c = 'A'; Zone_set = '{ B, A, C}'; if(!Zone_set.contains(Account.Zone__c)) { //do this } Account.Zone__c = 'B'; Zone_set = '{ B, A, C}'; if(!Zone_set.contains(Account....
0
votes
1answer
35 views

How to draw fields of different types using for:each in LWC

I'm trying to draw a set of different fields (with type text, number, picklist and other) using for:each, but I get all identical fields (they differ only in names and labels). How can this be fixed? ...
0
votes
1answer
20 views

How to expose object fields to make accessible on reports?

I have a custom object in Order Management. I wanted a field within the object to appear on my Order report in reports. I couldn’t find the field in my field options. Anyone got any ideas? Thanks
0
votes
0answers
44 views

How to achieve recursive field update in workflow time triggers?

I am trying to recreate the scenario to encounter recursion of field updates in a time dependent workflow rule. I have 3 workflow rules on the object Account. Rule 1 triggers when Rating is hot and ...
0
votes
2answers
44 views

List all Profiles with access to a particular field

Can I use SOQL to list all Profiles with a specific type of access to a standard field? i.e. 'List all profile with Read-only access to the "Account Name" field on the Contact object' What ...
1
vote
1answer
95 views

How to iterate over all the queried out fields of a single record

I need to iterate over all the fields that I query for a record and check all of those that are custom field checkboxes and see if any are true. The part that I'm not sure how to do is how to iterate ...
0
votes
2answers
349 views

Not able to update picklist fields as unrestricted from restricted

The option “ Restricted picklist to the values defined in the value set “ greyed out. I need to unrestricted this field. I am not sure why it is greyed out? How can I unrestricted this field now?
0
votes
0answers
29 views

Dynamic Field from Account in Email Template Subject using APEX?

I have a service in which we send a new updated Account to an external System, and then we generate a pdf for sending to user email. The process is okay, but they problem is that, when created and the ...
2
votes
1answer
37 views

Changing the colours of the fields depending on a formula?

I have two number fields on opportunity layout. A and B. I want to create a formula field and when A>B the formula field will be red or just an indication that people will notice it right away when ...
0
votes
1answer
15 views

Address(home, a location on google maps, etc.) data type

How can I create an address data type? On my Salesforce there is Billing address. When I create a new account I see the billing address field and it show something like this. How can I create new ...
0
votes
0answers
40 views

Export List of Field sets and their objects/Export list of fields per field set

I am finding a way to either exporting all the fields set with their objects details or list of fields in each field set. we have so many custom objects and it's hard to go look for a specific field ...
0
votes
1answer
21 views

How do I generate a report of where multiple specific fields are being used in an org?

I want to generate a report of where multiple specific fields are being used in my org. I know that Salesforce has a 'Where is this used?' button for each field which shows where that particular field ...
0
votes
1answer
80 views

Unable to reference object field in Apex Class

I'm a bit stuck, but in my defense, I'm passing a kidney stone and not thinking clearly. Words cannot describe the pain. I have a Visualforce page that opens in a newly created object record. One ...
0
votes
2answers
40 views

UserId in formula field

I want to insert UserId of the SObject AccountTeamMember in a formula field, but I'm not able to put this field... How can I do it? We can see in the pic that I don't have the option to put UserId in ...
1
vote
1answer
47 views

Prepend http:// to a url field if it's not already there

I have a field that contains a url. This url is sent to marketing cloud and the link only works if is prepended with "https://", how can i automatically add this if a user only enters "...
0
votes
0answers
44 views

How to query Standard field's fieldId

The standard field Ids for Opportunity standard fields are opp1, opp2, opp3... and so on. Is there a way to query them using JS connection sdk or any tooling API available to query these. The use case ...
0
votes
0answers
9 views

A Custom Field Permission from multiple permission sets in Salesforce using anonymous script

I have a custom field created in Task where access is not provided to any user (including System Admin) but via permission set the access is there. There are almost 200 permission sets in the org and ...
1
vote
1answer
89 views

How to choose the fields for a Send Relationship in Marketing Cloud?

I don't understand what a Send Relationship is in Marketing Cloud, its purpose and how to determine which fields need to be included into the Send Relationship. For example if one field is a ...
0
votes
1answer
47 views

Is it possible to overwrite custom fields from an unlocked package

I am creating an unlocked package from a separate Developer edition. In a sandbox we are adding custom fields which at first are not clear if they have to be added to the package to gain speed. Is it ...
2
votes
0answers
149 views

“Interval” field not supported by Eventlogfile object (in Enterprise edition org)

I am using Salesforce Enterprise edition, and I have the "System Administrator" profile assigned to me, which has all the permission related to Read, Modify All data, View Event log files, ...
1
vote
1answer
46 views

“Where is this used?” not showing Reports where the field is used in a converted version

I just hit this —which seems to be a bug— and need to find all the reports where a field is being used. Any tips other than retrieving the metadata and ctrl+f for it? edit: This is happening in an Org ...
0
votes
2answers
38 views

Assign look-up fields in Page layout

I have a custom object Called App__c and Context__c , App__c has look-up with Context__c , Now need to add App__c object fields in Context__c page layout. Is this possible? Anyone can help? Thanks in ...
0
votes
1answer
36 views

Mysterious “Long” DisplayType

I'm trying to figure out what "Long" DisplayType is (it's listed in Schema.DisplayType Enum values). I've checked standard fields for a couple of SF standard objects but didn't find any ...
1
vote
1answer
72 views

Is there a way to export what “where is this used?” details?

I'm trying to collect and analyze field metadata. It would be extremely helpful if there was a way to mass export (e.g. all account fields) with the details around where the fields are used (same view ...
0
votes
1answer
39 views

filterable property in schema

how to get fields which are queryable(can be used in query) or filterable(property from schema) from an object like account without using soql queries. Any suggestions? how to achieve this.
0
votes
2answers
137 views

Why use autonumber as external id [closed]

I can't figure out why use autonumber as External ID. There is some case when must be used an auto number as ExternalID? Thanks
0
votes
0answers
18 views

Isupdatable is false in higher env, even though its true in development sandbox

While updating some fields of order product object using apex in my test sandbox I am getting isupdatable as false in the alex class. Even though isupdatable for the same field is coming as true in ...
1
vote
1answer
97 views

Dynamic query using In with a List with multiple fields

I have an array of this class global with sharing class JiraTimeLog { public Long worklogId; public String jiraIssue; public String milestone; public String resource; public Date ...
1
vote
0answers
58 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
90 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
11 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
192 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
39 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: ...
1
vote
0answers
411 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
48 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
181 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
70 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?
1
vote
0answers
198 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
185 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
54 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
299 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
35 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
52 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
1answer
112 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 ...

1
2 3 4 5
9