A custom field can be added to standard objects that support custom fields and custom objects to extend the capabilities of Salesforce to suit the specific needs of an organization. Custom fields can be accessed in code by referring to them by their API Name which is their specified Field Name ...

learn more… | top users | synonyms

0
votes
1answer
13 views

Convert a picklist fieldtype to a number fieldtype without losing data

So we have a large number of text fields that we want to convert to number fields without losing data. We have a script to write to convert the text to numbers, so for example it was Monthly Weekly ...
2
votes
1answer
22 views

Populating standard name field with a case number

I am trying to populate the standard name field of an object with the case number. I have tried to use an apex class to accomplish this. Here is the code I used: GW_Volunteers__Volunteer_Job__c ...
0
votes
0answers
15 views

Contact Field calculated by trigger but now displaying on Person Account layout

I have a custom field within the contact object that was calculating values via trigger. The field and label had to be renamed due to various reasons. Within sandbox, when I was testing this I had ...
0
votes
1answer
29 views

Displaying custom field description on VF page

I have a requirement where the names of the custom fields far exceed the 40 characters limit. So instead I thought I would put a keyword in the field name and the whole name in the description of the ...
1
vote
1answer
18 views

Convert Custom field type from text to lookup/master-detail in salesforce

I have created custom field with Text data type..For some reason I need to change the field type to a look-up/master-detail relationship. But when i click on "Change Field Type" button for that ...
1
vote
1answer
28 views

Confused by default value of percent fields

As asked and learned here you need to enter 100 into a percent field to get 100%. BUT to set a percent field to 100% by default you need to enter 1 as default value. Otherwise it will result in ...
0
votes
0answers
17 views

How to create cross object field dependencies in my VF page?

I have a VF form page contains cross object fields, how should go about implementing field dependence between two different object fields? Thank you.
0
votes
1answer
25 views

Create new Field At Account Level

At Account level there is one filed named "Comment(Type-Long Text area)".now i want to create one another field at account level that give the count, Number of "comments" inserted by specific role of ...
0
votes
1answer
11 views

Creating a 'Scorecard' on the Accounts Page

I'm trying to create a basic 'scorecard' section that will display the following information on the Accounts Page: Value Open Opportunities Valued Closed Won Opportunities Number Leads Total Number ...
2
votes
1answer
37 views

Attach Metadata to Class Object

I am looking for a way to attach metadata to an Apex Class. My scenario is as follows: Suppose you have 40 custom Apex classes. There are two major systems that use these classes, but system A uses ...
1
vote
2answers
12 views

Change field Data Type without removing all references to said field in Controllers and Classes

Is it possible to change a field's Data Type without removing all references to it in controllers and classes? I'm considering changing a Rich Text Area to a Long Text Area. I'm receiving the ...
1
vote
0answers
24 views

Can I search the case lookup field by contact name?

I try to type in a contact name in the case lookup field and it brings up nothing. I need to know if there is a way to search this by name because end users are not going to know account numbers.
0
votes
2answers
28 views

Storing the results of a query in a variable

I have an object "Case" with the fields "Contact_Search_Name__c" and "CaseNumber" and I have an object "Case_Notes__c" with the field "Contact_Name__C" basically I am trying to use this query ...
0
votes
3answers
37 views

Adding a record to more than one case

I have written a visualforce page that displays a notes field, a date field, and 4 case fields. I am trying to submit the notes to each of the cases but it is only submitting it to one case. ...
2
votes
3answers
41 views

Sites Vf page field value not visible

I am trying to pass a field value from the controller to the VF page. It is a custom object. I have a list that queries a list of records, and I also query a look up field value. I debugged the list ...
0
votes
1answer
29 views

How to add cutom field in managed package in visaulforce page?

I have custom page in managed package and I added one custom button in this page when I click on this button I want to add one custom field in that page. Can any one help me?
1
vote
1answer
55 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 ...
0
votes
3answers
40 views

Prepopulate custom field in Contact Object Based on its Related Account Object

We have a custom field named "Region__c" in the account object. The same field is also present in the Contact object. When we select an account form the contact edit view we want to populate the ...
1
vote
4answers
61 views

Add rollup Field on Account

I have two object one is "Account"(Parent) and second one is "Information"(Child). in that "Information" object have two field "balance" and "duedate" now at account level i want the total of all ...
2
votes
2answers
33 views

Unable to access custom Activity field from a Task query

We have created a custom Checkbox field on an Activity through the API. But the field is not available on the task when I query as follows: SELECT Id, CallObject, MyCustomField__c FROM Task ...
3
votes
3answers
209 views

How to access custom fields in Javascript

How to access custom fields in javascript? I have Account with both standard and custom fields. I use the default Page Layout to display and edit any acc. It is necessary to populate some of fields ...
1
vote
1answer
39 views

Can we change field type in patch org of manage package?

We have created a manage package which contains many custom fields. I know that we can not change the field type in manage package. My Question is can we change field type in Patch org? or is there ...
0
votes
0answers
53 views

Change Field Properties of custom field in custom object

What I want to do is I have a custom object and its Page Layout with its fields. At the time of creation of custom field I forget to make it read only. I want to change it read only but while Editing ...
2
votes
2answers
62 views

Is it possible to roll-up the count of assets on an account?

I cannot seem to get Assets displayed in the list of available objects when creating a roll-up for the account object. Is it possible to roll-up the count of assets on an account?
0
votes
1answer
24 views

Create a field with Range of number

I have a custom field on Lead (Marks__c) which is a number type field with different values. I need to create a field (Profile__c) which should behave something like SF Report's bucket list i.e this ...
5
votes
1answer
56 views

Date format compatibility

I have received a datetime format not supported to load in salesforce. Can someone suggest a way out here. Format received: 29-JUL-13 01.17.05.335000000 PM SFDC supported Format: ...
1
vote
1answer
71 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
57 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. ...
1
vote
1answer
38 views

Changing custom field type

I need to change the field type of custom field from Text to Text Area (Long). I have around 2000 records for an object requiring this change. I also have apex and visualforce code referring to the ...
0
votes
2answers
47 views

Adding a new field to OpportunityLineItemSchedule

We have a requirement to add some extra functionality around schedules. Is there a way to extend this object with a custom field? I can't find it in the Salesforce setup.
2
votes
1answer
28 views

Mapping Custom Fields to Contact Roles

I am trying to map a Custom Field in a Contact to the Contact Role section on an Opportunity and can't figure out how to map them out. Any advice? Is this even possible?
0
votes
0answers
19 views

Calculate the total forecast revenue for the current year & display in Opportunity field

I am trying to display the revenue forecast for the current year on each Opportunity. The annual total needs to be the sum of the monthly revenue values from the forecast. Can this be done or can the ...
1
vote
1answer
77 views

Creating and updating a custom field for a Campaign Member

I am trying to send out an email whenever a campaign member's status is updated. I have the email side of it set up and working and am able to call that class from a trigger. Since I do not want an ...
1
vote
1answer
14 views

Can I change the type of a custom RSF field?

I have a custom field under Account that we've been using for a while, and I need to change it from Roll-Up Summary to Decimal. I cannot see that option when trying to edit the field. Is it possible ...
0
votes
1answer
44 views

Illegal assignment from list<event> to sobject. Please help me in modifying the code

I'm writing a trigger to update the activity field-contact_sys_id__C with the value of sys id /siebel id depending on the if type field. trigger ContactSysID on Event (before insert) { ID evid; ...
2
votes
3answers
32 views

Order matters database item

Trying to setup a database where it has a table with a bunch of devices, but when displaying the devices order matters. I would need to be able to insert/delete devices in any part of the chain. We ...
2
votes
1answer
92 views

Apex Trigger to populate custom field on Contract Object with value on contact object

I have a question for you knowledgeable people On the contract object we have a field called “Client Director” which is a look up to the contact record. Field: Client Director field api : ...
4
votes
2answers
51 views

Indexing Fields WITHOUT Salesforce Help (dates, etc)

I am asking this here because I'm having my usual run-around with Salesforce (we do not pay for Premium or "Developer" support if there even is such a thing) and I'd like to know if someone has ...
2
votes
1answer
52 views

How to load default values in skuid model?

Question When I'm creating a new object in the Skuid page is there anyway for the model to pull in the defaults values for the object? For example, if I've set the default value for the field, ...
1
vote
2answers
30 views

Fixing Websites

I made a formula field that takes the website and cuts off the beginning too make it easier to compare websites in reports. The one problem I ran into is if someone puts in a website as example.com ...
2
votes
1answer
52 views

Formula to set value on pick list based on user country

I have a question before using apex to accomplish this. On the Event page layout I'm using a couple of custom fields; Location_Country__c and Location__c. These fields have a field dependency, ...
1
vote
1answer
35 views

Can a “reference” type field reference more than one table?

Using v31.0 of the Salesforce REST API, when querying metadata for an object, if the object is of the type reference, it will have it's referenceTo field populated with the referenced table. { ...
1
vote
1answer
23 views

How to create a a list using a custom object and custom fields

I want to create a list that uses a a custom object called Animal__c and I want the list to consist of only Dogs, i have a field called 'species__c' which is text based, all the animals in Animal__c ...
3
votes
1answer
178 views

Use-Case for Encrypted Custom Fields and why are they rendered as input type=“text” and not as type=“password” on standard UI?

Can't understand why Encrypted Custom Fields are not rendered as type="password" on the standard UI. The first time you input or later if you change the content, it's just plain text. If you come back ...
2
votes
1answer
21 views

Unable to see new field in page

In my custom object I have added a new field that is used as an external ID. I have added the field to my page layout to ensure it is displayed, however I cannot see the field when adding new records. ...
0
votes
1answer
35 views

Display user-specific custom fields

I would like to display a few additional custom fields that are only related to 1 or 2 contacts accessing my portal, only they should be able to see these additional fields. How can I acheive this?
12
votes
2answers
1k views

How do I generate a random string?

How does one generate a random string sequence with Apex? I need to generate a code when a particular object is created in our Salesforce environment. I'd like the code to contain numbers from 0-9 ...
2
votes
1answer
121 views

How Do I populate the Last Login Date from User object into a custom object/field? [duplicate]

Aim – Pull the last login date from the user object into my custom object and populate a particular field Now I am under the impression that LastLoginDate on the user object is not accessible through ...
2
votes
0answers
34 views

Random data in custom field - what might be the cause

Our client's organization is having an issue with a custom comment field. After approving a report, some dodge data might be inserted into that field. The dodge data is tagged code which looks like ...
0
votes
1answer
79 views

Error in formula field when referencing fields of type: Currency - incompatible data type

I Keep getting Error: Formula result is data type (Boolean), incompatible with expected data type (Currency). I'm trying to get my custom field to add three items, not all need be required, to get ...