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

-2
votes
0answers
22 views

User Object Custom Field Edit Access?

Not sure what the problem here is. Please help.
0
votes
0answers
11 views

Populating custom field on Standard Object using SOAP API?

How does one populate a custom field on a Standard Object using the SOAP API in PHP? I am using PHP. $contact->Company = "First"; $contact->FirstName = "First"; $contact->LastName = "Last"; ...
0
votes
0answers
7 views

How to create community groupings for reporting

so I'm trying to create a custom object (if that is even the direction to go) to reflect a "Community" concept we have. This is for internal sales and reporting use right now. Basically, a ...
1
vote
1answer
15 views

De-activating Case assignment rules when deploying a field-type change

I have a custom field on the Contact object. And I changed it from picklist to multi-select picklist. This was referenced in Assignment rules. When I deployed this to another Sandbox, even though I ...
0
votes
1answer
28 views

Need help to make trigger and VP

1.- Create an object called A, with a date field called DateA - Create an object called B, with a lookup field to A and a date field called DateB 2.- Create a trigger that will set the DateA field as ...
0
votes
1answer
23 views

Custom formula field update

I've created a custom formula field on the Lead object named 'Lead Division Region' (for reporting purposes) and its set equal to the $User.Division. The issue I'm having is when the Lead changes ...
0
votes
1answer
14 views

Approval Process - Track Submitter of record

I am trying to track the 'Submitter' of an Approval process in Salesforce. Although I can who submitted the record when I check the Approval History, I cannot seem to create a field that will contain ...
1
vote
1answer
36 views

User can't search on a particular field while other users can

I have a user that is unable to search (sidebar) on an auto-number field on a custom object. The field does have a master-detail relationship with an account, however this user has read all access to ...
0
votes
2answers
37 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
1answer
44 views

using metadata api to deploy destructive changes to delete custom fields

There is an issue that I would like to get some helps/advices. I'm creating a method in C# using Metadata API to deploy destructive changes to delete custom field as following: Create an empty ...
0
votes
2answers
27 views

Getting “System.NullPointerException: Attempt to de-reference a null object” when attempting to call the cancel function in Apex

I'm making a system for our custom packages. When attempting to assign the packages from a visualforce page to the Opportunity I end up getting this the error. This error only happens when clicking ...
0
votes
0answers
23 views

Changing already created text fields into currency fields?

So I have a really tedious problem. I've been plopped into a SalesForce setup that was created by someone else and they want me to automate our company's billing process a little. The issue is for ...
0
votes
1answer
43 views

Getting an Opportunity Id into a Visualforce page when clicking a list button on a related list?

I'm currently trying to make a system for selecting multiple objects and connecting them to a related list within Opportunities. The last piece of the puzzle for me is getting the ID of the ...
0
votes
1answer
29 views

Using checkboxes to select objects

I am making a visualforce page for my custom object Opportunity Package to add multiple to a related list all at once. In order to accomplish this I will need to know which ones are being selected. ...
1
vote
1answer
37 views

Why am I getting “Error: Unknown property 'Opportunity_Package__cStandardController.Opp_Package_Rel__c' ” from this Visualforce page?

I am currently in the process of making a system for easily adding packages from a list into our Opportunities. This visualforce page needs to be accessible to use as a list button, but ever since ...
1
vote
2answers
32 views

how do i make a custom object name field with a lookup relationship

I have a custom object - responses. I want the name field to have a lookup relationship with the contacts object. Is this possible?
0
votes
1answer
59 views

Having trouble writing Apex trigger on custom object to update a lookup fields

I have a trigger that maps information from one Custom Object (Agents) to another Custom Object (Trident Contracts). I am able to update Seller Agent Name in the Trident Contract Mapping with the ID. ...
1
vote
2answers
76 views

How can I add a new value to a picklist using APEX?

I have queries pulling all of the information correctly but what I can't seem to find was a way to add new options to a picklist using APEX. I currently have Package__c.Products__c.add(new ...
0
votes
1answer
42 views

Custom Field Limits For Managed Packages

The documentation on global limits says this: The custom objects contained in a managed package publicly posted on the AppExchange don't count against the limits for your Salesforce Edition. ...
0
votes
3answers
39 views

Set a max value for a custom field in salesforce of type number

I have created a custom field in a custom object of type Number(2,1) in salesforce. Please let me know how set a max value for this field.
0
votes
1answer
21 views

How can we set field visibility to all profiles for a custom field created programatically using Metadata Api

I have created a custom field for a Standard Object (Opportunity) using Metadata Api. And the field was created successfully. But when I try to edit or create a new opportunity, the custom field is ...
0
votes
1answer
25 views

Default email address on email type field

I would like to give an email field a default email address of 'test@gmail.com' onto every opportunity record in Salesforce. I need to use an an email type field for this (for setting email alerts ...
1
vote
2answers
42 views

Modify field definition using scheduled Apex job

In the current data model of my org, there is a Master-Detail relationship between Account (Master) and Revenue (Detail). I have 12 custom fields on Revenue (January, February, ..., November, ...
0
votes
2answers
48 views

If statement in formula field

I am trying to develop a formula to determinate current days until the end of a campaign. For that i have the following fields Start Date End Date Days from Today to End Date The code that i am ...
0
votes
2answers
260 views

Why Custom Field's (Picklist - Data Type) values are not appearing on VF Page(PageBlockTable-Column)?

I am new to SFDC and started development in Apex and Visualforce Page with tutorials and online samples. So, here what I have tried and got stuck at the point. What I am trying to achieve: 1. In VF ...
2
votes
1answer
38 views

Are custom fields on Managed package objects deleted when upgrading the package?

If I have a managed package installed and I then add a Custom Field to one of the managed package Custom Objects, I then recieve a push upgrade of the managed package, would the Custom Field that I ...
0
votes
0answers
47 views

Can't revoke access to fields in Profiles using field name with namespaces for ProfileFieldLevelSecurity via Metadata API

I am trying manage access to “Custom Field-Level Security” for profile using Metadata API. I see on my organization API Name of current field is "nameSpace__FieldName__c" (the same is in workbench) ...
0
votes
1answer
117 views

custom field not displaying in visualforce page for user object

In my visualforce page I am displaying two fields from User object. {!$User.Alias} where 'Alias' is a standard field and is displaying fine. But {!$User.message__c} where 'message__c' is custom ...
0
votes
1answer
41 views

Access Custom Setting field value

I have a custom setting titled 'Authentication' and a field named 'token'. I need to access the value stored in 'token' in Apex, but I'm not sure how to do so. I'm aware of the get Instance() method, ...
1
vote
3answers
56 views

Restrict a particular alphabet combination in a field by validation

Can I restrict ' PO Box' , ' P.O. Box' or these values alongwith hyphen or so from being entered in a particular text field on a custom field on Account?
4
votes
1answer
277 views

Difference between read only and visible

can some one please explain what is the difference between visible and read only in field level security while creating fields. I am very confused.
1
vote
2answers
97 views

Uncheck checkboxes by changing particular checkbox state

I have custom fields in contacts form named checkbox1__c, checkbox11__c, checkbox12__c, checkbox13__c. When I check checkbox1__c then I want checkbox11__c, checkbox12__c, checkbox13__c to be ...
0
votes
1answer
59 views

YTD Transaction Count, FYTD Transaction Amount, Last FY Transaction Amount formula

I have Transaction object which has Amount__c field.Transaction is a child object to Account. So I have a requirement where I need to create 3 new fields in Account and populate YTD Transaction Count, ...
1
vote
1answer
78 views

Invalid cross reference Id when I'm querying fullName of a CustomField using Tooling SOAP API

I'm trying to get a fullName field of a CustomObject in query QueryResult queryResult = toolingConnection.query("select TableEnumOrId, FullName, LastModifiedDate from CustomField " ); I have ...
0
votes
1answer
18 views

Formula that depending the date of payment will assign the value of that payment

Another question from a newbie( most probably a silly one). I have dates of payments(date) with payments(currency). I created an amount paid field where CASE( Payment_Date__c , Relation__r.X1__c , ...
2
votes
0answers
40 views

Custom “IF” formula not returning correct records

I'm having a hard time with the following custom formula. I use this field in reports to determine if there are any data errors in our records. I can get the second scenario to work, but the first one ...
0
votes
1answer
49 views

Calculating the number of related contacts

Can anyone assist me in coming up with a formula/roll up summary for the Account object that will give a numerical value from calculating the number of related contacts
5
votes
1answer
118 views

Why are my default values always null for checkbox/boolean fields?

I setup a field in Salesforce: When looking at the metadata for my custom object containing this field, this is the data on that metadata field: "defaultValue": null, "defaultedOnCreate": ...
0
votes
1answer
80 views

How can I set field level security for multiple fields in the same custom object?

I have deployed several objects from one sandbox environment to another. I notice that the field level security settings has not been deployed. I used the change sets method to deploy these objects. ...
-3
votes
1answer
36 views

I am struggling with writing an if/then question for an opportunity [closed]

I inserted one new field: Is there a customer Impending event? If yes, I need to follow that with mandatory questions. What is the start date? (answer can be n/a) What is the end date? (answer can ...
2
votes
4answers
102 views

Can I force a recalculation of objects?

Addendum to How to set a field in oppty based on a parameter of it's products? I have a new CB for our product object. a workflow rule, updates the opportunity product object, when it's created. ...
1
vote
1answer
30 views

Conditional Checkbox to change following field type

I have a requirement where by I would like to have a field type following a checkbox change to a Master-Detail Relationship if the checkbox is check. E.g Employee Visitor (tick as ...
1
vote
1answer
48 views

Why does the RecordId get reflected in Name field instead of the Name?

I have created a custom object as XYZ and a created a Visualforce page based on the custom object. When I give the values in the vf page and save them.The record gets created, but in name field the ...
0
votes
2answers
62 views

Copy field from Activity Object to Contact Object

I wonder if there is a declarative way of doing this. When my Activity is closed, I want to copy a custom field of the Activity Object onto a custom field on my Contacts object. Is there a way to do ...
0
votes
0answers
102 views

How to convert number field to text in formula field?

I created a number field with options, Required, Unique and External Id checked, and want to use formula to convert Employee Number to text to prevent commas from displaying in the field. I tried to ...
0
votes
0answers
31 views

workflow fires without meeting criteria

i have a workflow and it fires only when custom_field__c is not null. an ETL job runs periodically, then this custom_field__c is updating, then the workflow rule fires, i get a email. Surprisingly, ...
1
vote
1answer
165 views

Custom field in standard object not available in reports on that object

I have a custom field in Accounts called Total Quality Rating. When customizing a report with report type Accounts, Total Quality Rating does not show up in the field list. Why would this be?
0
votes
1answer
54 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
2answers
60 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
24 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 ...