The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
32 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 ...
2
votes
2answers
36 views

Not able to add fields in Related list for a page layout

I am trying to add fields in a Related Cases Related list for a Pagelayout in Case object. I am not able to add fields like Record Type, Case Description etc What could be the reason. I dont see 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 ...
0
votes
2answers
52 views

Change the field of another object before insert

I have two Objects : Activities and Services, with each field. I create a Trigger (Before Insert) on the Activity, in the Trigger I would like to modify the fields of a record of the Service object. ...
2
votes
2answers
30 views

How to disable rtf field in visualforce page

I have a requirement where one sf rtf field has to be disabled based on some condition. I am not finding any solution for disabling rtf. Anybody worked on this or any work arounf for this?
2
votes
1answer
168 views

How can I rewrite this code that modifies multiple fields that are named sequentially?

I have multiple fields that are named sequentially, i.e. nv001_c, nv002_c, nv003_c and so on till nv026_c. Is there a way for me to streamline the code below? I know apex is different than VBA and ...
1
vote
1answer
27 views

Combining EmailTemplates - no way to automatically merge fields of templates?

another newbie VS question. This is how far i got (pls cf picture) get a list from available templates from a certain directory add each selected template into editable textarea use the edited ...
1
vote
1answer
52 views

How do I auto-populate some fields on every new lead created

For example, I would like to auto-populate: Decision Timeframe = Immediate Decision Maker = Yes (checkbox) Has Budget = Yes (checkbox) Lead Priority = High Priority Lead Queality = 5 stars. ...
4
votes
1answer
62 views

DescribeSObjectResult contains fields of type reference with an unknown relationship name

I use the SOAP API (WSC, partner wsdl) to describe objects and use the field meta information to dynamically build SOQL queries. Today i observed that DescribeSObjectResult can contain fields of type ...
3
votes
1answer
48 views

Is it possible to “turn off” translation for Apex processes?

It was recently brought to my attention that for our clients, SalesForce translates profile names (such as "System Administrator") which causes errors when the Apex code attempts to check profile ...
2
votes
2answers
46 views

Make 'Asset Name' field unique

We sell assets to clients with support contracts. All these assets need to have unique names which are generated according to a specific format. We imported all our assets in our SalesForce database ...
0
votes
1answer
48 views

Determine if State & Country Picklists are enabled in Apex

Preamble, can skip: I was helping someone make some adjustments to the Inline Account Hierarchy app from Force.com Labs. Since it's an unmanaged package, and the docs are very clear, you can do some ...
3
votes
2answers
30 views

How to typecast values based on fieldtypes?

How to typecast values based on field types? I have a map of field Types and field Values(in Strings)? how to convert each field Values based on the field Types dynamically?
3
votes
1answer
62 views

How do I specify an account in the Related To field in a custom Global Action Predefined Field Value?

I have created a custom Global Action, and am trying to predefine a value for the Related To field. Related To appears in the picklist of available fields for Predefined Values, so it appears this is ...
2
votes
3answers
250 views

How to add picklist (Field dependencies) for custom objects

I want to add picklist for a custom object I have created. When I navigate to Field dependencies for that custom object and click new the Controlling field and dependent field drop down list are ...
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
1answer
35 views

Are required fields added by default to a new page layout?

Are all required fields added by default to a new page layout or does it add only a certain set of fields?
3
votes
2answers
67 views

Is there a way to find required fields on an objects?

Is there an easy way to find the required fields for an objects? Is page layout the only way to see visually what fields are required for an object? I am looking for a GUI tool not code.
6
votes
1answer
498 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?
2
votes
1answer
208 views

how to assign a JavaScript variable to an standard salesforce field to prepopulate it on an Standar Page Layout?

I made a custom button that prepopulates fields to create a new task and works fine. But I want to assing a js variable to an standard field (in this case Name or evt2 field of Task) and it does not ...
3
votes
2answers
46 views

Format of EmailMessage.ccAddress

I'm writing an EmailMessage trigger for inbound emails and can't for the life of me find information about the format of the addresses in ccAddress. I need to parse the cc addresses. Using ...
0
votes
0answers
35 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?
4
votes
1answer
53 views

Fields should be displayed only in detail view not in the edit mode

I'm creating a custom Object which is exact replica of Case Object. I have few fields like Contact Phone and Contact Email which is displayed only in the detail view but not in the Edit mode. Please ...
3
votes
2answers
143 views

Text to Columns Function in Salesforce?

Is there a "Text to Columns" function or app (similar to the Text to Columns Data Tool in Excel) in Salesforce? Some of my data sets are too large for Excel to handle prior to uploading into ...
2
votes
1answer
22 views

Managed App Field Visibility Control

We are working on an app that implements a schedulable batch class to import data for leads. We would like user-level control over who can see the custom fields with the data from the app, so the ...
0
votes
2answers
106 views

formula field help

i have a lookup field that selects a customer name and need to show in the other fields all information about this customer.. How can be the formula in one of this fields? in plsql will be select ...
2
votes
2answers
458 views

Copy custom fields from leads to contacts

I have a large amount of custom fields under leads, and now we want to make some of those people into contacts. Is there a way to copy the custom fields to contacts, so I don't have to recreate them ...
2
votes
1answer
24 views

Need to find when Account field on opportunity enabled for tracking,

In Opportunity field tracking, we have account field tracking enabled. This field was enabled for tracking few days ago. I want an exact date when this field was enabled. how can i find it.. Please ...
2
votes
2answers
205 views

Abbreviating/masking website name (URL) as plain text in URL field

I have this field of type URL on the Accounts page and need to represent the extremely long URL value with common plain text. To illustrate, instead of this: I need to have something like 'BH ...
3
votes
3answers
664 views

Converting Long text area to Rich Text area does not interpret the the HTML tags

I have a field which is currently of type Text Area (long) but has HTML tags in its content. I want to convert it to Rich Text Area but the no formatting is applied after conversion. Is there any work ...
2
votes
0answers
79 views

Custom object not displaying name of included custom object

I have a custom object named Notes (Notes_c) living within Opportunities. Notes lets me put in a bunch of great information about my latest meeting, including a list of attendees. I can include ...
0
votes
1answer
677 views

DescribeSObjectResult.Fields contains fields that do not appear to exist?

I am using the force.com SOAP API (Partner WSDL) to query one of our Salesforce orgs and retrieve a list of all objects and all fields of each object. This seemed pretty simple as I could quite ...
2
votes
1answer
756 views

Dynamically displaying, adding, and deleting attachments from email template before sending email

-> A custom link on the contacts page invokes a VF page -> This VF page simulates the Send an Email page while auto populating a predefined email template: <apex:page standardController="contact" ...
3
votes
1answer
992 views

Months between two dates

In my trigger i would like to calculate the number of months between two date. For Example if the date format is (DAY/MONTH/YEAR): START DATE : 07/10/2013 END DATE: 12/01/2014 Number ...
7
votes
1answer
1k views

How does SalesForce calculate Data Storage usage amount?

My company has recently exceeded our data storage cap (at 102% right now.. :/ ). A large portion of the data that pushed us over our limit was due to an import of records. The weird thing about this ...
2
votes
2answers
488 views

Add field to contact lookup \ create New window

When entering a new case, employees need to search for a contact, simple enough. When they can't find the contact, they add a new one by pressing the New button from the lookup window, still simple. ...
0
votes
1answer
31 views

values returned as unique identifier

I'm using a a HTML table with a component to display values from the Lead object. The custom controller retunr som values as ID unique identifier What can I do if I want to pull the actual value on ...
0
votes
1answer
78 views

How to populate mobile field with values from phone field

Is there a simple way to populate one field on a contact, account or lead with another field? There's a system I'm using that allows me to fire a rule for a record that has a value for the "mobile" ...
3
votes
2answers
79 views

Why (referenceTos[0] != null) check is being performed in following code?

I was going through a salesforce.com developer documentation code // Iterate through the list of describe sObject results for (int i=0;i < describeSObjectResults.length; i++) { ...
3
votes
1answer
194 views

In VF page how to make a selection Readable or Editable based on the picklist value selected

I have created a new VF page. In my VF page having Stage picklist same as Opportunity. If we select "Closed Won" then i need to make one a "Invoice selcetion" to editable, if we choose any other value ...
1
vote
0answers
72 views

How to approach this: change lead source into 2 fields

We currently have around 30 values for the Lead Source field in a lead - that are propogating to the Account same field. Marketing now wants to change that into a major lead source field ( 6 values) ...
1
vote
2answers
113 views

how is the report owner set?

In apex there's a field called ownerId on reports, that in some instances points to the folder that it's located in. How is this field set? Is it always going to be the folder that the report is ...
2
votes
1answer
1k views

How to get Field name

I have a VF page where admin can select fields which need to be displayed. And on an another Vf page i am getting the API name of all the selected fields in 1st Vf page. This much is working fine i ...
0
votes
1answer
209 views

Inserting data to audit field like created date for test class [duplicate]

I am creating a test class and the scenario I am testing requires an older date for the created date. I know CreatedDate is an audit field and I can't write to it. Is there a workaround I could use ...
1
vote
1answer
118 views

Why aren't standard fields visible on page layout?

Some Task fields are not visible for a page layout, e.g. anything related to recurrence, reminder date time and similar. Why? Can they be made visible?
2
votes
1answer
85 views

Can standard field “Name” for sObject be longer than 80 Characters?

Question is the title of this question...or do I have to use a custom field?
9
votes
2answers
505 views

What is the difference between LastModifiedDate and SystemModstamp

This question is fairly straight forward, but I can't it figure out. I am using the schema browser in the IDE to query some records and the SystemModstamp is actually 1 second later than the ...
2
votes
4answers
1k views

Which profile can view encrypted fields by default?

i faced this question in 401 certification exam. Please tell me the correct answer for this? Which profile can view encrypted fields by default ?
5
votes
2answers
474 views

Where is the documentation for the CreatedBy object?

Browsing salesforce topics on message boards I came across this code: CaseComment comment = [SELECT CreatedById, CreatedBy.UserName FROM CaseComment]; It looks like CreatedBy is a field of ...
2
votes
2answers
1k views

How can I get a complete list of fields for a standard object?

I am new to Apex, but it is apparent to me that most (if not all) standard objects probably have an ID field. However, this field does not appear in the reference for the standard objects in the Soap ...