Tagged Questions

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

0
votes
1answer
24 views

I want sync salesforce objects and my web application. How? [on hold]

How to sync salesforce custom objects and my web application? I already tried that but I am fully confused with that. Please tell me how can I proceed ?
0
votes
2answers
23 views

GetChildRelationships not finding contact lookups for custom object

I have a custom object with many custom fields. Some of these fields are lookups to contacts. I have a visualforce page on which I need to list all contact fields for this custom object. I am using ...
1
vote
1answer
36 views

Apex trigger not working

I have tried to set the name field of the Volunteer Job object to the case number or an auto increment number and neither seems to be working. I have tried to use a trigger: trigger AddCaseNumber on ...
1
vote
1answer
26 views

Filter By Owner in list views Not working

I am facing this issue and I can't seem to find any solution. I have a custom object, Subscription and I want to control the list views. If I create a list view with All Subsctiption Details, I can ...
1
vote
0answers
20 views

Getting “Id value <long ID> is not valid for the <custom object controller> standard controller” for post install custom link

So I've followed the steps outlined in: How to show a vf page on the first installati‚Äčon of the managed package? but now I'm getting the following when one of my test users is trying to install the ...
0
votes
1answer
23 views

Error: Invalid field Job_Application__r for SObject Position__c

I have two custom objects those are position and job application objects,those are related by lookup relationship.But when try to access the job applications through relationship I m getting above ...
1
vote
1answer
32 views

Accessing lookup fields within trigger context

I have a custom object Customer with a few fields. One of the fields is a Lookup field that refers to a standard object Account. I'm writing a trigger that should fire before each insert/update. The ...
1
vote
1answer
25 views

Convert Custom field type from text to lookup/master-detail in salesforce

I have created custom field with Text data type..For some reason I need to change the field type to a look-up/master-detail relationship. But when i click on "Change Field Type" button for that ...
1
vote
2answers
53 views

Database.Saveresult into a list of object

I have a list of Line_item__c which is storing my line items as List<Line_Item__c> toInsertList = new List<Line_Item__c>(); I am inserting these records in database using the below ...
0
votes
1answer
35 views

MyVisualForcePage does not exist or is not a valid override for action View. - Deployment Error

tried to deploy a a change set from 1 sandbox to another and it gives the error "MyVisualForcePage does not exist or is not a valid override for action View" . I included the VF page so I'm ...
0
votes
2answers
36 views

Retrieve string from custom object based on title defined in VF

I need to retrieve content from a field in a custom object based on the "title" of the record. While the code below works, it has obviously been told specifically to return the record with the title ...
1
vote
0answers
19 views

Label Name consistency across two objects

I have a scenario where on one object, the user enters the SLA for each task(input field) and based on what they enter, I need to create a new record in other custom object. I need to map the label of ...
0
votes
1answer
23 views

Workflow/flow to change opportunity owner to child object owner when child object is linked

Struggling a bit here. I am trying to create a workflow/flow that will automatically update owners of an opportunity without the complexity of creating a trigger. The relationship goes - The ...
0
votes
1answer
14 views

How to update/transfer into accounts from opportunities

I need custom fields that are in my opportunities to be in my accounts. I don't care if they're copied, a relationship is setup, or they're actually moved. What's the best way to do this?
0
votes
1answer
17 views

Dynamically pass custom lookup field value to another custom field

I am new to Salesforce and Salesforce development, and I have an object (Ticket) that is related to another object (Well) via a lookup field for the well ID. I want to pass that well ID to a custom ...
1
vote
0answers
17 views

override the behaviour of a standard object opportunitylineitemschedule in a vf page?

Can any one help me out with this requirement? creating a custom object as custom schedule and overriding the behaviour of a standard object (opportunitylineitemschedule) in a vf page,by populating ...
3
votes
1answer
49 views

Creating a Custom Object Handler Class

So I want to create handler classes for different Objects with my SF org, specifically for some of the custom objects. For instance I have a Global__c object that stores global settings in encrypted ...
1
vote
1answer
46 views

Retrieve data from custom object on Visualforce page

I have created a custom object which contains multiple fields that I want to be able to show on a Visualforce page. From the discussion I've had with another developer it was recommended that I use a ...
3
votes
2answers
48 views

Custom object parent relationship similar to “Attachment” object

Can we have a custom object similar to Attachment object where the parent can be any of the "Account", "Contact", "Lead" etc? ...
1
vote
1answer
44 views

Deleting rows in a list

I have a queue setup that users can add cases to before submitting them. I currently have it so that they can type the row number of the case they want to delete; however, I need to make it so that ...
0
votes
1answer
15 views

Custom object schema visibility

We are planning a managed application for Salesforce platform and there are few things that are hazy. Lets say if a customer install our managed application in their organization will they be able ...
1
vote
0answers
13 views

Query results via Developer Console, but none via Salesforce Mobile SDK for Android?

I am creating an Android app using the Salesforce Mobile SDK for Android. The app allows users to login via community login. I am able to get the related contact of the logged-in user using ...
2
votes
1answer
40 views

Tackle Callout Limit Salesforce

I am creating an managed application for salesforce appexchange listing. App Functionality: On certain update events a trigger will send a few non-critical information to a external server ...
1
vote
1answer
31 views

Relationship should be given to Opportunity or Product

I have created a custom object as CustomlineItem and wanted to give a lookup relation to opportunityline item .So i should create the lookup relationship with opportunity or product ( ...
1
vote
1answer
34 views

Tracking deliverables for different donation levels

I'm working on tracking deliverables for a non-profit. When a donation is made at a particular level, specific benefits are included. For example, a donation of $100 is Level 1, which includes A, B ...
0
votes
0answers
32 views

Can I override the behaviour of opportunitylineitemschedule in a Visualforce page?

Can any one help me out with this requirement? I need to create a custom object as schedule and override the behaviour of a standard object (opportunitylineitemschedule) in a visualforce page, by ...
1
vote
3answers
28 views

Custom Tab and Custom Object are same

Can any one let me know is Custom Tab and Custom Object the same.If yes then in my EE i do get ab ERROR as : Custom Tab Limit Exceeded Your organization's edition of salesforce.com has a limit of 25 ...
0
votes
1answer
27 views

Object fetched in constructor but not shown in VF page

I am new to SalesForce and developing on the platform, and I am running into issues displaying data from a custom object I created to a custom VisualForce page. Here is my code for the apex class: ...
1
vote
0answers
57 views

MISSING_ARGUMENT, Id not specified in an update call in controller extension

I'm having some difficulty in setting the value for a custom object from my controller extension. Here's the relevant controller code: public with sharing class MyController { public ...
0
votes
2answers
28 views

Storing the results of a query in a variable

I have an object "Case" with the fields "Contact_Search_Name__c" and "CaseNumber" and I have an object "Case_Notes__c" with the field "Contact_Name__C" basically I am trying to use this query ...
1
vote
1answer
33 views

custom tab limit got exceeded ,how can i use it

My Org Uses EE ,the custom tab limit got exceeded .I have created a custom object where im unable to see it,Is there any possibility where i can access the custom object.Any help is appreciated.
2
votes
0answers
40 views

How to lock the Attach button on custom object record Notes & Attachments related list once the record get closed (Approved/Rejected)?

Now my business users can delete and attach another file even after the custom object record got approved/rejected. So they were asking for a way to lock the "Attach" button which is listed under ...
0
votes
4answers
51 views

How to call the parent fields in a child object in visual force pages

Can any one help me out.Any help is very much appreciated. I have a custom object name as "RFC__c" and it has a lookup relationship with opportunity object.Now i would like to get the opportunity ...
0
votes
0answers
15 views

Is there a way to retract the rejection of one custom object record so that the user can again approve it?

One of my business users mistakenly rejected one custom object record, so is there a way to retract the record so that the user can approve it? Or Is there a way that we can reset the approval ...
0
votes
1answer
26 views

How can i achieve this requirement by creating an custom object and creating a visual force page

Hi Can any one suggest me on this requirement . PFA Screenshot I need to add the next 6 quarters and the quantity by keeping the default sales price. giving an rough calculation of the total revenue ...
3
votes
0answers
38 views

How to control custom object through territory management?

I have 2 custom objects and tabs. Accounts and Users are assigned manually in my org. How to I control their visibility/security according to territories? Are there any samples that I refer to? That ...
0
votes
0answers
19 views

Relating additional objects to my custom report type

I have created a new report type which links Process Instance and Process Report Node together so I can view approvals on my Opportunties in my report. This method works, however only the Opportunity ...
1
vote
0answers
35 views

Why does my custom global action not show up on my mobile device to add a new entry

We have set up a custom notes and call log field under the global actions. I can add a new note or call entry on the web but not on my iPad. I can see notes that have been added on the web, on my ...
0
votes
1answer
181 views

Cannot set sharingModel to ControlledByParent on a CustomObject without a MasterDetail relationship field

I am trying to deploy an update to a custom object. The object and classes associated with it work perfectly in my sandbox, but when I try to deploy, I get the following error: Cannot set ...
1
vote
1answer
43 views

How do I restrict the ability of a user to edit and delete an object, but allow them to be edited via another object?

How do I prevent a user from being able to edit and delete records directly in an object, but not through a master-detail relationship that is related to the same object? For example, We have 3 ...
2
votes
3answers
114 views

How can I convert formula to APEX trigger?

I have already exceeded my 5000 compilation code, now I want to create trigger for following formula from custom object. Formula 1 (Custom Field = Package Fee) IF(ISPICKVAL(Package_Option__c,"One ...
3
votes
3answers
90 views

Custom object list view filter criteria does not return results

This is a pretty basic question but I have a list view that I created on a custom object that should be returning results but is not. Object B has a lookup field to Object A,. So lets say I have 2 ...
1
vote
2answers
39 views

How to get previous value of a field in Validaton Rule

I have a Master - Detail Relationship from Crop to Agri Form. Agri Form has it's own size(in yards). A Form may have many Crops in this Year. Each Crop also has it's own size. Agri Form has 'Form In ...
0
votes
1answer
36 views

lookup realtionship in triggers between two objects

for example in a lookup relation,customer object is a parent,bike object was child, both have same amount__c field ,when we enter the amount__c value in customer obj automatically update the amount ...
1
vote
2answers
94 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
4answers
104 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
53 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 ...
1
vote
1answer
36 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
42 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
39 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 ...