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 ...
1
vote
1answer
20 views
Open network drive from Salesforce field or a custom link
I tried creating a custom field and a custom link on standard object with the link:
file:///Users/sk/downloads/index.html
It doesn't open a new page at all. Even if I try open as a new tab/new window, ...
2
votes
2answers
50 views
Is there a way to make a checkbox read only but enable it if the probability of an opportunity is 95 or more?
Is there a way to make a checkbox read only but enable it if the probability of an opportunity is 95 or more?
Any help is greatly appreciated!
Cheers!
Rommel
-1
votes
2answers
26 views
insertions of record automatically while installing
I have created a product which contain a custom setting. In the custom setting it contain a record. I have the product as package and installed it into an new env but after installation
the user need ...
3
votes
2answers
40 views
Editing a custom field of a Managed package object
I am using an app deployed using a managed package.
I've added a custom field to one of the package's custom objects.
When I'm trying to edit this new field I see it does not appear on the detail page ...
0
votes
3answers
40 views
How to create a custom field in test class
I have a custom setting which holds all the fields of an object. If i created a new custom field on the object it is need to get inserted into custom setting and for this i have written code which is ...
6
votes
2answers
69 views
Finding if a custom field is editable using Apex code
I am reading the custom fields of a custom object Custom__c and then for each field I am inserting a new value:
Public Custom__c custom1 {get;set;}
Map<String, Schema.SObjectField> map = ...
2
votes
2answers
78 views
Increment number field by 1 on a daily basis
We're looking to auto increment a number value field on Cases by 1 for every day the case has been open (i.e. auto-increment as long as the case is not closed).
What would be the best way to go about ...
0
votes
1answer
72 views
Custom New Button that creates record of specific type and parent record in Visualforce Controller (No URLFOR!)
Sorry for the lengthy title. But I want to make sure that I was not able to solve my problem with the standard answers to questions like this.
I have a CustomObject_c that has many record types and a ...
2
votes
2answers
48 views
Custom field showing a field from the first of multiple custom object entries
I have a custom object that we use for test scores for our students(contacts). A student can take the same test multiple times. My goal is to create a custom field in the contacts object that shows ...
2
votes
1answer
71 views
How can I expose the content of a Product custom field (txt) to quote line item field (txt)
I have a custom field (Text) on each Product called Production Code. I need for that field's data to be entered and editable in a custom field (txt) on Quote Line Item. The Production Code copied ...
1
vote
1answer
63 views
High Volume Portal User Custom Field on Formula Field
I have created a custom field on the User Object - Canvas_Id__c ... This value is only populated when the user is a high volume portal seat user.
I have a custom object Student Task where I want to ...
0
votes
1answer
27 views
Creating a custom “Developer API Name” field on a custom object
I need to have a field that takes the text value of another field, and creates a developer API name out of it.
Ie.
Object__c.Name = 'FAQ: How to use salesforce?' gives Object__c.APIName__c = ...
1
vote
3answers
95 views
Markup in Richtext field seems to be trimmed/modified on save.
It seems to me that the markup inside of Salesforce richtext fields is somewhat stripped/trimmed when saving?
My code relies on the fact that an image has an multiline alt attribute (which is valid ...
0
votes
1answer
27 views
Can I reference a custom object from a standard object
Say I have a custom object, Division, that has two fields: name and address.
Say I want to make 2 custom fields in User (standard object):
field 1 is the User's Division: a picklist, populated by ...
0
votes
1answer
42 views
How do I associate an email address with an account?
I have emails associated only with accounts that I would like to import to salesforce. How does one add custom field to an account, and does this then appear in the import wizard?
2
votes
1answer
37 views
How to link account to pricebook
I'm working on an application in which it should be possible to link an account to a pricebook. Because for different accounts, different prices may be appropriate. Is there a way to directly link an ...
1
vote
1answer
54 views
Schema builder not deleting fields as billed
I have tried to delete fields on objects such as Opportunities, as Salesforce has supposedly made it possible to do so in Schema Builder, but when I right click on the field and select 'delete' it ...
1
vote
3answers
130 views
Tracking Custom Field History
What is the best practice to track Custom Fields' history on Custom Objects?
Edit: Also, is there any way to include Field History in Reports?
2
votes
3answers
443 views
Custom field is not visible/editable after creation (Professional Edition)
I am able to create a Custom Field on standard object (like Account or Contact) via API. I see this field was created in Salesforce UI as a custom field.
But, whenever I describe sobject via API - I ...
2
votes
1answer
113 views
How do I run an integer validation rule against a Number(x, 0) field?
I see in the Number documentation that Salesforce does some rounding, but I'm observing truncation. In the Number Validation Rules from Salesforce there is a Number Must Be an Integer validation rule ...
3
votes
4answers
177 views
How do I get a custom object to display a relative URL?
I created a Custom Object with a Rich Text Field. The custom object is accessible internally to Salesforce as well as externally in our Customer Portal via a VisualForce page.
In the text field for ...
5
votes
2answers
116 views
How to prevent duplicates when using date field?
I have a very simple custom object with just two custom fields, a dropdown yes/no and a date. This custom object serves as a related list for account and should get multiple entries with the ...
3
votes
1answer
367 views
How to update Account object when related AccountPartner is updated/inserted/deleted/undeleted?
I am working on an org with Person Accounts enabled, but I think that my problem applies to regular non-person Accounts as well.
I am tasked with writing a trigger to cross-populate spouse ...
2
votes
2answers
123 views
Field History Not Updating
I am tracking a custom Date field on the Account object because some of my records have mysteriously been updating. I've noticed that the field history takes note of my deleting of the value, but ...
5
votes
1answer
88 views
Can I create a polymorphic key from a custom object?
I'm creating a custom object that needs to be related to multiple other objects (but only one per record). I.e. via a ParentId field it could be related to a Opportunity, a Contact, an Account, or ...
1
vote
1answer
153 views
Controlling the data type of a custom field
Can I control the data type of a custom field?
I'd like to add a long or integer custom field to an object.
On the edit custom field screen I select Number as the Data Type as it seems like the ...
2
votes
1answer
34 views
How can I see a view of all unique fields for an Object?
I can see all of the fields listed on the Object page, but there is no column that indicates which fields have been checked as unique.
How can I see what all of the unique fields are for an Object?
...
0
votes
1answer
190 views
Multiselect page from a lookup
Is it possible to relate multiple records to a single lookup field (or) Is there a way to create a multiselect picklist/longtext field and dynamically fill in a related object info in the picklist, ...
0
votes
3answers
66 views
Lookup to User with all the users who are managers of other user
I want to create a lookup field to User in the Custom object. This lookup should display the list of users who are Managers of other users.
How this can be achieved.
Thanks in advance.
1
vote
3answers
354 views
Greyed out fields on object settings in permission sets
I am trying to give edit permissions for my partners on a custom object, but on the same time, I need them to have READ only on some of the fields that they see.
The custom object includes a text ...
2
votes
2answers
84 views
Can I create a static (but update-able) field that I can update in one place and have reflected on all records?
In this situation I would like to have a field for 'LIBOR.' I would like to be able to update this field once/wk, but ideally, I would like to be able to update it once, in one location, instead of ...
1
vote
1answer
147 views
How can I show (on a dashboard) what % one column total on the report is of another column total on the report?
In this situation, I am showing a report of outstanding loans. Each loan has an 'Amount Outstanding' and a 'Total Credit Line' field. Each loan also has a 'Amount Outstanding as a % of Total Credit ...
1
vote
2answers
393 views
Can I add a field to the Attachment object (specifically a picklist to track the 'type' of attachment)?
The title says it all. I would like to add a field to the attachment object to be able to sort/filter based on the attachment's type (eg, 'Will', 'Account Opening Document', 'Correspondence', etc.).
...
3
votes
1answer
62 views
Reusing Lookup Fields in Different Contexts
I'm trying to decide how to build my data model and I'm running into a typical situation involving lookup relationships. I'd love some thoughts on implications and best practices:
I have several ...
3
votes
2answers
117 views
How do I set the startpoint for an autonumber after field creation?
Just as the title asks, how do I set the startpoint for an autonumber after field creation? The field is an external Id and to avoid conflict with the external system, I need to move the id up a few ...
2
votes
1answer
180 views
Error When Creating Formula Field - No Syntax Errors and < 5,000 Characters
Getting this error:
Error: Invalid Data.
Review all error messages below to correct your data.
Formula(s) that reference this field are no longer valid: Syntax error. Found 'end of formula'
Saw ...
1
vote
3answers
320 views
How can I relate Activity to a second object?
Activity has a 'related to' field that links it to an object of various types. I need to link each activity to a Campaign, but also to an Opportunity. However Activity custom fields don't let me add a ...


