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
0answers
13 views

Guidelines for Salesforce Database (Objects) design

What are the best practices for Salesforce Database structure (Object structures)? . It is very difficult to query data from a highly normalized structure. As in we cannot follow the RDBMS (Oralce Db, ...
2
votes
1answer
26 views

Return a list of attachments for a custom object

I'm looking at the following example to upload some attachments to a custom object, http://blog.jeffdouglas.com/2010/04/28/uploading-an-attachment-using-visualforce-and-a-custom-controller/ It works ...
0
votes
0answers
16 views

Default certain picklist value on Visual Flow depending on value selected from parent record

I have a Visual Flow that allows a user to create a case. The Flow is linked to a Custom object called 'Card'.The Flow is run from the Card record using a Custom button and a Case is then created and ...
1
vote
2answers
21 views

Get ID with upsert

I'm trying to insert/update a custom object in database with upsert but after the upsert I need to get the database ID. Is there a way to get the new/updated ID on database without querying the ...
1
vote
0answers
34 views

How to insert new record into custom object

I created a Order Form(VF) and Controller for a custom object Order.In this form i have some picklist values for Patients and Physicians. Here is my VF page <apex:page ...
3
votes
2answers
48 views

Cannot access owner fields in new instance of child object even though OwnerId is populated

I have CustomObject__c that has the standard Owner field (which is a lookup field to a User). My code is the following: User myUser; //assume I've populated myUser as a result of a SOQL query or ...
2
votes
1answer
26 views

Pop up message from custom setting

I have created a custom object and on the object i have created a custom button. when click on the button it send an email. And a pop up comes with a message "you have send an email". Now i have ...
2
votes
1answer
15 views

Limit for Related Look-up Lists

Suppose let's say I have 100 custom objects, and they all have a look up relation with Contacts. Are so many related lists supported? If so, can anyone give the max number of look-up lists supported ...
3
votes
1answer
48 views

Uncaught ReferenceError: initViewstateTab is not defined. Debugging Visualforce Page/Controller

I'm attempting to build a visualforce page with the following functionality: Dynamically generate 3 picklists, based on children of a given object's values. Based on the values of the picklist, pull ...
3
votes
1answer
38 views

Managing SObject uniqueness

I have Custom Field in Standard Object called Accounts Then i create custom Field called Priority (API Key_Priority__c) which is a PickList(1,2,3,4,5) Then I created Custom Object Customer (Structure ...
4
votes
1answer
80 views

How to save a universal value in a Salesforce Instance

I need to save a value in a Salesforce Instance which should be universally accessible (In VisualForce Pages, Apex Classes). An example would be to save the account ID to link all contacts (from the ...
2
votes
1answer
35 views

Convert Custom Object records

I'm trying to use/modify the code in this free app to be able to convert/move a Custom Object associated with a Lead to the converted Account & Contact. ...
0
votes
0answers
19 views

Help creating a bulletin or notice type object

So I have a conundrum that I can't figure out. I need to mass email a list of contacts based upon their account. The only way I can get the Account is by searching OpportunityLineItems by Product and ...
12
votes
1answer
77 views

Salesforce Object with _hd suffix?

I am coming across an underscore hd ( _hd ) object in my instance, Ive not noticed this before? I have a custom object called Membershi__c I also see the following to additional objects ...
0
votes
1answer
16 views

How to manage customer calls?

We have a requirement to provide functionality for user to manage customer calls. Does Salesforce provide an OOB feature for this? Thanks for your help on this.
4
votes
2answers
194 views

List has no rows for assignment to SObject

I have a controller that parses values from a record and attaches them as an XFDF file to the SF record. It works perfectly fine on a standard record (Contact, Opportunity, etc.) However, when I try ...
0
votes
0answers
29 views

Filter report using current ID

I have a report. The idea is, in a standard layout, when i embed the report, to filter it by the current if of the record that is being viewed Example: xxx.salesforce.com/b0UI000000CuzXXXXX Is it ...
1
vote
3answers
122 views

Confused with this Salesforce recruiting app question

I don't want the answer to this question but I just want someone to guide me the right way. Following is the question... My question is.. Where is the clue in the question for me to understand ...
0
votes
1answer
20 views

How to access and display the field in VF email Templates from the junction objects

I need to display a field in an Visualforce email template.The Field is from a junction object1. Case has a junction object (junction1) which is related to another Junction object(Junction2) thereby ...
2
votes
2answers
42 views

Don't want the code but confirm if I can do an update based on a multi-column SELECT

I know SQL very well, SOQL very little so bear with me while I ask a question above my current skillset. I built a simple working model with several custom objects (standard objects didn't fit my ...
0
votes
0answers
27 views

Add custom field in Activity Section

I am integrating salesforce in my application and got struck at one point how can we create a custom field in Activity (Calendar event) using C#. Currently I am able to create the custom field in ...
1
vote
1answer
22 views

Changing org-wide sharing settings from Apex

We have an object whose Org-Wide default sharing setting is set to Private. When an Admin changes a Picklist to Full Access, we have to insert CustomObject__Share records for all users, and ...
0
votes
1answer
20 views

Data Import Wizard for Custom Object (Mapping Date Created / Last Modified Fields)

If I am importing a custom object using the CSV data import wizard, how do I create a "Date Created" field and also change the "Last Modified" field on the object. It doesn't seem like such fields ...
3
votes
1answer
55 views

Generic SObject Getters Return Null for Boolean fields?

Question Am I taking crazy pills are is it unexpected behavior for the generic sObject getters to return null for boolean fields? Background Was troubleshooting a null pointer error and noticed ...
1
vote
0answers
46 views

How to send a email to related list of an case object?

We have two objects Case and PO. A Button has been created in the case object,we are having lookup relationship between case and PO object in which the Case is the master and with the PO as child. On ...
2
votes
2answers
38 views

Redirecting is partially deleting prefix from URL

Just like the title says, whenever I click my 'Del' link, the delete works fine but the redirect is cutting off part of the package prefix. Example: Working: ...
2
votes
1answer
95 views

Enhanced Lookups (All Fields)

Are custom lookup fields searchable with the (All Fields) Search Enhanced Lookup on a Custom Object? In this example: I have a "Well" (Custom Object) record that has a look up relationship to a "Rig" ...
1
vote
1answer
32 views

Reporting on multiple lookup fields in a custom object

Sales personnel take a physician (contact) around to community practices (accounts) in order to assist them in getting referrals. My task is to help them enter this information efficiently and then be ...
2
votes
2answers
33 views

Test for presence of specific object or managed package?

I am writing a test class that needs to be instance-agnostic. On some of our instances we have a managed package that affects the outcome of the test, so I need to insert some test data that will be ...
0
votes
0answers
116 views

Error while using the Data Import Wizard

I'm getting the following error while trying to import a UTF-8 csv file. I'm trying to import data into a custom table. Does anyone know what could be going wrong? Error while running ...
5
votes
2answers
298 views

When instantiating an custom object, does it get an ID?

I'm having problems with my apex code. I don't know if it's just me, but I can get an ID out of a custom object. So for example if my production org has a Purchase_Quote__c object and in my apex ...
5
votes
1answer
252 views

Salesforce1 Submit for approval

Does the submit for approval process works in Salesforce1? Is there currently a way to submit custom objects for approval in the Salesforce1 mobile app? Yes, thanks! I also wrote a trigger to ...
0
votes
1answer
53 views

Alert owner of account of sudden drop in numbers

My setup: Every month I have a .NET app that uploads data into a custom object (ChurchHist__c) that keeps track of each church's contributions for that month. There are little over 2,200 records ...
1
vote
0answers
37 views

Picklist Dependencies lost when Managed Package Upgrade Installed

Whenever we install a new version of our managed package in a client's org, we are losing the field dependencies that the client specifies locally for a managed package object. Is this expected ...
1
vote
1answer
87 views

When Merging Accounts, how may I distinguish child records of the “losing account”?

When merging accounts, I want to be able to update the owner of the re-parented opportunities, and custom objects under account to the owner of the "winning" account. My current trigger runs "after ...
2
votes
2answers
83 views

Passing a variable through VF

I have a visualforce page in which, on the page i have a button which redirects me to my Address Object Page generated by salesforce. The addresses have a bridge table in which i store the companies ...
0
votes
2answers
105 views

Create a button in a custom object home

The custom object home is there anyway to put a new button in that page layout. Or modify that page layout. Or use VF and emulate that page layout exactly, because i am trying to create a custom ...
5
votes
4answers
590 views

Is there a way to set-up red green yellow lights that show up depending on what status the record is in?

I've seen apps with this functionality but not quite sure how to implement it
1
vote
1answer
65 views

Formula field based on Master-Detail relationship

I have a custom object called Sports, where I have a master-detail relationship with Contacts. I would like to build a formula field on Sports that references a field on the contact (specifically, ...
2
votes
1answer
341 views

Mouseover popup (Mini page layout) on related list

The mini page layout is a nice feature, but it is not consistent. Example: it seems to work for lookup fields on custom objects and when hovering over custom object records in the Recent Items (left ...
2
votes
3answers
250 views

How to add picklist (Field dependencies) for custom objects

I want to add picklist for a custom object I have created. When I navigate to Field dependencies for that custom object and click new the Controlling field and dependent field drop down list are ...
5
votes
1answer
51 views

Looking for declarative approach to updating a field on a child record basd on a value from the parent record

I am racking my brain on the best way to solve for this seemingly easy issue. First let me set the stage a bit: I have custom objects called 'Demand' and 'Release'. Each demand is associated to a ...
1
vote
0answers
45 views

Is it possible to retrieve list of hidden fields of custom object?

Background. My manager asked me to retrieve all currency fields for many custom objects. Amongst them there was at least one object with many fields which have field access Hidden. Let's call that ...
1
vote
2answers
65 views

added a picklist on standard account object, now can I bind it to custome object

I have added a picklist, Members, on standard account object, I have created a custom member object now can I bind records of this object to above pick list?
2
votes
2answers
121 views

Render Opportunity name from LookUp Relationship

I have a Custom Object that has a reference to Opportunities, I originally had it set up with a Master-Detail relationship but then after reading this and noting that parent objects can't be ...
1
vote
1answer
272 views

How do I get the list of fields of sObject

My code is myOutput = SELECT location__c, level__c, group__c, count__c from resource__c public sobject[] data = Database.query(myOutput); myOutput is an user input value, based on this query I ...
0
votes
1answer
25 views

How to get a report of orphaned objects?

I have a custom object, that one of it's fields is Account as a lookup field. And once the Account is deleted, the custom object is set to stay alive Now I need to report on all these custom ...
3
votes
3answers
94 views

Upsert INVALID_FIELD

I have a custom object which is a child object of Account. Account has an external ID field called Customer_ID__c. I have the following C# code which worked fine as a regular "create" when I was ...
3
votes
1answer
93 views

Using custom objects with accounts

This is my first time working with salesforce and I'm having a hard time finding information on what I can and can't do. I have professional edition. Here's what I'm trying to do: I have a group of ...
3
votes
2answers
298 views

Junction object fields

I have created a many to many relationship between two objects, A and B, using a junction object. That works fine, and the related lists show up on A and B with standard layout pages. Is it possible ...