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
55 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
22 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
21 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
21 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
17 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
11 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
42 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
31 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
59 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
34 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
33 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
28 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
30 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
28 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
13 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
117 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
16 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
29 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
814 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
78 views

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

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
32 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
36 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
19 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
19 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
81 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
50 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
73 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
50 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
42 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
20 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
57 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
70 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
43 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
65 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
62 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
39 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
54 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
51 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
61 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
296 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
46 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 ...
0
votes
2answers
96 views

GROUP BY custom field

I'm doing this query: SELECT ID, Name, Email_Domain__c FROM Contact GROUP BY Email_Domain__c And I'm getting this error MALFORMED_QUERY: GROUP BY Email_Domain__c ^ ...
3
votes
1answer
285 views

Set Field Level security for profile using meta-data api

I am using meta-data api to create custom fields in java class. Now I want to set field level security for different profiles. First is it possible to set this with meta-dat api, If yes than how can I ...
3
votes
3answers
248 views

How do I copy (and map?) a custom lookup field from Leads to Opportunity and to Account

I have been asked to add a new picklist field on the leads page which I have done but this also needs to follow thru to the opportunities and accounts page if the lead is qualified. Can someone ...
2
votes
2answers
33 views

Import custom fields from WSDL

Is there a way to bulk create custom objects and fields from a WSDL file so I can match the same fields in a dev account?
1
vote
2answers
139 views

Master-Detail Relationship on Custom Object from Managed Package

Is it possible to add Master-Detail Relationship on Managed Custom Object? currently I am getting below error
0
votes
1answer
30 views

Creating Report using field installed by Application

I'm trying to Report off a field that was installed by a 3rd party application but it doesn't appear in the list of fields in Reports. There are two other custom fields apart from the 3rd party ...
1
vote
1answer
149 views

How can I hide fields in detailpage when saved in a Visualforce page?

When i save the record the % fields also showing in detail page. below is the page <apex:page standardController="opportunity"> <apex:includeScript value="{!$Resource.jquery}"/> ...