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

learn more… | top users | synonyms

2
votes
1answer
24 views

Field universally required, what happens in the Page Layouts?

I have the following code. Account a = new Account(Name='Doria Account'); insert a; It returns me an error because the field "Industry" is required. What is weird is the fact that in the Page ...
0
votes
1answer
21 views

CloseDate Stage history field on opportunity

Can we rename the field CloseDate of the stage history related list of opportunity? Beside, is there a way to increment the value of this field?
1
vote
2answers
19 views

How would this date formula be structured? End Date = Start Date + Length in months)

I'm looking to auto-populate my End date field in the Opportunity Object. I have Start Date, End Date, and Opportunity Length (in months). Please help? :)
0
votes
1answer
17 views

Is there any way to change http default value on URL Fields?

Quick question, When you add for example an URL like "www.twitter.com/google" on url field on salesforce you will get automatically a URL composed as follow: Auto Result: ...
2
votes
1answer
16 views

Change Subject Data Type from Text to Long Text

Is there a way to change the Subject field data type from Text Area (255) to Long Text Area on the Case object? The Subject field is a standard field.
4
votes
1answer
17 views

Missing 'Required' attribute for Long Text Area fields?

Here is the snapshot for a "Text Area" field, notice that the "required" attribute is available i.e. we can set this field as required: Here is another snapshot for a "Long Text Area" field, ...
1
vote
1answer
28 views

LoginType field shows length 1 but retrieves length greater than 1

I am trying to query AuthSession object where the loginType field shows the length 1 but the length is actually greater than 1. Sample: Id ID 18 UsersId ID 18 CreatedDate dateTime 0 LastModifiedDate ...
1
vote
1answer
21 views

To make text field read only upon a checkbox being TRUE

The requirement is to make a Text field (user input) read only when a checkbox field is true(checked) Please suggest .
0
votes
1answer
21 views

including job title to contacts page

There is a field called title already but I cannot get this to be included as a field on the contact information page. I have added it to the contact layout page and saved it but still it doesn't ...
1
vote
1answer
11 views

Account contact info in mail merge

Does anyone know how to pull a contact from an account into a mail merge template? I have merged all the account fields but am having trouble isolating a contact name to include in the mailing. I ...
0
votes
1answer
34 views

How to query Id of a field/Custom field from standard object using Tooling API in .net

How do I get the Id of the field on Standard object like Account, Opportunity & Custom Object and Custom Field Id using Tooling API in .net.
0
votes
1answer
19 views

visualforce invoice page that refers to opportunity's account's contacts

In an invoice that is a visualforce page which is launched from a button on an opportunity layout, I would like to have this visualforce page refer to the account's contact. I know I can refer to an ...
0
votes
1answer
36 views

Changing field labels affect email merge templates?

When changing field labels in Salesforce, it will complain about how doing so might break merge templates. Our email templates use the API name of the field, not the label. Will changing the label of ...
1
vote
2answers
22 views

Renaming Account.Type doesn't work

I've gone under Rename Tabs and Labels to rename the standard Type field on the Account object to something different. It allows me to rename it, but the name is still Type on my standard detail page. ...
2
votes
1answer
28 views

Why do some leads have a 'lead source' value which is not in the picklist?

I just inherited a salesforce account from a previous owner, which is integrated with a number of custom forms and services. I'm not clear on all of the details to be honest, but I think this is a ...
0
votes
2answers
54 views

How do I remove the Decimal from a Currency Field

I want to get my custom currency field to show no decimal places, but when I update the decimal number in the customization page to zero, the field still shows 2 decimal places for the currency field ...
1
vote
0answers
24 views

Renaming API fieldname causing problems in Flow

I noticed an issue regarding updating field API names and the use in Flows. Any changes in API names are automatically 'refactored' in flow. i.e., assignments, use in decision elements and screens is ...
1
vote
1answer
28 views

Salesforce Metadata API null-types

I try to programmatically get the fields and their types of all Salesforce Objects (including custom ones). But some Types don't seem to exist. For this i use the force.com wsc version 32.0.0, the ...
2
votes
1answer
95 views

length of string value must be less than 4000 characters

I am getting the below exception in debug logs when i am trying to enter more then 666 values separated by comma or enter(tried both) in a long text area field. System.QueryException: length of ...
1
vote
0answers
86 views

Vary Field Label by Record Type or Page Layout

I currently have a requirement that for a field we have on an object, the label shown to the user is different depending on the page layout or record type. I can't find any way to change a field ...
0
votes
1answer
31 views

Can't query standard field “Type”

Type is a standard field on the object Account, and also apparently a reserved word in APEX, so how can I write/alter my SOQL query to include data from this field? I found documentation on creating ...
-1
votes
1answer
32 views

Using Custom Field

Hi i have created a custom object name Product in that i want to create a custom field by name product_id selected field type as auto increment but the field is not visible help.
1
vote
1answer
37 views

How to select one field from one table in apex class?

I have an apex class with some code like this: public List<Product2> myList{ get{ myList = [Select p.url__c, p.ProductCode, p.Nom_du_produit_2__c, p.Description From Product2 p ...
3
votes
1answer
161 views

how to get all fields from any object and its parent object in apex?

I have tried this code but i am only getting particular object fields but not its parent fields. any suggestions what i am missing? public with sharing class FilterCriteriaComponentcontroller { ...
0
votes
1answer
24 views

Custom User Fields not displaying after installing package into test Org

I apologize if this has been answered but after 5 hours of searching and trying everything I can think so, I can't figure this out. I've created an app in a Developer account, and after creating and ...
0
votes
0answers
9 views

Changes to Reports Deployed to server not visible in SFDc

Using IDE I have done a Find and Replace on our Reports folder to replace a specific field with a new field. I go through the full "Deploy to Server" process and it all completes successfully but ...
1
vote
2answers
39 views

Formula field giving a value 25

I am trying to set up a field [FormulaVideo] that will give a value 25 only if [Has_Video_Type__c] != None. Has video is a picklist field. This is where i am at. IF( ISPICKVAL( Has_Video_Type__c , ...
2
votes
3answers
578 views

How can I export object's field schema information to excel?

How can I export the fields of an object from Salesforce into an Excel sheet ? I dont want the data !! I want the fields, kindly help me
1
vote
0answers
33 views

Can you pull an ID for future Events?

I've been working on an Email alert for my team that will let everyone know when something is posted on our shared public calendar. I finally got the code down to actually send the email (If you're ...
0
votes
1answer
22 views

Maximum Length Of Help Text for Custom Fields and Standard Fields

Can Anyone Let me know the Maximum Length of Help Text Properties while Creating Custom Fields or Updating Standard Fields Help ?
0
votes
1answer
82 views

Maximum Length of Currency field with its Decimal Places Component

What is the Maximum Length Of Currency Field with its Decimal Places Component. ?
0
votes
1answer
37 views

Maximum Length Of Field Label and Field Name Properties and Possibility Of Customization

Can Anyone Let me know the Maximum Length Of Field Lable and Field Name Properties and is it possible to customize it any way?
1
vote
0answers
516 views

Enable/disable fields on create page based on picklist value using reRender

I'm creating a Hospital Management application that has a custom object GH_Patient__c. There is a picklist field GH_Patient_Type__c which has 2 values - In-Patient and Out-Patient. My Requirement is ...
2
votes
2answers
95 views

Does visualforce/soql not respect field precision?

I've got a webservice that generates some XML for a templating engine to make some sales collateral. Noticing that in some cases users get a ton of extra decimal places in the output for one ...
0
votes
3answers
969 views

how to make visualforce view fields align horizontally?

Help me I have this I need this Here is my code: <apex:pageBlock tabStyle="Account_Search__tab" title="Search Criteria"> <apex:pageBlockSection > ...
0
votes
1answer
145 views

List Opportunities that have a previous StageName [Advanced SOQL]

I'm trying to get a list of Opportunities that have now "Cancelled" (isClosed=true and isWon=false) stageName and the previous (Penultimate) value was "Active" by SOQL . For example, the Opp X had ...
5
votes
2answers
274 views

Javascript get field ids for URL

I'm trying to replicate the "New" button on a related list. The only difference is that, if a record of that type already exists, then it simple returns an alert. Otherwise the "New" activity should ...
1
vote
1answer
41 views

Is it possible to add Object fields into a list

I want to add object fields into a list. The fields need to contain the data of a certain record. So suppose an Object X has 5 checkboxes. I want to add these 5 checkboxes to a list, BUT these ...
1
vote
1answer
231 views

Master detail field is blank on visualforce page

I have a page that should allow me to select a case number from a master detail field but when the page is loaded the field is not there, only the label. I have tried to add an additional look-up ...
1
vote
3answers
99 views

How to change a field type in production instance using a change set?

We need to change a field type (Number to Currency) in the production instance using a change set. And we can't change the field type directly, because there are references of those fields in triggers ...
3
votes
1answer
132 views

How to get the information of a user who deleted an object?

Salesforce REST API supports the getdeleted endpoints to furnish a list of deleted records for an SObject. The response from the API looks like this { "deletedRecords" : [ { "id" : ...
3
votes
2answers
162 views

Percentage field semantics - 1 or 100 for 100%

What should a user input into a Percentage field to state "100%"? Is there a defined semantics or is this something the creator of the fields has to configure by the amount of decimals and validation ...
1
vote
2answers
52 views

How can I update the MobilePhone field with the Data Loader?

I'm trying to run a mass update of a group of leads to include data for mobile phone numbers, but the MobilePhone field seems to be missing as an option in the DataLoader mapping setup. (Someone ...
2
votes
2answers
707 views

Reading Long Text Area field with line breaks

I have long text area field, which has data on each line. I am populating a line then hitting "Enter" and then populating the next line and hitting "enter" again and so on. When reading this field ...
1
vote
1answer
230 views

Opportunity created date?

Is it possible to get the Opportunity created date from Salesforce? I don't see any standard fields that hold the data information but when looking at Created By field you can see a date next to the ...
4
votes
0answers
57 views

How to enter Seconds into Datetime fields using the standard UI

Say you have a datetime field Start__c on a pagelayout. Now try to enter a date (we have DE locale enabled, but should be similar in EN): 31.08.2014 14:53 ==> works 31.08.2014 14:53:38 ==> doesn't ...
1
vote
1answer
128 views

All fields not selectable to history track

I have a custom object Address_vod__c. All the fields of this object are not coming for selection in History Tracking window. Is there any way I can make such a field (formula field) available there ...
0
votes
0answers
339 views

Custom fields within fieldset are not visible in VF page

I want to display all the fields field set but out of 4 it is displaying only 1 which standard field I am not able to display the custom field form field set. ...
0
votes
2answers
310 views

How to insert (upsert) an object that has no external id?

According to this documentation, you need to know the external ID field of an object to inset new records. For some of my custom objects, I'm not seeing any fields in the object description that have ...
0
votes
0answers
47 views

Issue with the api name of the field from report

I may VF page I am getting all the reports and from that reports I am getting the filters used for the reports. When I try to use the phone field it retrieve me name as phone1 and when I used First ...