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
1answer
16 views

How to load default values in skuid model?

Question When I'm creating a new object in the Skuid page is there anyway for the model to pull in the defaults values for the object? For example, if I've set the default value for the field, ...
1
vote
2answers
27 views

Fixing Websites

I made a formula field that takes the website and cuts off the beginning too make it easier to compare websites in reports. The one problem I ran into is if someone puts in a website as example.com ...
2
votes
1answer
22 views

Formula to set value on pick list based on user country

I have a question before using apex to accomplish this. On the Event page layout I'm using a couple of custom fields; Location_Country__c and Location__c. These fields have a field dependency, ...
1
vote
1answer
20 views

Can a “reference” type field reference more than one table?

Using v31.0 of the Salesforce REST API, when querying metadata for an object, if the object is of the type reference, it will have it's referenceTo field populated with the referenced table. { ...
1
vote
1answer
9 views

How to create a a list using a custom object and custom fields

I want to create a list that uses a a custom object called Animal__c and I want the list to consist of only Dogs, i have a field called 'species__c' which is text based, all the animals in Animal__c ...
3
votes
1answer
83 views

Use-Case for Encrypted Custom Fields and why are they rendered as input type=“text” and not as type=“password” on standard UI?

Can't understand why Encrypted Custom Fields are not rendered as type="password" on the standard UI. The first time you input or later if you change the content, it's just plain text. If you come back ...
2
votes
1answer
15 views

Unable to see new field in page

In my custom object I have added a new field that is used as an external ID. I have added the field to my page layout to ensure it is displayed, however I cannot see the field when adding new records. ...
0
votes
1answer
21 views

Display user-specific custom fields

I would like to display a few additional custom fields that are only related to 1 or 2 contacts accessing my portal, only they should be able to see these additional fields. How can I acheive this?
12
votes
2answers
679 views

How do I generate a random string?

How does one generate a random string sequence with Apex? I need to generate a code when a particular object is created in our Salesforce environment. I'd like the code to contain numbers from 0-9 ...
2
votes
1answer
50 views

How Do I populate the Last Login Date from User object into a custom object/field?

Aim – Pull the last login date from the user object into my custom object and populate a particular field Now I am under the impression that LastLoginDate on the user object is not accessible through ...
2
votes
0answers
27 views

Random data in custom field - what might be the cause

Our client's organization is having an issue with a custom comment field. After approving a report, some dodge data might be inserted into that field. The dodge data is tagged code which looks like ...
0
votes
1answer
22 views

Error in formula field when referencing fields of type: Currency - incompatible data type

I Keep getting Error: Formula result is data type (Boolean), incompatible with expected data type (Currency). I'm trying to get my custom field to add three items, not all need be required, to get ...
1
vote
1answer
18 views

Update ONE Custom Field based on Several other custom fields?

I have a custom object that I would like to update based on several other custom object variables. Can someone help me get started on this? I want ONE FIELD (booked_revenue_by_Quarter IE: ...
2
votes
1answer
17 views

Significance of getRelationshipOrder() in Master-Detail DescribeFieldResult?

For Master-Detail relationship fields, the DescribeFieldResult has a method called getRelationshipOrder(), which, according to the docs: Returns 1 if the field is a child, 0 otherwise. At first ...
1
vote
3answers
38 views

Ant - How to deploy a custom field on an “installed app”

We're using Conga Composer. We've added a custom field to the class "APXTConga4__Conga_Template__c" called "Template_Call_Method__c". It's a picklist. When I deploy to a new org I have to be able to ...
1
vote
3answers
37 views

Custom multiline edit for QuoteLineItems and population of description field

I need to edit the multiple page layout of the QuoteLineItem object. I'm able to show a custom field, however I need to populate that field with a value from the pricebook2 associated to the product. ...
0
votes
1answer
44 views

How to copy data from Rich Text area filed to Text Area filed

I want to copy data from RichText Area field to Text Area field,When I copied in Text area field,The data is displaying with HTMl tags. How can I convert this? edited to add code from comment ...
2
votes
0answers
46 views

What is the logic for the automatic creation and update of custom report types?

It seems there is a lot of magic behind custom report types. For example, if I create a new master detail field to the account object for "Custom" a new report type "Accounts w/Custom" is created ...
1
vote
3answers
32 views

Not able to update Rich text field with XML data

I have created a custom field(Rich Text field) with the Case object and am trying to update that fiekd value with XML data while clicking a button. If I hard code the value like ...
1
vote
1answer
19 views

Format custom textarea field for custom object

I have a custom object that has a custom field called Notes. The field has the Text Area datatype but when I use it in an outputText as such: <apex:outputText ...
1
vote
1answer
48 views

How to customize sorting for a column in a standard page?

I need to diplay the null value in last when sorting a column in a standard page. So far I have tries with a formula field using a large value.
2
votes
2answers
49 views

How to access and not hardcode the field ID for a custom object? Using Apex, to construct URLs

Lets say you wanna create a new instance of a custom object, lets call this Custom Object Relationship_Detail__c. You are trying to create a link where it takes you to the proper RecordTypeId and it ...
0
votes
0answers
33 views

Salesforce knowledge article type,How to add a custom field with look up relationship to User

For a knowledge article type, I need to define a custom field with look up relationship to User. The field on the detail page displays only Customer and Partner portal.What am I doing wrong?
7
votes
3answers
57 views

Data Not Available? Can't edit a custom formula field formula

Any ideas why I would get a "Data Not Available" error when editing a custom field? In this specific instance I'm editing a formula field, and I'm able to edit and save changes to the description and ...
1
vote
2answers
48 views

Custom Field not visible, event when added to page layout

Rather new to Salesforce here, trying to set up some automated object and field creation through the SOAP API. Making a new custom object is no problem, making a new custom field is no problem, and ...
2
votes
1answer
37 views

Hidden custom fields after push upgrade

Our customers were using our managed package. Later on, we added few custom fields into the Account object. We then pushed the upgrades to our Client's orgs. But, after the push upgrade, the newly ...
2
votes
1answer
52 views

Why is 'Data Type' not defined on my custom field?

Why is datatype not defined on my custom field (circled below)? And how can I define it?
1
vote
1answer
36 views

Lookup data from a custom object from a formula field

I have a question for you guys. I have a custom Market object that stores the market city and states for Radio campaigns. The problem is when a customer comes on board and purchases air time on the ...
0
votes
1answer
42 views

Custom login on login and logout

I need to create a field in the user object. I would like to populate this field every time the user login. Moreover I want to reset that field when the user logout. Is there a way to insert this ...
4
votes
3answers
196 views

Metadata API Custom Field Permissions

We are using the Metadata API to add Custom Fields to the Account object in Salesforce. We are able to create the custom fields, but then the Salesforce user has to manually login to their account ...
1
vote
1answer
38 views

Is it possible to use SObject Formula fields to get arbitrary values stored in some other SObject?

Let's say I have some SObject (myCode__c) with three string values (e.g. key1__c, key2__c, and code__c). The combination of key1__c and key2__c should be unique. Let's say I have a second SObject ...
0
votes
2answers
63 views

GROUP BY custom field

I'm doing this query: SELECT ID, Name, Email_Domain__c FROM Contact GROUP BY Email_Domain__c And I'm getting this error MALFORMED_QUERY: GROUP BY Email_Domain__c ^ ...
3
votes
1answer
189 views

Set Field Level security for profile using meta-data api

I am using meta-data api to create custom fields in java class. Now I want to set field level security for different profiles. First is it possible to set this with meta-dat api, If yes than how can I ...
3
votes
3answers
143 views

How do I copy (and map?) a custom lookup field from Leads to Opportunity and to Account

I have been asked to add a new picklist field on the leads page which I have done but this also needs to follow thru to the opportunities and accounts page if the lead is qualified. Can someone ...
2
votes
2answers
28 views

Import custom fields from WSDL

Is there a way to bulk create custom objects and fields from a WSDL file so I can match the same fields in a dev account?
1
vote
2answers
111 views

Master-Detail Relationship on Custom Object from Managed Package

Is it possible to add Master-Detail Relationship on Managed Custom Object? currently I am getting below error
0
votes
1answer
30 views

Creating Report using field installed by Application

I'm trying to Report off a field that was installed by a 3rd party application but it doesn't appear in the list of fields in Reports. There are two other custom fields apart from the 3rd party ...
1
vote
1answer
112 views

How can I hide fields in detailpage when saved in a Visualforce page?

When i save the record the % fields also showing in detail page. below is the page <apex:page standardController="opportunity"> <apex:includeScript value="{!$Resource.jquery}"/> ...
1
vote
1answer
178 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
29 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
39 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
17 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
35 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
42 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
34 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
83 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
68 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
66 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
36 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
70 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 ...