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

3
votes
3answers
31 views

Getting dynamic Record Type name/id

Is there a way I can find out what recordType the user have selected? I have put together the apex code : private String getRecordTypeSelectedId(String recordTypeName) { String rtId; ...
1
vote
1answer
16 views

Is there a way to capture what RecordType user has picked using apex code

I have few different record-types in my object and I like to know either by Id/Name what record-type the user have selected and based on that record type selection I have to perform some logic behind ...
-4
votes
0answers
16 views

Sync iPAD with salesforce [on hold]

Can I sync an Offline version of salesforce from iPAD with internet server whenever a new record is created Offline on a custom object and send that to server? Is there a way out for this this? I do ...
0
votes
1answer
13 views

Removing the object Name field when viewing all records in a tab

Sorry, this is a very noobie question I have a custom object with it's own tab. I don't want to see the standard 'Name' field appearing on any layouts since it's an Auto Number, so I removed it from ...
1
vote
2answers
25 views

Validation Rule criteria

I have two custom objects Event & it's child Event_Attendee. Now I have a Mobile ID field on Event_Attendee based on which I need below validation Rule. OR(AND(Event_Attendee_Count__c > 1 , ...
0
votes
2answers
15 views

Read-only “Lookup” field.

How can I make lookup field as read-only so that the user does not change the lookup field? I'm using custom object and like this to be done using apex code since I'm writing all my business logic ...
2
votes
1answer
9 views

execution of BeforeUpdate caused by: System.StringException: Invalid id

What I'm doing wrong here? I'm creating a new record which is work_order__c and once I created I'm getting the name of the newly created row and updating the vendor__c object ...
-2
votes
3answers
34 views

Updating a field which is a lookup on ather custom objects

UPDATE 3 Here is my complete code I have so far; I have trigger on vendor__c object trigger vendorTrigger on vendor__c (after insert, after update) { vendorController vencont = new ...
0
votes
1answer
20 views

“expecting a colon” where clause

As you see that I'm calling doQuery() and I'm instantiating object and creating a record and as soon it creates a record I'm getting the ID and once I got the ID I'm querying again to get the Name of ...
1
vote
1answer
23 views

How to get the ID of the newly created record

How to get the ID that was created in a custom object Below is my scenario, I'm creating a new record in the Work_Order__c object using the APEX class: // object instance with memory allocation. ...
5
votes
1answer
135 views

Fire trigger only if we update custom field

I have an object in Salesforce called File_uploaded__c with some fields like Filename__c, fileSize__c, IsMain, and I want to know if there's a way to implement a trigger that is only fired when we ...
0
votes
1answer
16 views

How can i convert an opportunity to a custom object using process builder

I'm looking to convert opp product lines to a custom object 'assigned products' using the process builder with the opportunity closing being the trigger to create the new record is this possible via ...
0
votes
2answers
20 views

Instantiating an custom object and insert

I'm having problems with my apex code inserting. I don't know whats going on here is my code: // object instance with memory allocation. Work_Order__c wo = new Work_Order__c(); wo.Est_Hours__c = ...
2
votes
1answer
20 views

custom setting SOQL vs methods

i often come across scenarios where we have some custom setting with lots of fields created which has rows for multiple purposes. So for a specific scenario, it is often needed to filter all the rows ...
0
votes
1answer
18 views

Trigger error before delete on custom object

I have a custom object in salesforce called : File_Uploaded__c with many fields such as Name, Size, DeletionDate__c and i declared a trigger to set the deletion date when a record is deleted, here's ...
0
votes
1answer
33 views

Google Map on salesforce custom object detail page [closed]

I am not able to view the map on the Custom object detail page. I am able to save the page, and also I am not getting any errors, but still unable to view anything Please help me with the possible ...
1
vote
0answers
27 views

Insufficient Access when Deleting Custom Object or Tab

I'm trying to delete an Object (not a record) in Salesforce. When using ANT I receive this message: 1. objects/myObject.object -- Error: insufficient access rights on cross-reference id. When using ...
0
votes
0answers
11 views

Display created action in custom object

I have a custom object called : File_Uploaded__c and i created a new action for it in My_Custom_Object -> Buttons, Links, and Actions -> New Action and i associate to my action a visualforce ...
0
votes
0answers
13 views

Undefined value for a Text Area field in Remote Object call [on hold]

I am trying to access a record in Javascript with remote object. There are some fields whose values are correct but there is a Text Area type field which is returning null. What may be the reason?
2
votes
2answers
22 views

Get list of custom object in RemedyForce

I have custom object in my RemedyForce abc__c and would like to get list of it. Tried this code: SearchResult sr = con.search( "FIND {00008137} IN abc__c FIELDS RETURNING ...
1
vote
3answers
82 views

Deployment Error (Urgent Please)

When I am trying to deploy new custom objects along with list views using eclipse from sandbox to Production.I am getting below error for all new custom objects This View Unique Name already ...
1
vote
1answer
45 views

Error in List View Unique Name when deploying to new org

I'm trying to create Ant tasks to make it easier to implement Continuous Integration in the company I work for, and I'm facing one annoying issue when trying to deploy the package to the new org. ...
0
votes
2answers
44 views

Displaying Contact Roles Related List for Parent Account on Custom Object

I'm trying to build a Visualforce page that will display Contact Roles for the parent Account of a custom object. My class and page tags follow. I'm not receiving any errors at this time, and the ...
1
vote
1answer
43 views

Change custom object's label

What are the known repercussion of changing a custom object's 'Label'? On Object edit page Salesforce has the message, "Be careful when changing the name or label as it may affect existing ...
1
vote
1answer
20 views

Migrating Attachments from customized object to Case

How could i migrate all related Attachments and Notes from a custom object to Cases? We had a customized case object which we're trying to migrate, so far we've succesfully migrated all the custom ...
8
votes
1answer
83 views

How to redirect Visualforce page automatically

I have custom button which when clicked redirects to VF page, VF page calls some controller, But I want as soon as custom button is clicked it should process to VF page waits for 2 secs and then ...
1
vote
1answer
44 views

Duplicating Opportunity Stage Duration for Custom Field

It's probably been asked before, but how do you duplicate the Stage Duration functionality in Opportunities on a custom field? I have a custom picklist field named "Operations Status" that serves the ...
2
votes
1answer
80 views

Illegal assignment error

I am getting below error for the line. Line: Set<Id> Calling= [SELECT WhatId FROM Task WHERE Status != 'Completed' and subject='Call']; Error: Error Error: Compile Error: ...
-2
votes
2answers
63 views

EDITED: How can I output value from Custom Object record in a VF page on Force.com site, using existing controller?

We have a custom object: Custom_Switches__c. Within that object, we have a record: Turn_On__c (checkbox). We need to output the value from Turn_On__c in a VF page. If it helps, the ID of Turn_On__c is ...
0
votes
2answers
24 views

is there a way to copy custom objects field in salesforce?

UPDATE: I'm planning to copy the custom object fields from the MANAGED package, not sure how much it impact or no impact. I wonder if there is a way to copy a custom (object) field of the ORG A onto ...
0
votes
2answers
19 views

Relate Custom Object to County field in Leads

I am interested in uploading and updating county-based data (population, median income, etc) in lead records via bulk look up. I believe the most efficient and reusable method is to create a custom ...
0
votes
1answer
30 views

Pass currency value to custom field using JavaScript button

I need to populate a currency custom field Value_Of_WE_Spend__c on a custom object WE_FEP__c with the value from an opportunity currency custom field Annual_Settlement_Value__c. I've written the ...
2
votes
1answer
64 views

Problem with trigger when Inserting new records on custom object

I am trying to insert new records into a custom object (production) via apex data loader. When I do so I get an error like ​ ReservationTrigger: execution of AfterInsert caused by: ...
0
votes
1answer
35 views

Apex Data Loader problem

I am trying to insert data into a custom object. My MD field with Contacts is Email__c. I want to use the email to identify the contact as is the unique identifier for my custom object. ( like when ...
2
votes
1answer
27 views

Is there anyway to delete a SF object record using the PHP toolkit?

I've this object relation: Group_Test__c <---> AssociationGroupOrder <--> Order So I can have a N:N realtion between Groups and Orders. I'm working with the PHP Toolkit. ...
0
votes
1answer
48 views

Opportunity STAGE picklist value need to change

I want to remove the NONE value from the STAGE picklist (Opportunity Standard Fields)
0
votes
0answers
18 views

Adding items to a related list of a new Object after insert? Or; Save & Add functionality?

The data is a bit complex in parts so I'll lay it out this way: We have Custom Object A; this is the lowest object in a tier set of them. We have Custom Object B; this is the highest object, and ...
1
vote
4answers
133 views

Change sets from sandbox to production

I have moved my custom object(Reservations) with the custom fields(near to 50 fields) created in Sandbox into Production but when i try and create a new res I can use only the standard field of that ...
1
vote
1answer
58 views

query sObject or Custom setting by multiple fields

i need to implement logic at couple of places which is like querying an sObject or a custom setting. There are input fields using which i need to create filter criteria to reach appropriate records in ...
-1
votes
2answers
29 views

Put and direct setting sobject value does not show

I am trying to set a custom field of an custom object from apex object.put('field__c','value'); object.field__c = 'value'; Both of these lines do not set the value. However is I log the result of ...
0
votes
1answer
28 views

Unknown Property Error when attempting to reference a Wrapper Class

I'm creating a Visualforce page to list custom objects, and select them. When attempting to initialize a list of my wrapper class for the object I'm getting Error: Unknown property ...
1
vote
1answer
26 views

Standard Clone Button - Setting Field Values - Custom Button Or Something Else?

Need: Ability to Clone records, and set a value into a field during the cloning. In my specific case, I want to populate either a Lookup field with the ID of the record cloned from (so passing ...
-3
votes
1answer
57 views

How to track a field history of a custom object via Api?

how to track Field History via Api on custom object? sorry that I'm unclear: I'm not developer. Well to sum up : -i have activated my web service on salesforce.com with my website -i have a ...
0
votes
0answers
29 views

Custom Object Picklist to create a record on a different custom object

I have a Custom Object called Property (Property__c) that has a Sales Status picklist and another custom object called Proposal (Proposal__c) (I have more objects but we'll focus on one). There is a ...
0
votes
1answer
25 views

CTI & Custom Object Integration for Click to Call/Dial

I learned something today on Computer Telephony Integration and Custom Object Integration. Like Ring Central, InsideSales, and more. In order for your phone to have a click to call link. The field ...
0
votes
1answer
8 views

How do you copy the phone value to a “PHONE” field after a primary contact lookup is made?

I have a custom object that has a primary contact lookup. The Email and Phone populates but they are formula (text) once the contact is found. I would like the phone to be copied or entered in a ...
1
vote
2answers
24 views

How do I find custom object records and connected objects?

I have recently been tasked with going through all of our custom objects and deleting the ones that aren't used. Being relatively new to Salesforce, I'm having a bit of difficulty finding if the ...
0
votes
0answers
34 views

Get 'grant access using hierarchy' value in Apex

My question is the next one: Is it possible to get through Apex code the value of the checkbox besides every custom object which marks the 'grant access using hierarchy' option in the Sharing Settings ...
0
votes
1answer
39 views

Insert data into custom object with php salesforce toolkit

I can insert data to salesforce in any standard object Like Leads, Contacts etc . But my client has created a custom object . That object name is survey , and there are several survey questions Like ...
3
votes
2answers
51 views

Apex Class Problems After Sandbox Refresh

I refreshed my sandbox from the production org and have received numerous errors on classes that were working prior to refreshing. I'm receiving following error, unexpected token: 'public class ...