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
40 views

Programatically change checkbox field default value?

We have a checkbox custom field on Account that defaults to false. It's part of a managed package that we provide. Because it is in a managed package, our customers who install the package can't ...
0
votes
0answers
11 views

Community Site for Non-SFDC Web Application SSO Using External Identity w/ 1000+ IdPs

I have 3 web applications, one each written in ColdFusion, .NET, and Java. Between all of the applications, I have over 1000 identity providers (IdPs) using SAML and eventually OAuth for SSO. I need ...
1
vote
1answer
11 views

Control on fields restrict in detail page

Is there any wayout to restrict profiles to edit fields from detail page other than FLS and Page layout? I don't want to have a separate page layout for above case. Also can't change by FLS because ...
3
votes
1answer
26 views

Create unique label & values for a custom Picklist field

I want to create a custom picklist field that would represent a packaging type which would in turn represent a divider for the shipment's total quantity. For example, if the dropdown had the following ...
0
votes
1answer
17 views

Campaign Member Custom Fields

I need to create several campaign member custom fields for reporting purposes to measure campaign membership by acquisition Channel and Medium. Ideally I could create a campaign member field for each ...
0
votes
3answers
26 views

How to access custom field in custom object via SOAP API

When generating the jar via WSDL I see the fields are present on the custom object. (e.g. MyCustomObj__c, field MyField__c), but when I generate the JAR (via the WSC tool) the resulting jar's does not ...
3
votes
0answers
26 views

Change sObject field type and deploy with API

in this thread, there is a discussion about modifying custom sObject's type. When I try to change the field's type in Salesforce GUI, indeed I can see the error message about some references in code. ...
0
votes
0answers
16 views

Run default Lead Assignment in trigger [duplicate]

I want run a rule from trigger (Lead Assignment rule - default) when a new lead is created. I tried something but its not working. Don't know which one is correct way to do that. below you can find my ...
3
votes
1answer
45 views

Trigger to capture attachment url to record detail page

I am capturing image from webcam and storing the image in record attachment by a managed package app. I have a text field in record detail page path__C where i need to capture inserted image (in ...
1
vote
3answers
36 views

what are the options to store initial value of a field in a separate custom field

In CS object, there is a field Quantity that is subject to be changed. The requirement is to store the initial value of that field in a separate custom field. 2 options are there : inlude in before ...
1
vote
1answer
30 views

How to add custom field to page multilineitem.jsp for opportunity?

Is there a way to add custom field to the page multilineitem.jsp for opportunity? (URL salesforce.com/oppitm/multilineitem.jsp) Here is page screen:
2
votes
1answer
29 views

SOQL Query to lookup field dependency?

A change needs to be done to this attribute/field Global Account Flag_c. In order to do so, I want to lookup dependency of this field Global Account Flag_c in all the objects present in our Salesforce ...
1
vote
1answer
17 views

Associating Contacts from a Parent Account with a Child Account to express permissions?

I'm new to Salesforce and am trying to figure out if what I think I should be able to do is feasible. I'm hoping someone can point me in the right direction. Consider the following example hierarchy: ...
1
vote
1answer
22 views

Could I make a QuoteLineItem custom field that finds the name of the Product2 associated with it

Title basically explains all of my question. Links and/or examples would be very helpful!
3
votes
1answer
30 views

How can I filter through object using 2 separate fields as unique identifiers?

I have a custom object (we'll call it RS__c), and it theoretically has a 1 to 1 relationship to OpportunityLineItems (it is not possible to create a reference field directly to create this ...
0
votes
1answer
39 views

How to grant access to populate a field with out displaying the field to the user

I need to prepopulate an Opportunity Custom field upon creation. I use URL Hacking to pass the value from the Account to the Oppty using a new "New" button. ...
1
vote
1answer
33 views

Merging data on Opportunities from multiple reports

I am struggling to understand Salesforce features with respect to merging information from multiple reports. Specifically, how does one lookup information on a given Opportunity or Account from other ...
2
votes
1answer
31 views

Populate custom object custom fields on page load without ids

I'm trying to pre-populate fields on a custom object that I made. I tried passing the values through the url using a button link, overriding the default new button and providing the ids of the fields ...
2
votes
1answer
24 views

Metadata for field visibility

I am new to salesforce, so my question may seem basic. Whenever we create a field, we set the visibility/read-only for various profiles. How do i get that info in metadata? I created a field on Case ...
0
votes
2answers
35 views

Format a day from date as 15th instead of 15

I have a formula text field that convert the date from 15/06/2015 to 15 June,2015. Is there a way to get the postfix portion of the date ie : 15th. My formula is : TEXT(DAY( Wedding_Date__c ))+ " " ...
1
vote
1answer
38 views

Custom object isn't populated on Visualforce

i'm trying populate the fields of a custom Object. The object are being create but the informations used with InputField doesn't populate. Fragment of Visualforce <apex:actionRegion ...
3
votes
2answers
112 views

Multiple Many To Many Relationships on same Custom Object

Forgive me, I just started Salesforce development this week so I don't know many of it's methodologies and idiosyncrasies yet. Let's say I need a Custom Object to represent computer parts ...
0
votes
1answer
40 views

probability showing incorrectly when copying to another field

I have setup a simple process builder flow that copies the opportunity probability to another object. The field data type is the same percent(3,0). However, if the probability is 75% on the ...
2
votes
0answers
52 views

Using an inputField value in a custom controller

I have a custom controller which contains a search function. It is used to search through my custom tree object for a tree based on the users input. I previously had a select list to list the ...
1
vote
0answers
36 views

Custom field not showing in page layout

I have successfully created a custom field with MetaData API but it it's not visible in lead page. below is the code how I create it. public bool CreateCustomField_LongTextArea(SforceService ...
0
votes
3answers
43 views

Create custom field which displays first opportunity created

I have a requirement where I need to capture, in a custom field on the Account Object, the date that the first opportunity was created against an Account. Furthermore, I also would also like to do ...
1
vote
1answer
46 views

Alternative approach to multiple dependent picklists

Within service cloud, I have a requirement to allow for case categorization. I currently have a hierarchy of 5 dependent picklists: Product Product Area Category ...
2
votes
1answer
29 views

Get namespace prefix for a field

In a question I asked last week about getting namespaces, the best solution was to get information about the class (or any class) in the namespaced package. But this seems vulnerable if there are ...
3
votes
2answers
62 views

How to detect unused custom fields

I'm trying develop a system that will detect which custom fields are no longer used such that they can be removed. To be more specific: 1.) How can I determine if a custom field is used on a layout? ...
1
vote
2answers
52 views

how to handle schema changes in salesforce and notify other systems (push vs pull)

We have some of our objects and fields synced to other systems and one of the common concern we see is the changes to these objects / fields (specifically deleting them in salesforce) are impacting ...
0
votes
1answer
17 views

After deploying a custom field , will the old field name be overriden or a duplicate value be created?

I have changed a custom field name of a custom object in one sandbox. After deploying it to the other sandbox, duplicate value ll be created or the values ll get overridden? Also pls provide me for ...
2
votes
1answer
134 views

Null or Empty value are allowed in Unique and External ID text field

I have created a text field in a custom object, and checked the option for External ID and Unique only but not the Required option. i want know if this text field will allow a NULL or Empty value ? ...
1
vote
0answers
33 views

How to display the currecy symbol opportunity amount field based on the country name

I would like to show the currency symbol in the opportunity amount field based on the country name(Country field is referred from he account field)
1
vote
2answers
41 views

How does the default contact name field on case work?

There is a default field on the Case object that uses a lookup on Contact to display the contacts name. I need to make a custom field on Case that displays a custom text field from the Contact ...
1
vote
1answer
103 views

calculate duration spent in custom field status

We are trying to track the duration (time spent in days/hours) in each Status change (Custom Field) on the Opportunities Object. Right now we have enabled field history on this custom field (picklist) ...
2
votes
1answer
94 views

Error converting HttpResponse to Dom.Document

I am calling the Tooling API from Apex in order to find out if a Custom Field has been created. Here is my code: HttpRequest req = new HttpRequest(); req.setHeader('Authorization', ...
1
vote
1answer
119 views

Do all developer orgs come with a bunch of custom fields?

I previously installed an app from AppEchange to my developer org, and after a while, uninstalled it. I now have no installed packages. I recently noticed that the standard Account Edit page is using ...
0
votes
1answer
26 views

Object with fields that depend on another field

I have an object that should be displayed like this: I don't want to create repetitive fields D_A D_B D_C etc is there a way I can create a picklist field with the values A,B,C And when I create a ...
1
vote
2answers
44 views

Getting always zero as total in apex:variable

I am getting always 0 as a result of total. I am using apex:vairable, initialing it before apex:block. Inside the apex:block I am adding the field of object i.e number type with apex:variable and ...
2
votes
1answer
53 views

Lead conversion mapping - changing field reference

Our previous admin incorrectly set up our Accounts and Contacts to use a custom "lead_source" rather than the standard "leadsource" used in Leads. This make it impossible (for me) to map lead source ...
6
votes
2answers
74 views

Profile field visibility

If two users are sharing same profile, how can we make one field visible to one user and hiding it from other user.
1
vote
1answer
79 views

Duplicating Opportunity Stage Duration for Custom Field

It's probably been asked before, but how do you duplicate the Stage Duration functionality in Opportunities on a custom field? I have a custom picklist field named "Operations Status" that serves the ...
1
vote
1answer
47 views

Apex class for trigger

I am writing a test class for Contact record update trigger I tried my best but it's not working, please check and give suggestion to improve my code @isTest public class TestStopEmails { static ...
1
vote
0answers
34 views

Want to hide a Custom field which is holding a reference getting used in a trigger

I have got 3 objects 1)Change 2)Requirement 3)CR-Req(junction between Change and Requirement) now we have a related list of CR-Req under Change object which is having a custom button named "New ...
2
votes
2answers
81 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 ...
0
votes
1answer
28 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
59 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
30 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
73 views

Relationship between Opportunity and Contract

How to make a relationship between contract and Opportunity ??
1
vote
4answers
319 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 ...