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
2answers
22 views

Contact record update trigger

I am writing apex trigger. I need help with a salesforce automation. Sets a field "My Field" to Yes. This triggers the code. Code finds all contacts with the same email address. Code updates the ...
-1
votes
0answers
10 views

Custom Report for Custom Object History and Account

I need to create a report that shows text field edits made to a custom object grouped by the user associated Account. The users that access these records are customer community users, so they each ...
0
votes
1answer
19 views

Custom fields in a managed package

If you create custom fields in a managed package, will that field be lost when the package is updated?
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, ...
0
votes
1answer
11 views

Retrieve data from a WebService and fill Standard Page (Lead) fields

Here's my scenario: I need to create a basic search, based on the custom field "ZipCode__c". User types in the zip code and then I have to use a WebService to retrieve the address information ...
0
votes
1answer
40 views

Relationship between Opportunity and Contract

How to make a relationship between contract and Opportunity ??
1
vote
4answers
100 views

Change sets from sandbox to production

I have moved my custom object(Reservations) with the custom fields(near to 50 fields) created in Sandbox into Production but when i try and create a new res I can use only the standard field of that ...
0
votes
1answer
18 views

Share record(s) based on user custom field?

I have a custom field on my user (customId) that corresponds with the value in a custom field on my object (customId as well). I'd like for a user with the customId of A2 to only see records where ...
-1
votes
2answers
26 views

Put and direct setting sobject value does not show

I am trying to set a custom field of an custom object from apex object.put('field__c','value'); object.field__c = 'value'; Both of these lines do not set the value. However is I log the result of ...
1
vote
1answer
22 views

How do I edit the 'Contact Edit' page layout

I want to add a middle name field to the Contact Edit page. While I can edit the Contact Detail page layout, I can not find a way to edit the page layout for the Contact Edit page.
0
votes
0answers
27 views

Trigger Custom field

I'm very new with salesforce and with everything related to Apex triger. I have a little problem and I guess the solution is not complicated but ... So, When I create a new event, it's always liked ...
1
vote
2answers
44 views

Is it possible to deploy customization from sandbox to production without running Apex code test ?

I have some customization in the sandbox and that customization don't have any Apex code in it. Is it possible to deploy that customization without running Apex run test? The problem is that when i ...
1
vote
0answers
26 views

Workbench showing extra picklist value..Confused!

I recently changed the picklist values from open, ship, invoiced, rejected TO open, ship, deliver, cancel. If I check in detail field page, I can see the new 4 values, but when I query from ...
0
votes
1answer
23 views

How to make custom field on Acc object available but do not display?

I created a new custom field on the account object and this field should be hidden on all the pages but should be there on the HTML. I just want to initialize this field by passing parameter in the ...
0
votes
0answers
18 views

Search user based on custom field on Salesforce1

I have custom fields on the standard User object, one of these is populated using a trigger so that we can search a user using that field as a reference in the global search. As an example, if on a ...
-2
votes
0answers
22 views

User Object Custom Field Edit Access?

Not sure what the problem here is. Please help.
0
votes
0answers
15 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
8 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
17 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
28 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
21 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
39 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
48 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
69 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
32 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
27 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
63 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
31 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
44 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
36 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
77 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
97 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
57 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
50 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
32 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
32 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
46 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
72 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
354 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
46 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
51 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
168 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
59 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
62 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
366 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
117 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
65 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
88 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
19 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 , ...