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

2
votes
1answer
12 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
10 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
16 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
31 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
37 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
25 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
26 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
47 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
11 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
44 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
53 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 ...
-1
votes
4answers
101 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
47 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
41 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
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
49 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
39 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
34 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
16 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 ...
1
vote
2answers
21 views

Allow access to certain sections of Customer Portal without login

Is it possible to give limited access to users in Customer Portal without logging in? (.e.g. access to the homepage and and some visual force pages). When the user tries to access say a Custom Object ...
2
votes
1answer
19 views

Best way to implement images alongside object items on CP

I have created a News (Custom Object) section in my Customer Portal and created a VF and Apex controller which they are accessed via. Right now I have a simple table of rows with text, however I would ...
6
votes
2answers
104 views

How do I create a dynamic list in Visualforce

I want to create a view of certain custom fields and objects, with the data for the view computed in a controller with input from SOQL statements from custom objects. The view would consist of several ...
2
votes
1answer
45 views

URLFOR statement in outputLink to direct to object creation page [duplicate]

So I want to put a button on a visualforce page that when pushed it will redirect the user to a new custom object page. However, this custom object has 4 various Record Types. I can construct the ...
0
votes
1answer
33 views

Using a workflow to update fields also effected by workflows

Afternoon all, I have two custom objects (Child & Parent), The Child is a questionnaire type that can be submitted to a customer (via email, its a visualforce page), they then approve it (when ...
1
vote
1answer
68 views

How to refer one chatter:feed component for two custom objects in a page?

Could you please suggest on this? Requirement is to create a "News Feed" page for records from two custom objects. I am able to use a component to get the feeds for records from one object but ...
2
votes
2answers
82 views

Custom Javascript Button URL Parameters

I am attempting to use a visualforce page instead of a standard new button. I have an object Line__c that has a master detail relationship to another object Line_Type__c. I have a Line__c related ...
2
votes
1answer
184 views

SObject row was retrieved via SOQL without querying the requested field?

I recieve the following error: SObject row was retrieved via SOQL without querying the requested field: Installation__c.Name Controller extension on custom object: public class ...
2
votes
1answer
14 views

How to view inbound relationships

Working with a very large and complex salesforce setup, we have a custom object with several lookup fields to external objects. These are easy to check. I was hoping there would be an easy way to ...
1
vote
0answers
56 views

How to increase email subject line character limit from 100 character

I have read that Salesforce has increased character limit of subject line from 80 to 255. One can check here. I am having a custom object and from there I am trying to send a mail. This mail has a ...
1
vote
0answers
96 views

Custom object string field bind to date type

I have a custom object, that has a picklist (populated from accounts SObject) and a text field (call it 'Value') that is dynamic in nature. Now if the user selects name from => Value field would be a ...
1
vote
2answers
50 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 ...
1
vote
2answers
27 views

Report on contacts filtered by Account custom object

I have three objects: Account, Contact, and a custom object called Order that belongs to Accounts (via a lookup). I want to create a report that allows me to show all Contacts that belong to an ...
1
vote
1answer
50 views

Custom list view in Custom Object page

I have created a News custom object in my sandbox which appears in my Customer Portal via a tab. This object contains two custom fields Title and Content. Now what I would like is to display a list ...
0
votes
1answer
30 views

Retrieve data from a custom object via lookup formula

I'm trying to populate a field on the leads object with data from a custom object via a formula field. I'm pretty close to getting the right stuff there, but I am getting a little hung up and ...
1
vote
1answer
38 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 ...
2
votes
1answer
60 views

Update fields in Custom Object (Sales Order) when related Custom Object (Sales Invoice) is created

This is only the 2nd trigger I've attempted to write, and it's making me nuts. I have two custom objects: Sales Order Lines (child of Sales Order) and Sales Invoice Lines (child of Sales Invoice). ...
0
votes
0answers
44 views

Insufficient Privileges error while installing beta package

I recently had the following error while trying to install a beta managed package in a Developer Organization: Insufficient Privileges You do not have the level of access necessary to perform ...
1
vote
1answer
111 views

Redirect after a new record is save from Trigger

I want to redirect the user to a new page after a new record of a custom object CIP System is created from a Trigger. Is this possible? Here is the code I was using: trigger SaveRedirect on ...
5
votes
3answers
140 views

How to set default value for NAME field (without using auto-number)?

I have created a new custom object for which I have no use for a record name. Is there any way which I am able to remove name from the list of standard fields? If I am required to name the object, I ...
1
vote
0answers
145 views

Need to create a new custom object record (new order) based on the current page record (current order) using custom VF

I have an Order custom object which consists of order items. Once this order is delivered to a a store for a customer, I want to add a button (on the order) that allows the employee to reorder any ...
1
vote
1answer
39 views

How to insert values into Custom Object between Two Times

I have Custom Object Scheduler__c which contains fields StartTime,EndTime,T9,T930,T10,T1030,T11,T1130,T12,T1230..........T17(5PM).T9 to T17 are time slots for 30 minutes and these are Number DataType ...
2
votes
2answers
29 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?
0
votes
1answer
27 views

Custom object tab list fields do not link to object detail

Hey guys, I hope I'm not asking this question twice - I though I asked earlier, but now that I look at my profile, I don't see it. Anyhow, I created a custom object. On the custom tab, when I ...
1
vote
1answer
163 views

Update LastModifiedDate field of custom object

I'm uploading attachments to a custom object using the following JS. I want to update the LastModifiedDate field of the custom object each time I do this. Would anyone have any suggestions as to how I ...
2
votes
1answer
37 views

Have custom object which I can see in workbench, but not in the Salesforce UI

Have custom object which I can see in workbench, but not in the Salesforce UI - anyone seen this one?
3
votes
1answer
188 views

Standard object page “not supported on mobile device” in Salesforce1

In a bit of a bind here. I have just created a new, totally standard custom object in my Spring'14 DE, and added three fields to it with no problem (lookup to contact, number, text). I assigned it a ...
0
votes
1answer
38 views

Best practice - should Expenses be tracked in Opportunity Object?

should we use opportunity to track expense related to an account, or create a custom object for tracking expense. I want to know logically which is more appropriate.
3
votes
1answer
76 views

How to remove attributes before JSON is sent from Custom REST Apex?

I get back JSON like the following: { Id = a0Ef0000002TPKVEA4; Name = a0Ef0000002TPKV; attributes = { type = "Market__c"; url = ...
0
votes
0answers
162 views

org.apache.axis2.AxisFault: Transport error: 411 Error: Length Required (CloudConnect Salesforce sample ETL SOQL validation error)

SOQLvalidation threw validation error in CloudConnect (Clover ETL) Salesforce sample ETL. org.apache.axis2.AxisFault: Transport error: 411 Error: Length Required Data retrieve target Salesforce ...
9
votes
1answer
397 views

Spontaneous Internal Salesforce.com Error - What do I do?

I have a piece of code that has been working for the past few months without problem until recently. I cannot say to the exact day this started happening as this is still in a testing phase and this ...