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.

learn more… | top users | synonyms

1
vote
2answers
19 views

How to Implement Entity inheritence in SalesForce

I would like to Implement Entity inheritence in SalesForce Let us take the simple example of 3 java classes. Class TwoWheelerVehicle and FourWheelerVehicle are inherited from Vehicle Abstract class. ...
2
votes
3answers
72 views

how to make object read only without using profiles or permissionset?

how to make object read only without using profiles or permissionset?? Is there any setting or configuration in salesforce which makes object access as read only for all users except admin. I have ...
0
votes
0answers
45 views

Change Field Properties of custom field in custom object

What I want to do is I have a custom object and its Page Layout with its fields. At the time of creation of custom field I forget to make it read only. I want to change it read only but while Editing ...
0
votes
1answer
23 views

set custom field value to other field of same object

I am trying to set the value of one object in a custom object to be the same as the value of another object before deleting the first object. When I use the assignment operator, nothing happens ...
1
vote
2answers
21 views

How to insert list records from one object plus form inputtext box data to a different object?

I have a VF page that List account records that meet certain criteria. The user would select which accounts as well as fill out a couple notes fields (that do not exist in the Account object). Once ...
0
votes
1answer
21 views

Field History Tracking via a Customer Object for a Custom Object

Follwoing this post What is the best workaround for the 20 field history tracking cap? I have tried to adapt it for my custom Object MPG__c where I want to track all fields. Tracking via field sets ...
0
votes
1answer
8 views

Retrieve CustomObject Definition without its Declarative information

With the help of Metadata API we can fetch CustomObject definition easily. But somehow we need only CustomObject details not its custom fields, ListView etc. I looked in available metadata type but ...
0
votes
1answer
32 views

Best practices for designing a Custom Object. Experts please adivce

I am trying to design a custom object which i'm wondering if there could be any best practices regarding object design. i.e., Custom object design: Single record with multiple fields or Many ...
0
votes
1answer
20 views

Assign user based on account zip code

I'm looking for a way to do the following. I need to automatically assign users to accounts based on the account's zip code. The idea is that these users will be responsible for a number of accounts ...
-1
votes
0answers
12 views

Update OpportunityLineItems with sum(qty) from Custo Object

I have a custom object called InvoiceItem and I need to update OpportunityLineItem with sum(qty) and sum(amount) from this custom object. This update has to be done during insert InvoiceItem process. ...
1
vote
1answer
59 views

All fields not selectable to history track

I have a custom object Address_vod__c. All the fields of this object are not coming for selection in History Tracking window. Is there any way I can make such a field (formula field) available there ...
0
votes
2answers
36 views

Tab is Default on but still cannot see the tab by default

I have created a custom object Pay and a custom profile Manager. Then created a tab Pay for object. The custom profile Manager has permission on the object Pay and also for tab Pay - default on ...
0
votes
1answer
31 views

How do we auto-populate a field with the value of the previous created record?

We have a Custom Object Meter Reading that has three fields: Old Value New Value Difference (formula field) We are creating records that display the difference between the old and new ...
3
votes
2answers
40 views

Multiple Contact 'types' on a Custom Object: Model with junction object or specific lookup relationships?

Probably a general schema design question: I have a Custom Object that will have several related Contacts. The contacts are grouped into types, for example "Agents", "Applicants", "Referees", etc; ...
2
votes
1answer
24 views

Creating a related list on Opps pulling a custom object in the same format as the Contact Roles

So I'm trying to create a related list on Opportunities that pulls a custom object called Technologies (an Object where we store Competitors info essentially). So I've created a Custom Object that has ...
0
votes
1answer
16 views

Customer Portal User foreign key in Contacts?

When enabling Customer Portal access for a Contact, Salesforce creates a new Portal User for the person. I am creating an apex trigger for when the user creates a record in an object and would like to ...
0
votes
2answers
37 views

How to insert (upsert) an object that has no external id?

According to this documentation, you need to know the external ID field of an object to inset new records. For some of my custom objects, I'm not seeing any fields in the object description that have ...
0
votes
0answers
22 views

Custom object doesn't have a RecordTypeId field, but has available record types

I have a custom object that doesn't have a RecordTypeId field. I expected the object to have a RecordTypeId field, especially since it has an available record type ("Master"). Am I wrong from for ...
0
votes
1answer
36 views

Related list availablity

I have custom object X which is look up with Account and custom object Y which is detail of X(master). Now I have to make Y appear in related list section of only those Accounts, whose reference ...
3
votes
0answers
40 views

Field permissions removed on upgrading to V31

I have upgraded my Force.com IDE to version 31. This added the below permissions to my existing custom objects <enableBulkApi>true</enableBulkApi> ...
1
vote
2answers
41 views

Relate records from the same custom object

I have a custom object called 'Events'. I would like to create a relationship that allows Event records to be related to other Event records. Is this possible using standard customisation?
2
votes
1answer
41 views

Renaming custom object referenced in Apex class

Can somebody please suggest me what is the best way i can rename custom object name when it is referenced in class and triggers.
0
votes
0answers
9 views

Is a Enterprise license needed for Data Import

We are Enterprise level SalesForce. We need data import in custom objects done. Do the people doing the data import need an Enterprise level access? Or, what is the lowest level we would require ...
1
vote
1answer
45 views

Modify custom object page to show all records from parent client

I have a custom object (Service_Orders__c) in my Customer Portal which allows customers to create/view orders they have made. As these users belong to a parent client, is it possible to modify the ...
1
vote
1answer
66 views

Add an already existing record to a related list

Basically, we have records that are Unassigned. We would like to be able to assign them to an Account. These records are displayed in a related list on the Account page. Of course, a new button is ...
2
votes
0answers
17 views

Custom export option for report

We are trying to allow users to narrow down items on a report based on whatever criteria they want(they are looking for specific phone numbers to call for the day). Once they do this we are looking ...
1
vote
1answer
79 views

Choosing Columns to display in <apex:relatedList />

I have a VisualForce page where I'm trying to display a standard related list by using the <apex:relatedList /> tag. It seems like this should be simple, but I can't seem to find any way to ...
0
votes
0answers
13 views

How to filter pricebook dynamically and use related list or second pricebook?

I have a custom Object attached to a pricebook. I need to figure out #1 how to filter the results of my Pricebook based upon a field in my custom object. So let's say I have selected my product. ...
3
votes
1answer
81 views

How to modify custom object security

I setup a custom object (called Sensitive Documents) with a child-master relationship to the Contact object. I was hoping to control the security of my custom object independent of the parent object ...
2
votes
1answer
62 views

Adding additional dropdowns on selection

I have a cascading dropdown (two dropdowns with one dependant on the other) in one of my objects which allows users to select a product, this information is the passed onto another object via flat ...
-1
votes
1answer
22 views

how to show Feedback link in footer. now how to show popup window alert when click on Submit Feedback

how to show Feedback link in footer. now how to show popup window alert when click on Submit Feedback. VF <apex:inputField value="{!WorkFeedback.Feedback}"/> ...
2
votes
1answer
28 views

Create Record (CObject) from OpportunityLineItem when Opportunity is Closed Won

I'm trying to create a record of each item in the Opportunity when an Opportunity is Closed Won. OpportunityItemList: Date (Date) Product2 Lookup(Product) ExpiryDate__c (Date) ...
0
votes
1answer
18 views

How do I create a master detail or lookup relationship to ContentVersion?

I've created my custom object, I want to add a lookup or (ideally) a master detail relationship to ContentVersion. However when I go to create a New Relationship on the custom object, I don't see ...
0
votes
1answer
29 views

Install failed when install my unmanaged packaged

im facing issue on installing my customn unmanaged packaged app in my another dev org. here is the failed message Your requested install failed. Please try this again. None of the data or setup ...
1
vote
2answers
78 views

How to save attachment to a custom object in salesforce using Java or Android

I have scenario in which i have to send multiple file from my local file system of the mobile through phonegap and jquery mobile to android which in turn sends the file to the salesforce server to a ...
2
votes
2answers
58 views

Trigger Error on Custom Object

and thanks in advance for any suggestions, greatly appreciated! we created a trigger that queries the accounts and creates custom invoice records for each stop on our service trucks. each route is ...
1
vote
1answer
27 views

What happens when viewing an object that has a record type you don't have access to

I have a custom object named Assessment that has a RecordType field. What happens in Salesforce if I create an Assessment with a RecordType that others do not have access to (based on their profile). ...
2
votes
1answer
34 views

Cannot search for External ID

I have created a custom object in my Salesforce Org, I have created a new field in this org with 'External ID' selected. I presumed that I am able to search via that field in the global search bar in ...
3
votes
2answers
69 views

Why do some picklists (dropdowns) have an empty --None— value, and others do not?

I'm looking at a form on Salesforce that uses a custom object. The object has picklist (drop down) values that are showing an optional --None-- selection. Most of the drop downs have the --None-- ...
1
vote
1answer
17 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 ...
1
vote
0answers
167 views

Hierarchical tree view in VF with custom object

I have a custom object that shows a relationship between a contact or account with another contact or account. I would like to display these custom objects in a hierarchical tree display. My VF page ...
2
votes
1answer
90 views

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

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
4answers
186 views

Copying attachments from object to object trigger

I have a custom object called Server_Order__c used in my customer portal which is mirrored to the Opportunities object, as well as mirroring the data I would also like to mirror any attachments that ...
2
votes
0answers
52 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 ...
2
votes
1answer
102 views

validation rule to stop delete

I know this sounds a bit strange but I want to stop a deletion call so that I can test an error handler on my visualforce page. How can I go about setting up a validation rule that will stop a delete ...
1
vote
1answer
21 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 ...
2
votes
1answer
87 views

System.DmlException: Insert failed

I am having trouble with one of my test classes (PortalControllerTest) which keeps failing validation. This is the error I receive: System.DmlException: Insert failed. First exception on row 0; ...
2
votes
1answer
57 views

Creating custom related list that displays Contacts from Child

I'm trying to make a new section in Related List under Accounts, like how the default contact section displays in Accounts, except I need it to display Contacts from the branches. We currently have ...
3
votes
1answer
39 views

Apex returning rows but no data

I have created a simple VF page with an Apex controller which fetches records from a custom object. The VF page displays the correct number of rows but no data is returned. I know that it is getting ...
0
votes
0answers
26 views

when not to use the Asset object

I am considering using the Asset object however I am really put off by the fact that it presents as a page within a page which leads to a negative user experience. My business scenario requires that I ...