A custom object is an object that is created in an org as opposed to standard objects which are provided by Salesforce. Objects in Salesforce are like tables, so creating a custom object is analogous to creating a table in a relational database.
0
votes
1answer
9 views
Save PDF to Custom Object
I want to create a PDF on a custom object, and have the ability to save it in a related object.
I know I can save it in "Notes & attachment", but I'm wondering if it's possible to create a custom ...
1
vote
1answer
49 views
Add Radio Button to Custom Object
Sorry, I am a newbie in salesforce.
I searched all over the internet, and found only how to create a custom VF page with Radio Buttons, but I cannot figure out how to add it to my custom object. I ...
-3
votes
1answer
109 views
Help with convert lead code for custom controller [closed]
I need to add additional functionality to my custom "convert" controller.
In my controller, I have a custom button named "convert". When I click this button, it will create a new Account, Contact and ...
1
vote
1answer
52 views
Writing trigger test to test if custom object was inserted/updated
I am writing an after insert, after update trigger for a custom object CustomA_c. On changing the status field of this custom object to some value I need to create another custom object CustomB_c and ...
1
vote
2answers
38 views
Reset record after saving form
My visualforce page contains a modal with a new contact form. When saved, the new record is correctly added to the contact list on the page. However, if you reopen the modal, the input fields still ...
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 = ...
0
votes
1answer
15 views
How to create a Lead (other object) that will be hidden from ALL reports by default?
This is a question I raised long time ago on the ideas site.
I need to create an object (can be either a custom object, or a record type - this time I need it for lead).
The main requirement is that ...
0
votes
1answer
47 views
is there a business object layer in apex
We are building a custom force.com site application which uses custom objects with master detailed relationship. An example is a household which would have a collection of individuals and each ...
2
votes
1answer
113 views
Google Maps display in Custom Object - returns blank
Disclaimer: I am very new to VF. Any assistance would be greatly appreciated. (:
I am trying to insert a google map location for the address in my custom object. It returns a blank field when I ...
1
vote
2answers
144 views
Visualforce as a parent for another Visualforce Page
I would like to create a functionality similar to the "Preview PDF" on Quotes, only on custom object (Invoice). I created a visualforce page that generates a PDF (see below), but I want to create a ...
0
votes
1answer
74 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
49 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 ...
3
votes
0answers
50 views
Is it possible to add a controlling field to an existing picklist on a custom object as part of a managed package upgrade?
I have an existing picklist on an existing custom object in a managed package. This package is already deployed and installed by users.
For the next release of my package, I have added a checkbox ...
1
vote
2answers
56 views
Restrict Access to some records from Global Search
I want to be able to restrict access to some of the records from the global search of a custom object.
Any idea / suggestions?
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 ...
1
vote
2answers
153 views
How to display the field history related list for a custom object on a Visualforce page?
I cannot find anything equivalent to:
<apex:relatedList list="ProcessSteps" />
which works for Approvals.
The only solution I can think of is to build a controller/extension that gets the ...
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
votes
1answer
29 views
What's the basic setup for an invoice solution
Say, I have a basic invoice, with the name iv_i where i is the number of the invoice. Each invoice can have n items that should be added via a Visualforce page.
The items later can come from a ...
2
votes
1answer
34 views
Required Picklist from Custom Object view
When you add an new field to an object in Salesforce.com, it is possible to check the "Required" checkbox to make it mandatory for every data insert/update. I know it is possible to make it required ...
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
174 views
Use an intermediary Custom Object in Trigger handler class
I have a rather simple Trigger. When fired it determines its own type and calls an appropriate function in Trigger handler class.
trigger Project_Trigger on Acme_Project__c (before insert, after ...
1
vote
2answers
342 views
Need some help with a custom button or button override
Hopefully I can explain my question clearly here.
I want to change the behavior of this button that appears on our Opportunity page:
The Opportunity object has a custom rollup field that counts the ...
0
votes
1answer
97 views
Truncate (mass-delete) button not showing on all objects
I am getting the truncate button on some custom objects only. Is there any criteria for not having a truncate button on certain custom objects? Like, does having triggers/workflows on a custom object ...
2
votes
2answers
89 views
How to create a one-to-one relation between two objects?
Currently I do the following to create a one-to-one relation between two objects:
Create a lookup field on the child
Create a unique field on the child, and hide this field from all page-layouts
...
0
votes
3answers
64 views
How can I access a custom field in a trigger for a custom object?
I'm building this trigger on a custom object and want to access the fields in that custom object directly. It won't let me and says: "Error: Compile Error: Variable does not exist: ".
trigger ...
5
votes
2answers
85 views
Can I reset my dev Org?
I'm using my dev org for testing proposes and It's taking my many time to delete objects, data, rules and so on.
It is possible to reset this account to original state?
1
vote
3answers
100 views
Portal Users not able to access custom object
Our Sales rep set up High Volume Customer Portal Licenses for us and they work in the sandbox just fine but in production the profiles dont have access to any of the customer objects?
All of the ...
2
votes
1answer
162 views
Salesforce - Mass Update Picklist Values
I would like to mass update picklist values in a custom object from picklist values in a standard object.
In the absence of universal picklists, i am having to manage a few picklists in different ...
0
votes
1answer
98 views
How to grant Custom Object Read Write Permission to Standard User?
I have created a custom object and I need that Standard user profile to use that object. However, I can't see the read write permission on that object.
How can i achieve that functionality?
1
vote
3answers
132 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
1answer
136 views
How to show custom object tabs in Customer Portal?
What are ALL the steps to show custom object tabs in Customer Portal? Some steps which I have tried are:
Checked the Available for Customer Portal checkbox in the Custom Object Definition Detail ...
3
votes
1answer
224 views
How do I insert a custom object?
I am so new to APEX and the salesforce platform, I don't even know what tag(s) to put on this question. So, please be gentle.
I have a custom object called Visitor with two custom fields, Name and ...
0
votes
1answer
234 views
Filtering related list on custom object VF page (with custom controller)
I have a VF page related to a custom object called Equipment__c (named 'obj' in the page) as shown in the snippet below:
<apex:page controller="Reserve_Equipment" tabStyle="Equipment__c" ...
7
votes
5answers
305 views
What is the downside to using a custom object instead of Contact for people-based data?
I am working on coaching application for a client and the coaches (Contacts in the current system) are portal users who need to save information about their customers.
So my plan was to make ...
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 ...
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?
...
3
votes
2answers
180 views
Why Can't I Assign an Approval Step to a Queue for a Custom Object Approval Process?
I know that when running an approval process on Case, you have the option to assign an approval step to a Queue, however, I am now creating an approval process for a custom object, and I don't see the ...
