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

Pass a String in Select query - SOQL

I have a String that contains some custom fields of Account. I want to pass a String in a Select query like this : String myString = 'myCustomField1__c, myCustomField2__c'; List<Account> ...
0
votes
0answers
11 views

How to create a custom field for event programatically in salesforce with ios sdk

I have a requirement of creating an Event from my IOS application. In that case if I created multiple records of events and send to salesforce, I will get response one by one how to update the Id ...
1
vote
1answer
18 views

Migrate custom field in Activity object

I've added a custom field to the Activities object which I'm trying to migrate data into using the Data Loader on the Event sub-object. However, when I'm creating the map for loading, I do not see my ...
3
votes
1answer
14 views

Determining whether a user/current user can create a field on a custom object?

I have a custom object called Data__c.I want to create fields on that object dynamically.So I want to check whether the user who is trying to create fields has enough permissions ?
1
vote
0answers
31 views

how to get this requirement? [closed]

In opp i have some custom fields like 60 Minute Funding %,3 Hour Funding %,Same Day Funding %,Next Day Funding % and 60 Minute Funding $,3 Hour Funding $,Same Day Funding $,Next Day Funding $ so now ...
2
votes
1answer
25 views

Best approach to create extension object

We have reached the max limit of custom fields in Opportunity object. We did a field analysis and deleted the unused fields, but still anticipate reaching the same stage in 6 months. For long run, ...
1
vote
1answer
22 views

Picklilst custom field with grouped values?

we have a picklist custom field for Opportunity objets where we have all the countries where my company works. It would be possible to group the values in this field by region or continent? For ...
2
votes
0answers
29 views

Create Geolocation field type using java code

I am using com.sforce.soap.metadata.FieldType and com.sforce.soap.metadata.CustomField classes to create custom fields using java code. Now I want to create a field which is type of geolocation in ...
5
votes
1answer
39 views

Prevent Automatic Hyperlinks being created for Text Area Fields

I have a custom object with a Long Text Area field to store a string that may be longer than 255 characters. The contents of this string often includes text that looks like a hyperlink, but is not ...
2
votes
1answer
28 views

Google Place Autocomplete and Custom Text Fields

How can I implement Google Place Autocomplete at one of my custom text fields ?
3
votes
2answers
22 views

Deployment Error “The summarized field in not deterministic”

Question Has anyone gotten the following error when deploying roll-up summary fields and knows how to resolve? objects/My_Object__c.object (My_Object_c.Rollup_c) -- Error: The summarized field ...
2
votes
1answer
55 views

Custom Fields <> Data Storage?

I inherited an org that was maxed out on data storage, so I cleaned up the fields per object. The largest issue was Leads, where I was able to remove 100 of the custom fields. However, this did not ...
1
vote
2answers
53 views

compare fields values for a controller, no trigger, Schema.DescribeSObjectResult?

I'm trying to find out how to compare fields values for changes. I have for custom fields that I need to know if they have changed before the user clicks on Save to run a logic before saving. This is ...
2
votes
2answers
76 views

Making custom Field Visible only to certain Role

I need some advice - Aim – to make a custom field visible on the activity but it should only be visble to someone’s Profile Can this be done ?
0
votes
2answers
39 views

How to add “Middle Name, Suffix, etc” to the Contact's Name field

Goal: Within a contact, the name field is concatenated in the user view and I would like to add custom fields to this concatenation. Currently, appears this is not possible, though possible I am ...
0
votes
0answers
37 views

How to add custom action (close tab) when case detail page button “save” is pressed

Im quite new to SF, so please bear with me :-) When I have a case open, I can "escalate" the case to a queue, and then save it. The save button closes the detail view of the case, but I also want the ...
2
votes
1answer
29 views

Find if field is used in a report

One of the SFDC Admins asked if there is a way I can find out if certain fields are used in any reports/code. I have the code portion covered but I can't figure out how to find if the fields are used ...
3
votes
1answer
42 views

How to change a field type and deploy when field is referenced in code

I have a custom field on the user object that I need to change from Field Type Text to Field Type Multi-Picklist. The field is referenced more than 500 times in 25 Classes, Triggers and VisualForce ...
3
votes
1answer
86 views

How to create a trigger that checks a field from the object is fired from

Hello and thanks in advanced. -Background- I have a custom object for files, one of the files recorded in this object needs to be the primary file, but only one. -Approach- Create a trigger that ...
4
votes
1answer
21 views

Uninformative error when trying to delete a custom field in Schema Builder

Was trying to delete a custom field on the User table, in a Developer Pro sandbox and I got this error message. "Unable to complete the requested data change". Any ideas?
-1
votes
1answer
38 views

What fields does Latitude__c and Longitude__c must use?

Latitude_c and Longitude_c are 2 fields when i want to use google maps in my salesforce account. What data type do i need to use for two of them. Can any one help me to integrate with salesforce to ...
0
votes
0answers
29 views

Add custom field in Activity Section

I am integrating salesforce in my application and got struck at one point how can we create a custom field in Activity (Calendar event) using C#. Currently I am able to create the custom field in ...
1
vote
0answers
48 views

How to send a email to related list of an case object?

We have two objects Case and PO. A Button has been created in the case object,we are having lookup relationship between case and PO object in which the Case is the master and with the PO as child. On ...
2
votes
2answers
50 views

Control custom field formatting on layout page

I've few custom fields on Account object, which user will drag on to the Account Layout page by customizing it. I'd like to control the formatting of these fields on the layout. For example one of ...
2
votes
1answer
30 views

Is it possible to programmatically create unmanaged packages for a customer to install?

I would like to programmatically create an unmanaged package for a customer to install; the package needs to be programmatically created because its content is based some configurations specific to ...
2
votes
1answer
108 views

Enhanced Lookups (All Fields)

Are custom lookup fields searchable with the (All Fields) Search Enhanced Lookup on a Custom Object? In this example: I have a "Well" (Custom Object) record that has a look up relationship to a "Rig" ...
1
vote
2answers
34 views

It is possible to create a custom text field with default text defined?

we need to include some explanation text related to some custom field in order to provide to the user the meaning of these fields and how it must to be completed. We have test with the help text ...
2
votes
1answer
39 views

Error: External ID and Unique field limit exceeded

I am getting this Error in Contact Object(Person Account Activated) for the Number Datatype field Which I am selecting has Unique. when I googled it I get to know that only 3 Field can be made it has ...
0
votes
3answers
47 views

Mapping Salesforce Coordinates Field?

Any direct bolt on appexchange apps or other internal salesforce solutions to take the new Salesforce Coordinates field types to automatically visualize a map based the latitude and longitude entered ...
2
votes
1answer
65 views

are custom fields deletable from a managed package?

I see this has been asked before but this doc seems to indicate that custom fields are developer deletable (pg 29), am I missing something? I don't see any way to delete them. ...
1
vote
0answers
45 views

Is it possible to retrieve list of hidden fields of custom object?

Background. My manager asked me to retrieve all currency fields for many custom objects. Amongst them there was at least one object with many fields which have field access Hidden. Let's call that ...
2
votes
3answers
130 views

How to get the current record id value in URL field?

We are trying to get the current record ID value in custom URL field of that particular record. We tried this in formula field and its works fine but when tried this in a custom URL field it's not ...
0
votes
2answers
137 views

Country & State picklist as custom fields

Is the State and Country picklists available as custom fields? Can I define a custom field of type Country and use the 'built in' Country values?
3
votes
1answer
49 views

Some custom fields automatically created when creating a new salesforce development instance

When I created a new SFDC instance, In Account object setup i saw some custom fields like SLAExpirationDate_c ,NumberofLocations_c (not created by any user). Same case for contact and other standard ...
2
votes
0answers
57 views

“invalid domain” creating a Master-Detail field on a junction object

I was attempting to set up a Junction Object in an organization with Person Accounts enabled to link Business Accounts with Person Accounts. I set up the Account Master-Detail on the custom junction ...
4
votes
1answer
111 views

Adding new fields to custom objects in managed package

I am a newbie to salesforce and still evaluating the platform for building products. The product needs to be sold as a managed package. The product many need to be customized by the clients to suit ...
8
votes
1answer
546 views

Populating Custom Settings field using Apex

I'm trying to populate/set/put/initialize a custom setting's field with a calculated value within my apex code. The field type is number. Is there a way to do this?
0
votes
0answers
24 views

make editable field of another object

Let's say I have two job objects. School and Student. Under School, have schoolName,Description. Under Student, have studentName,schoolName and SchoolDescription. I want to make SchoolDescription ...
1
vote
1answer
57 views

change existing used field name in SF

Sometimes, I need to change the existing custom field name which is currently using. There are a lot of places using that field in coding etc. So basically, system doesn't allow us to change the ...
3
votes
2answers
328 views

Junction object fields

I have created a many to many relationship between two objects, A and B, using a junction object. That works fine, and the related lists show up on A and B with standard layout pages. Is it possible ...
3
votes
1answer
967 views

Trigger to update custom field from another custom field on a separate object

New to Apex and while I'm normally able to edit / manipulate code I'm struggling with the nuances of SF and the references to certain things. From looking round the board I've found the following code ...
5
votes
1answer
65 views

Show “last Chatter date” on parent record?

Anyone know of a way to store (akin to Modification Date, etc) the 'last Chatter date' on a record (Account, Lead, Contact, or especially Case)? Perhaps a canned Trigger someone has made if it's not ...
2
votes
1answer
463 views

Custom Search functionality based on Account lookup in a VF Page

I have a Custom Object in which a lookup field(Acclook) is related to account has been created. On a VF page We have an Inputfield which is a lookup(Acclook) for account. Once we click the Search ...
9
votes
1answer
250 views

How to upload videos into custom object record

How to upload videos into custom object record like as photo upload in rich text field. no need to display a link i want to display a video
5
votes
1answer
174 views

Why am I getting a not in package.xml error on custom fields when the custom object is in my package.xml?

Question Doing a deployment with ANT that includes some apex and a custom object. However, when I test deploy I'm getting errors about fields not being in the package.xml. Has something changed ...
0
votes
0answers
38 views

Access “Number of Installments” on Opportunity Product

For use in a custom formula field, I need to access the number of revenue installments. It is displayed in a teaser on the Opportunity Product page, but I cannot access this in a formula. Any ideas?
2
votes
1answer
63 views

Can I use partner account fields in a report?

I am creating an "Opportunities with Products" report. Is there any way I can use more partner fields than what are exposed by default? I presume the answer is no, but, I wanted to ask just to be ...
1
vote
1answer
57 views

Adding multiple quantities of same product to quote

does anyone know how to add several different quantities of the same product line to a quote on Salesforce without having to select the product individually each time? Currently to add say a 4GB USB ...
4
votes
2answers
67 views

Hyperlink only in the list view not in the detail/edit mode

Im creating a cutom object 'Custom Case' exact replica of Case object. Subject is hyperlinked to the Case detail view in the list view. But it is not hyperlinked in the detail view and edit mode. How ...
3
votes
1answer
129 views

Fetching SObject Id from changes in Lookup fields using History tracking

I have set history tracking for my Custom Object and set a Lookup field for my referenced Object. CustomObjectX_c[Field1,Field2,Account_c] Here Account__c is a lookup field to the Salesforce ...