Questions tagged [fields]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
23 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
1answer
31 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
0answers
10 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
1answer
21 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
1answer
28 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
1answer
23 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
1answer
34 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
0answers
11 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
0answers
13 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
1answer
31 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
2answers
44 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
1answer
36 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
0answers
15 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
1answer
55 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
1answer
21 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
0answers
71 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
1answer
53 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
1answer
25 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
1answer
27 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
0answers
33 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
2answers
39 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
1answer
101 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
0answers
24 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
1answer
22 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
44 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
91 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
23 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
76 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
277 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 ...
2
votes
1answer
367 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
1k 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
49 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
291 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
30 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
100 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
284 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
85 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
82 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
61 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
191 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
81 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
211 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
56 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
42 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
45 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
113 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 ...

1
2 3 4 5
10