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

1
vote
1answer
25 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
163 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
30 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
46 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
54 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
20 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
51 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
64 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
33 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
28 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
30 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
21 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
13 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
54 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
35 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
31 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
74 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
38 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
38 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
29 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
38 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
30 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
18 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
138 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
34 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
933 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
97 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
49 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 ...
1
vote
1answer
21 views

Update ONE Custom Field based on Several other custom fields?

I have a custom object that I would like to update based on several other custom object variables. Can someone help me get started on this? I want ONE FIELD (booked_revenue_by_Quarter IE: ...
2
votes
1answer
22 views

Significance of getRelationshipOrder() in Master-Detail DescribeFieldResult?

For Master-Detail relationship fields, the DescribeFieldResult has a method called getRelationshipOrder(), which, according to the docs: Returns 1 if the field is a child, 0 otherwise. At first ...
1
vote
3answers
124 views

Ant - How to deploy a custom field on an “installed app”

We're using Conga Composer. We've added a custom field to the class "APXTConga4__Conga_Template__c" called "Template_Call_Method__c". It's a picklist. When I deploy to a new org I have to be able to ...
1
vote
3answers
58 views

Custom multiline edit for QuoteLineItems and population of description field

I need to edit the multiple page layout of the QuoteLineItem object. I'm able to show a custom field, however I need to populate that field with a value from the pricebook2 associated to the product. ...
0
votes
1answer
89 views

How to copy data from Rich Text area field to Text Area field

I want to copy data from RichText Area field to Text Area field,When I copied in Text area field,The data is displaying with HTMl tags. How can I convert this? edited to add code from comment ...
2
votes
0answers
52 views

What is the logic for the automatic creation and update of custom report types?

It seems there is a lot of magic behind custom report types. For example, if I create a new master detail field to the account object for "Custom" a new report type "Accounts w/Custom" is created ...
1
vote
3answers
49 views

Not able to update Rich text field with XML data

I have created a custom field(Rich Text field) with the Case object and am trying to update that fiekd value with XML data while clicking a button. If I hard code the value like ...
1
vote
1answer
23 views

Format custom textarea field for custom object

I have a custom object that has a custom field called Notes. The field has the Text Area datatype but when I use it in an outputText as such: <apex:outputText ...
2
votes
1answer
58 views

How to sort nulls last in a standard page related list

I need to diplay the null value in last when sorting a column in a standard page. So far I have tries with a formula field using a large value.
2
votes
2answers
90 views

How to access and not hardcode the field ID for a custom object? Using Apex, to construct URLs

Lets say you wanna create a new instance of a custom object, lets call this Custom Object Relationship_Detail__c. You are trying to create a link where it takes you to the proper RecordTypeId and it ...
0
votes
0answers
47 views

Salesforce knowledge article type,How to add a custom field with look up relationship to User

For a knowledge article type, I need to define a custom field with look up relationship to User. The field on the detail page displays only Customer and Partner portal.What am I doing wrong?
7
votes
3answers
70 views

Data Not Available? Can't edit a custom formula field formula

Any ideas why I would get a "Data Not Available" error when editing a custom field? In this specific instance I'm editing a formula field, and I'm able to edit and save changes to the description and ...
2
votes
2answers
76 views

Custom Field not visible, event when added to page layout

Rather new to Salesforce here, trying to set up some automated object and field creation through the SOAP API. Making a new custom object is no problem, making a new custom field is no problem, and ...
2
votes
1answer
40 views

Hidden custom fields after push upgrade

Our customers were using our managed package. Later on, we added few custom fields into the Account object. We then pushed the upgrades to our Client's orgs. But, after the push upgrade, the newly ...
2
votes
1answer
57 views

Why is 'Data Type' not defined on my custom field?

Why is datatype not defined on my custom field (circled below)? And how can I define it?
1
vote
1answer
69 views

Lookup data from a custom object from a formula field

I have a question for you guys. I have a custom Market object that stores the market city and states for Radio campaigns. The problem is when a customer comes on board and purchases air time on the ...
0
votes
1answer
71 views

Tracking user login/logout in User custom field

I need to create a field in the user object. I would like to populate this field every time the user login. Moreover I want to reset that field when the user logout. Is there a way to insert this ...
4
votes
3answers
367 views

Metadata API Custom Field Permissions

We are using the Metadata API to add Custom Fields to the Account object in Salesforce. We are able to create the custom fields, but then the Salesforce user has to manually login to their account ...
1
vote
1answer
52 views

Is it possible to use SObject Formula fields to get arbitrary values stored in some other SObject?

Let's say I have some SObject (myCode__c) with three string values (e.g. key1__c, key2__c, and code__c). The combination of key1__c and key2__c should be unique. Let's say I have a second SObject ...