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
24 views

Creating custom object for class roster that would pull a list from contacts

I am helping a local non-profit organization that does leadership training. They need to create a roster that will pull a list of contacts for the roster, and also store few topics that they worked ...
3
votes
2answers
20 views

Can I create a Web-to-Lead field for Custom Objects?

I've created a Custom field on my lead called 'Campus' with datatype Lookup(Campus). Where Campus is a custom object. I would like to have a Web-to-lead form create a new lead and set the correct ...
0
votes
1answer
11 views

Filtering System for Call List using Visualforce, possible? [on hold]

Is it possible to create a custom object and build a filter list system where I can filter standard and custom objects, then the records inside? of course, the filter gets more advanced. ex. I want ...
0
votes
0answers
20 views

Insert and update a set of records to a custom object [on hold]

I am selecting set of records using checkbox and save the set of records to custom object(object3).The custom object contains master detail relationship of two object(object1 & object2).I am ...
1
vote
1answer
11 views

Limit custom object to user territory

I have a custom object and custom tab for it. It has Lookup relationship to Account. Currently user can view all custom object records. But I want to limit access to custom object using user's ...
0
votes
0answers
8 views

Create Multiple large attachment records for a custom object

I have a piece of code where I need to implement multiple large attachment records upload capability for a custom object(Call2_vod__c) record as it's parentid. Can someone help me here please? Page: ...
0
votes
1answer
15 views

Custom Object Multiple Page Layout

I have a Custom Object called "Property". As new records are built, I would like my sales people to go stages when they change the Status pick list of the property. Is it possible for the user to ...
0
votes
0answers
19 views

Unable to add VF page to Custom Object Layout on Production

I have a VF page with that uses a custom controller that i'm trying to add to a custom object layout. in my sandbox, i can see the VF page in the VF pages options for the edit layout page. On ...
0
votes
2answers
22 views

My custom object for logging scheduled batch jobs isn't working

I recently created a custom object for logging certain scheduled Apex batch runs, but the code I added to the batchable class doesn't seem to be creating records in the custom object as intended. The ...
1
vote
2answers
17 views

Post HTML form to Custom Object

I would like to post an HTML form, hosted outside of Salesforce, to a custom object. I figure it would be similar to a Web to Case, where you post to a certain URL with some specific hidden fields, ...
0
votes
0answers
7 views

How to create community groupings for reporting

so I'm trying to create a custom object (if that is even the direction to go) to reflect a "Community" concept we have. This is for internal sales and reporting use right now. Basically, a ...
0
votes
0answers
11 views

salesforce report on single row

I have a custom object in salesforce named "CompanyStats" which has few numeric fields. It has only one row. Because fields are like "Facebook Likes" "Twitter Follows" In my dashboard i want to create ...
0
votes
1answer
28 views

Need help to make trigger and VP

1.- Create an object called A, with a date field called DateA - Create an object called B, with a lookup field to A and a date field called DateB 2.- Create a trigger that will set the DateA field as ...
1
vote
1answer
30 views

How to create a Custom Split Activity

I would like to know where I can find any documentation about how to configure the "config.json" file in order to create a Custom Split Activity as shown here. I have also found information saying ...
0
votes
2answers
27 views

Auto populating the "Name: Field before record creation

I created a custom object and I have a field that is required called "Name". I am trying to fill in the record with anything (TBD) is fine however I cant get workflow to populate the field before ...
0
votes
0answers
5 views

Is it possible to get information about all bookmarks added on Feed on Custom Objects

We are trying to migrate feed data on a custom objects. Some of FeedItems are bookmarked by few users. Is it possible to get all bookmarks created on custom object feed ?
2
votes
1answer
22 views

Feed migration for one custom object to other custom object

I need to migrate Feed data posted on records of custom object. I am able to migrate FeedItem, FeedLikes and FeedComments but not able to find how to migrate FeedLikes on comments postes on FeedItem ...
2
votes
3answers
72 views

Expiration to delete a record of a Custom Object, Workflow Rule or Trigger?

Is it possible to have a Workflow Rule or Trigger delete a record of a custom object upon a certain date?
1
vote
0answers
23 views

Custom Label as Master Lable

I'm trying to find a way to make a button label dynamic and I couldn't find any other way than Custom Label. The only issue is I don't know how to make the MasterLabel to pick my custom label. I've ...
0
votes
3answers
33 views

VLookup Type of Trigger help

I have a trigger on Leads that is supposed to work like this: When there is a new and or updated value in the PostalCode field. It is supposed to lookup to a custom object called DMA_Value__c to see ...
1
vote
2answers
33 views

Unable to redirect a page from Visualforce

I'm currently making a custom editor in Visualforce that adds things to a related list. Things from this list are selected and then when the "add packages" button is click it should make the records, ...
0
votes
1answer
18 views

Add Custom Lookup Fields on Activities

Is there a way how to relate custom object with activity? I can't use RelateTo field because event could (and probably will) be related to Account or Opportunity. I heard that Salesforce will enable ...
0
votes
1answer
24 views

Use of Custom Object to authenticate Users

We have public website built with Salesforce. Public(guest) users can view the images and short description of products. To view price, they need to register and login to website. So, for this if we ...
1
vote
1answer
45 views

How to return to the previous page from a Visualforce page?

I have a page that shows records for an object and I need to be able to select some, and then once the "Add Packages" button is clicked I need the page to return to the previous page after completing ...
0
votes
2answers
27 views

Getting “System.NullPointerException: Attempt to de-reference a null object” when attempting to call the cancel function in Apex

I'm making a system for our custom packages. When attempting to assign the packages from a visualforce page to the Opportunity I end up getting this the error. This error only happens when clicking ...
1
vote
1answer
15 views

'<<<' characters are lost in a field after saving to the database?

I have a field on a custom object before saving to the database as below: <span>>>> just some text <a class="Link" href="/55555555555AAA" >John Travolta</a> ...
0
votes
1answer
43 views

Getting an Opportunity Id into a Visualforce page when clicking a list button on a related list?

I'm currently trying to make a system for selecting multiple objects and connecting them to a related list within Opportunities. The last piece of the puzzle for me is getting the ID of the ...
0
votes
1answer
20 views

How to add style sheet to the the detail page of a custom object?

How do i add style sheet for standard detail layout of a custom object. I have a custom object list view displayed and when user clicks on any particular record it displayed the detail page for that ...
0
votes
1answer
29 views

Using checkboxes to select objects

I am making a visualforce page for my custom object Opportunity Package to add multiple to a related list all at once. In order to accomplish this I will need to know which ones are being selected. ...
1
vote
2answers
31 views

Updating the owner of records connected via lookup relationship

I was given a task to write a trigger to update the owner of records connected via lookup relationship. Consider i've a custom object which is having a lookup relationship to another custom object. ...
1
vote
1answer
37 views

Why am I getting “Error: Unknown property 'Opportunity_Package__cStandardController.Opp_Package_Rel__c' ” from this Visualforce page?

I am currently in the process of making a system for easily adding packages from a list into our Opportunities. This visualforce page needs to be accessible to use as a list button, but ever since ...
0
votes
1answer
29 views

Why can I not have a custom list button link to this Visualforce page?

I'm currently trying to recreate the the functionality of the "Add Product" list button for Opportunity Products. I understand Visualforce pages need to have their controller set to the object they ...
1
vote
1answer
50 views

Visualforce Error: “Return type of an Apex action method must be a PageReference. Found: core.apexpages.el.adapters.ApexMapELAdapter”

This is a follow-up question to: When attempting to use a Map I get "System.NullPointerException: Attempt to de-reference a null object" I am now receiving "Return type of an Apex action ...
2
votes
2answers
65 views

When attempting to use a Map I get “System.NullPointerException: Attempt to de-reference a null object”

I am attempting to get a map of a custom object so I can display every record of that object on a visualforce page. APEX Code: Map<Integer, Package__c> packageMap { get; set; } public ...
1
vote
2answers
49 views

delete multiple objects which are inside array in Apex

Very new to Apex and never touched java, basically what I am trying to do is delete all records then insert records inside multiple custom objects. Bellow is my code for just the deleting part but I ...
0
votes
2answers
35 views

Update a field when receiving a 2nd line item

I have a custom object. When receiving a second line item on that custom object I want a check box field to be updated to true. I have tried using workflow rule but I couldn't find any relation for ...
2
votes
1answer
34 views

How to mimic the functionality of the “Add Product” button in within the Product Related list in Opportunity?

I need to mimic the functionality of the "Add Product" button that is shown on the Product Related List within Opportunity. And I need to add it to a related list for my Custom Packages Object I ...
0
votes
1answer
21 views

Problem setting WhatId with a custom object ID

I have the following error : Insert failed. First exception on row 0; first error: FIELD_INTEGRITY_EXCEPTION ... [WhatID] When I'm trying to create an Event setting the WhatId field with a ...
2
votes
1answer
68 views

Create VisualForce input that uses Lookup popup

I have a custom object, Foobar__c, and I would like to create a VisualForce page containing a form in which the user has to select a Foobar__c via the standard Lookup popup for Foobar__c. I would ...
1
vote
2answers
39 views

Where is the Custom Object Field History object?

I'm looking for the object that holds field history changes for a custom object. Related, I see that there is a ContactHistory object, but attempts to insert are rejected with Field is not writable: ...
0
votes
0answers
14 views

Custom Object Feed - Posting Problem

We are working on a project where we use a few kind of Profiles. We have Two Visual Force Page which we are Using : chatter:feedWithFollowers entityId="{!Account.Id}" showHeader="true" For Viewing ...
2
votes
5answers
101 views

Set default value on children records when `New` is clicked on related list

One of the custom objects I have is rendered as a Related List of Opportunity. This custom object also has a custom field of Opportunity lookup type. To create a record of this type I go to ...
0
votes
1answer
29 views

How to add different flags to picklist values

I have a custom object with picklist values that shows different trigger events that is used to trigger our approval processes. Now for each trigger event we want to display its status(for example in ...
1
vote
2answers
76 views

How can I add a new value to a picklist using APEX?

I have queries pulling all of the information correctly but what I can't seem to find was a way to add new options to a picklist using APEX. I currently have Package__c.Products__c.add(new ...
1
vote
2answers
23 views

(Creative) Ways To Truncate A Managed-Package Object

I've searched through various questions here, and via Google, and see nothing other than Apex possibilities, which are far too slow. Anyone know of a creative way to TRUNCATE the data in a custom ...
0
votes
3answers
39 views

Set a max value for a custom field in salesforce of type number

I have created a custom field in a custom object of type Number(2,1) in salesforce. Please let me know how set a max value for this field.
1
vote
1answer
32 views

Custom error message for workflow rule

I want to display a custom error message if my workflow rule fires and fails. Basically, I am trying to avoid duplicate dates. I have got my workflow running, but right now it displays the following ...
0
votes
0answers
40 views

Cloning attachments from one record to another record, preserving createdDate of clone source

I want to copy the attachments from one record to another record. While attaching a file in notes and attachments related list , i noticed that file is saved as a file in chatter. here with this code ...
0
votes
0answers
22 views

How to create a new record based on opportunity line item?

I have 5 products in a price book. They represent 5 record types of a custom object (AKA: PRR). The products are different by the price and name: PRR free, PRR Basic, PRR Ent.... The 5 record types ...
1
vote
2answers
23 views

How to keep uniqueness over a related list?

I have a custom object (AKA License), that gets "rented/used" on a monthly basis. There are 5 types/levels of rentals. I have created a custom object to represent a rental type, and each has it's own ...