Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [custom-object]

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.

0
votes
0answers
16 views

Searching for records not yielding correct results

I have a custom object that has more than 2000 records. I have a custom field, id__c, that is a number that is searchable. The records I have in there have id__c's ranging from 1 to 3000. If I have ...
0
votes
0answers
14 views

Notes and Attachment Issues

I have a Custom Object record that I went ahead and added an image attachment to and I also created a note related to that user. I am having two problems: 1) I tried using this solution in the dev ...
-1
votes
0answers
13 views

Service Appointment History Report [on hold]

I'm currently working with the Service Appointment Object with the desire to be able to track down and time stamp the status changes. I have already allowed tracking in the status field which is the ...
0
votes
1answer
28 views

Update custom object upon opportunity stage change

I recently managed, with your help, to list available real estate properties (a custom object) based on its linked Opportunity StageName. Now I noticed that this method will eventually return false ...
1
vote
1answer
41 views

Didn't understand relationship 'Opportunities' in FROM part of query call

This is a real estate development that has a Development object and a Property__c object. Properties can be related to a Development or not. Also, properties are tied to opportunities. Now I need ...
1
vote
1answer
12 views

Object Manager doesn't retrieve some object?

I can't retrieve my object ParametresMetier__c in the Object Manager, Tho I can query it using Inspector as exemple, I thought all objects where present in the Object Manager, wasn't it true ? ...
0
votes
0answers
10 views

Can you repurpose the 'Add to Call List' button from the lead object for a custom object? [closed]

I would like to add the 'Add to Call list' button (available standard on the lead object) feature on a custom object but are having a hard time doing so. Our custom object has the ability to 'select' ...
0
votes
0answers
21 views

Metadata Service: Platform Actions

I have 2 organizations, one with namespace and one without. The code is same on both organizations and all save results from metadata service has success = true. However, when the code executed on ...
0
votes
0answers
12 views

Add custom event object to calendar, and sync with Outlook via Lightning Sync

I created a custom "Event" type of object, where our Sales Reps log client visits or calls. I offered the chance for our Sales Reps, to include another user on the event (like an engineer, who helped ...
1
vote
1answer
19 views

Add always visible NEW button to related list

I created a custom object, that is related to my Opportunities, and I would like to offer the possibility to create a new record of this custom object, but achieve this with the fewest clicks possible....
1
vote
1answer
38 views

Create lookup field that can relate to two types of objects

I have a custom object, that I would like to relate to the built-in Accounts and Opportunities objects. Sometimes this custom object can be related to an Account, sometimes it can be related to an ...
0
votes
1answer
9 views

Picklist Text to Numerical Value

I am putting together an evaluation form in Salesforce. I am using Customer object Greeting__c, the pick list values are High, Met, Below. I would like to assign a formula that sets "High" to ...
0
votes
0answers
19 views

Standard New button on related lists behaves differently for different custom objects

We have 4 custom object related lists on our Account object. All have a field on the record detail to lookup to the Account. When selecting New on the related list for 2 of the objects, the Account ...
0
votes
1answer
25 views

Add new tab to Account's activity

When clicking on an account, the client has an activity tab on the right side of the page. The activity currently has 2 tabs under it. One is for New Task and another for Email. The client wants to ...
0
votes
2answers
45 views

Salesforce Objects & record Counts

Is there any way to generate XLS/HTML output with below details from Salesforce? List of all STANDARD & CUSTOM Objects Record Counts associated with above objects Thanks Sri
0
votes
1answer
42 views

Email Alert on status field selection. Flow Trigger to compare last modified date

I have a requirement to send email alert when seminar attendee(custom object) is selected as contact (look up object) and seminar status as "attended". But when same contact is selected for another ...
0
votes
0answers
31 views

Salesforce : Track related object files create/edit/delete

On our Salesforce instance, we have created a custom object and added "Files" as a related object to it. This is basically used to assign file(s) related to that new object we created. What we want is ...
0
votes
0answers
20 views

Organization with namespace, VF page on custom object with StandardSetController

VF page on organization with organization namespace "org_namespace": <apex:page standardController="CustomObject__c" recordSetVar="records" extensions="managed_package_namespace....
-1
votes
1answer
21 views

how to populate field value of un-related object in salesforce

I have an object(lets say A) which stores couple of values of users using salesforce. A contains fields such as country, year and month. I have another object(B) which stores last issue date of a ...
0
votes
0answers
6 views

How to reload opened console tabs

I am using custom button on custom object. When i click on the button, i use onClick javascript function window.location.reload(); problem is, it only reloads active tab, where i clicked on the button....
0
votes
1answer
40 views

Getting data via APEX methods based on results of previous APEX methods

I am writing a Web Component that needs to display a Student's list of Courses a Student has a relationship with (displaying in an accordion). When a user expands a Student's course, I need to display ...
0
votes
0answers
18 views

Can I Stamp my Service Appointment Status?

I'm looking to capture via the process builder when a Service Appointment status has been changed, and I want to store this timestamp in a custom field from a custom object for each one of the ...
0
votes
0answers
16 views

Attachment Last Modified Date on Object

I have created a custom object with a Master-Detail relationship to the Account object in SFDC. The purpose of this custom object, for the moment, is to act as a "shell" to house account plan ...
1
vote
1answer
18 views

Setting a default TIME value only, on a Date/Time field

We have a Date/Time field on a custom object which lets us choose the date (perfect!), but defaults the time as 12:00:00. We want it to default to 09:00:00. I tried to go and change the default ...
0
votes
1answer
37 views

Getting custom object data related to another custom object

I have been following this article to try and retrieve data for a custom object's related data. Basically, I have a Student__c object, and I have a StudentCourseRelationship__c object. the ...
0
votes
1answer
42 views

Get Record Data for Custom Object

I have been following this guide to create a Web Component that gets a records information, however I am having trouble getting this to work with custom object... Is there extra steps you need to take ...
0
votes
1answer
13 views

Custom Layout Views for a Record with relationship details

Is it possible to create custom views for a particular record that will include details on related fields? For example, I have a Student object and a Course object, and then I have a ...
0
votes
0answers
19 views

Can I Capture Status Change Times in a Service Appointment?

my team and I want to capture the exact time when a Service Appointment Status changes in order to build metrics around this. So far this are the statuses that I have: Schedules, Responded, Dispatched,...
0
votes
1answer
18 views

Salesforce Confused on what object it is looking for

In our environment, we have two custom Course objects, one's identifier is Course__c the other is hed__Course__c. (Don't ask me why, it's just how it is.) The one I am focused on is Course__c. ...
1
vote
2answers
41 views

how to make phone field unique

i want to make phone field unique for this i have tried triggers but i want to write validation rule for this i have written something like AND( CONTAINS( VLOOKUP( $ObjectType....
0
votes
1answer
25 views

Link files lead to new custom object

On Lead conversion I also create a new object to which I map several fields of the lead trough processbuilder. I also want to pass the files from the lead to the new custom object. I am trying to do a ...
0
votes
0answers
6 views

Data mirroring and Community Cloud

I have a requirement like modification in the mirror object in community cloud should result a modification of the source object in Salesforce and a modification in the source object, will update the ...
0
votes
1answer
32 views

How to perform mass merge for duplicated records in a custom object?

I have a custom object A and a custom object B. Custom object A is the parent object. Custom object B is the child object. The relationship between custom object A and custo object B is a master-...
0
votes
1answer
16 views

Add custom object form to Activity of another custom object

In a custom object, Student, I created the view shows the Activity section with tabs like New Event, New Task, and Log a Call. I have another custom object, Ticket, that has an association with ...
0
votes
1answer
31 views

Add a new field with value to an already existing SObject

The goal is to get base64 of attachments of each record to render them in a visualforce page. Each record may have any number of attachments or no attachments at all. Map<Id, SObject> results =...
0
votes
1answer
28 views

Add a new List<object> to an already existing List<Object>

Is it possible to add a new list to each object in an already existing list? List<MyObj__c> results = [SELECT Id, Name, Text__c FROM MyObj__c]; I have a second object obj2__c. I want to add ...
0
votes
1answer
15 views

Change Community Page Name for Custom Object Page

I have a Community Object Page that has the page name of the original custom object I created. Since then, I have changed the custom object's name to something more pertinent. I can't figure out how ...
1
vote
1answer
43 views

Notes & Attachments Cant find using soql

I did not get any result from querying notes and attachment. Setup I create a custom object. I added notes and attachment to the custom object I created soql that filter by parentId and it looks like ...
0
votes
1answer
23 views

Populate HTML only if data in a field exists

I have a custom object that I am trying to display using visualforce. Some of the fields in the custom object may not have data. I want to check this and only if the data exists, then print the html ...
0
votes
1answer
21 views

Validation rule that flags if File is not present on custom object?

Requirement is to prevent saving of a record if a File (in this case, a quote) is not attached. Is this accomplishable declaratively?
0
votes
1answer
25 views

Allow access to a user-type custom object

I have a custom object called 'Advisor' and for every single record, I would like to allow authentication access for that one Advisor to log in and view their record and make changes. For example, ...
0
votes
3answers
28 views

Get Custom Relationship Object's Name instead of Id into a List

I have a custom relationship to campaign object from opportunity object. When I am doing this: List<sObject> opportunities = [SELECT Name, Campaign__r.Name FROM Opportunity]; for (Integer i = ...
0
votes
1answer
37 views

Field That Records Former Profile?

I'm trying to create a Field on the User Object that will record the users former profile. We're creating a Process Builder that will change the users Profile if the user is set to inactive but we ...
2
votes
1answer
31 views

Encrypted Fields Unable to Update in Apex Class - Able to Update in Apex Execute Anonymous

I am using a custom object to store Oauth credentials. I am able to update this object in Apex Execute Anonymous. I am unable to update this object in an apex class. Salesforce Connect ...
2
votes
1answer
125 views

How to populate a lookup field in custom object using Apex

I am building an app which reads information from an external API and then populates data in my App for further processing. I have two kinds of custom objects for this. First kind (e.g., BasicProfile) ...
0
votes
2answers
28 views

API to Create and Delete a Relationship Object

In our sandbox, we have created Student, Role, and StudentRoleRelationship objects. Currently, we have a Drupal project that has its own Student and Role objects, therefore in Student and Role we have ...
1
vote
1answer
58 views

How to use the isUpdate() trigger handler on lookup relationship?

I have a custom object Hire_Form__c that has a contact lookup. It has the following fields: First Name Last name Email Phone Status (In Progress , Completed , Rejected) Candidate (Contact Lookup) ...
1
vote
2answers
46 views

Custom Object to Hold Log Information

I need some help at least with the Logic to be able to do this. Basically i need to create a Record on a custom Object everytime an Apex Class is runned on success or error, that Record should show ...
0
votes
1answer
22 views

Remove standard objects

I want to remove some objects from my org eg: Product2, Macro and others. The problem is because I cannot find a way to do it, I have deleted custom objects but this ones are different. Could some ...
0
votes
2answers
35 views

Trigger process if current date is less than 2 months from field date

I've recently began setting up some processes with Process Builder to automate a lot of previously manual tasks (like creating a reminder to contact customers when an opportunity is won, etc.). I also ...