Questions tagged [fields]

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

Filter by
Sorted by
Tagged with
2
votes
1answer
19 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 ...
-1
votes
0answers
20 views

How to create an address field with multiple fields and autofill from Google Maps?

On Salesforce account and I am testing the futures in Sandbox. I have a field called Billing Address in account layout. It has multiple fields and autofills from Google Maps. How can I create a field ...
0
votes
1answer
13 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
19 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
61 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
24 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
30 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
41 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
7 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
30 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
25 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
82 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
41 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
30 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
28 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
47 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
27 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
75 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
16 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
51 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
48 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
61 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
128 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
35 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
247 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
42 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
117 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
54 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
123 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
76 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
40 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
172 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
34 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
38 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
87 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
98 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
53 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
2answers
254 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
58 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
48 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
38 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
610 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
159 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
542 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 ...
5
votes
1answer
172 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
209 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
28 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 ...

1
2 3 4 5
9