Stack Exchange Network

Stack Exchange network consists of 174 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

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.

-2
votes
0answers
11 views

Preassigned table of Unique IDs, Batch loaded daily, need to assign to Lead record as created [on hold]

Use case: External system will provide a table of Unique IDs. Unique ID's will be batch loaded daily. Each Lead created in Salesforce will need to be assigned a Unique ID from that table. Need to ...
0
votes
0answers
16 views

Custom components in Page Layout

I created a simple custom component, which I need to add on a Page Layout. Looking around on internet I found out that I should: Add the component to a visual force page Resize that visual force ...
1
vote
1answer
15 views

Custom Object Access via Public Groups

We have around 100 users who belong to 3 different profiles. We know it is possible to do it via permissions sets. But is it possible to provide permission via public groups or roles...what is best ...
-1
votes
2answers
65 views

Is it possible to prepopulate field using a before insert trigger?

trigger MyTrigger on Benifit__c (before insert) { Set<Id> lookupIds = new Set<Id>(); for (Benifit__c b : Trigger.new) { if (b.company__c != null) { lookupIds.add(...
0
votes
1answer
21 views

adding up custom field with triggar [duplicate]

trigger PaymentTrigger on Money_Received__c (after insert, after update, after delete) { Money_Received__c moneyReceived = [SELECT Reservation__c FROM Money_Received__c]; Reservation__c ...
3
votes
0answers
23 views

“Reached maximum number of custom objects” while creating BigObject

I am trying to create a Big Object through workbench but I keep hitting the following error message: reached maximum number of custom objects. I have only used 6% of my custom object allocation ...
0
votes
2answers
25 views

custom field formula

I have two custom objects. Reservation__c and MoneyReceived__c and they are lookup relationship. I want Reservation__c.totalReceived__c = sum of all MoneyReceived__c.amountReceived__c. There are one ...
1
vote
1answer
55 views

Custom field datetype with month and year only

I'm trying to credit a custom field which only need month and year (like credit card exp date) I choose datetype date, when creating the field, but it also needs a date as well. How can I create a ...
0
votes
1answer
34 views

Streaming API to transfer FILES to online cloud storage

Using the SF documentation I have created a custom object with the FILES related list. Using workbench I can successfully see that it receives a message when a new record on that new object is ...
0
votes
1answer
22 views

Custom Report Types missing related Object

Background I have 3 custom objects: Invoice__c Invoice_Line__c Appointment__c Their relationships are: Invoice__c is a parent (master-detail) to Invoice_Line__c Invoice_Line__c has a lookup to ...
0
votes
1answer
88 views

A Component Error Has Occurred!

I am getting a error on a custom page that I have made. The error is: Developer error in file apex://Service_Request__c at line number -1. So when a user is System admin there are no errors but ...
0
votes
1answer
10 views

Open Activities /Activity History don't appear under Custom Object page layout's Related Lists

I'm trying to add an Activities section to this custom object, but I can't figure out how to get the Related List section to show Open Activities and Activity History so I can progress.
-1
votes
1answer
27 views

Update Checkbox in Obj A, if its relevant record(from Lookup) got Selected in Obj B

I have Two Custom Objects , Obj A and Obj B, My requirement is i have to update checkbox true in Obj A once its relevant record(Lookup) got selected in Obj B. Please suggest the solution and let me ...
0
votes
1answer
18 views

How to post form data to custom object?

My custom object is student__c. The form I've built looks the following: <apex:page standardController="Student__c"> <apex:form> <apex:pageBlock title="Vnos novega študenta"> ...
0
votes
1answer
21 views

How to show custom object fields in standard visual force page

i am trying to add one button in lead detail page layout.on clicking on this button i want show a visual force page showing custom object details.my custom object is tractor__c.so far i am trying this ...
0
votes
0answers
22 views

how to show a custom object field values in a standard object layout

i have two objects Leads and tractor__c. i want to add a visualforce page in lead layout showing tractor details. so far i am trying following code `<apex:page docType="html-5.0" ...
0
votes
0answers
53 views

Related List View Override

I am trying to override a related list view action to show a lightning popup. I have done this successfully, by overriding the view action with a lighting component thorugh object manager > and ...
0
votes
1answer
38 views

create a record on cross object on button click

Im having two objects object1(Parent) & object2(Child) with lookup relationship. Now my requirement is that I need to create a button on child and when I click this button I need to create a ...
0
votes
1answer
28 views

Calling Visualforce page exports custom object records in custom list view button (Unknown constructor error)

I'm trying to export records from a custom object have got following visualforce page but, the visualforce page needs be invoked from a custom on list view when I try to add a standard controller and ...
2
votes
1answer
30 views

Object-Level Help in lightning experience

I have a custom object with custom help page, with Context-Sensitive Help Setting, select Open a window using a Visualforce page. This Visualforce page is the custom help page. This link shows ...
1
vote
1answer
170 views

what is the maximum salesforce id length [duplicate]

what is the maximum salesforce id length? I have to communicate it to another system that has to create an ad hoc field
0
votes
2answers
36 views

Salesforce: Custom Audit Log

As per my current search, Salesforce Setup Audit Logs are stored automatically & we can't add any records to it manually when any apex is run or page is viewed or any custom object is added, ...
1
vote
0answers
16 views

Auto populate Account name on child object while click on “Save & New” standard button

I have created a custom object and created a Master-details lookup field to Account. While creating new records, there is an issue. When I click on New button, fill in all the fields and click on "...
0
votes
2answers
135 views

How do I create a Sobject instance in JavaScript, on a Lightning Component controller, to pass to the Apex controller?

I have a lightning component from which I pass some values to a controller. I want to pass the object as a variable and update a field on this object. How do I make the object variable? See my ...
0
votes
1answer
18 views

Downfall of creating apex object using existing Id from SOQL with related object

I want to ask if there is any potential downfall of creating object in apex with Id that I would get from SOQL on diffrent object? Pseudo code SELECT Id, Foo__r.Id, Foo__r.Name from Bar__c Foo__c ...
0
votes
0answers
22 views

Delete an object specific action

How could I delete an object specific action? Here is a screenshot in which you can see that there is no such option as Delete, only Edit on the right of the action list item. I have a System ...
0
votes
0answers
29 views

Dynamic copy questions

I need to add a new dynamic field for Marketing cloud. I am currently using %%First Name%% but I need to update it to %%CampaignMember:Common:FirstName%%. I want to ask: Is it possible? Is my ...
3
votes
2answers
61 views

Validate if a custom object or custom settings is used anywhere

Which is the best possible way to check if a custom object or custom settings is used anywhere in the project? We are doing a cleanup task of deleting custom objects/custom settings.
0
votes
0answers
22 views

Custom object with multiple one-to-one relationships possible

I have an informational custom object with historical information (i will refer to it as History__c) that gets a relationship to a lead initially. The history object needs to become the child of an ...
0
votes
0answers
17 views

Sending email from a custom object: the “To” field doesn't autocomplete the name/email from the custom object records

I have an activity section on the Lightning page layout which allows me to send email directly from the custom Object,this Custom Object stores Names and Email Addresses. I would like to know how can ...
1
vote
1answer
67 views

Upsert in junction records without duplicate creation

Have a junction object that is a many to many relationship between two obejcts - Account and Publisher. As mentioned in the documentation I set the key in the Is there an easy way to upsert junction ...
2
votes
1answer
76 views

Deleting Custom Objects

I have three connected Custom Object I'm trying to delete. When I attempt to delete them, I get the following message. 'Your attempt to delete .... could not be completed because it is associated ...
0
votes
2answers
99 views

Replication run with Full Extract on Salesforce Objects in Einstein Analytics

How long does it take for any changes that has been made on a certain Salesforce fields or records to get replicated by full extract in Einstein Analytics ? After changing a record value in the ...
0
votes
1answer
46 views

Apex Trigger Code Coverage Deployment Validation Inconsistent with Debug Logs

I have a test class for a trigger on a new custom object (Sample) that covers nearly 50% of the trigger in Sandbox, and is nearly identical to another trigger for a different (older) custom object (...
1
vote
1answer
32 views

Avoid Salesforce automatically minifies long text area

I need to store Javascript onto a object field and execute it later. However, when I create a record on the developer console and fetch it again. I found the text is minified and the JS code is not ...
0
votes
2answers
23 views

Tabs and Add to Campaign for Standard / Customer Objects

Hello Stack Exchange. Salesforce newbie here. I manage the back-end of a charity working with entrepreneurs, and I'm responsible for making basic admin changes and maintaining our Salesforce system. ...
0
votes
1answer
19 views

Record not being updated

Trying to test a function in a class. The function in the class is the following : public static boolean clearPosition(Id recId) { YRec__c rec = [Select Id, Position__c From YRec__c]; rec....
0
votes
3answers
38 views

Salesforce for building real world applications [closed]

Is there any resource available for creating or building a real world application in salesforce which uses APEX and Visualforce SLDS components. Or can I build such type of apps. Can you my friends ...
0
votes
1answer
51 views

Sharing button in Salesforce Platform licence custom objects

I am created one custom object name is Test. after i have imported 50 records data to Test object. here i have two users system administrator and salesforce platform user. my requirement is need to ...
0
votes
1answer
14 views

Adding many relations when creating a record

How can I customize object or layout, to make it possible to select many related records when creating a new record? I think we can select only one record for Lookup Relationship field as a default, ...
0
votes
1answer
25 views

how to display my field values in VF PDF from controller class for a custom object

my VF code <apex:page controller="MyController" renderAs="pdf" applyBodyTag="false"> <head> <style> body { font-family: 'Arial Unicode MS'; } @page{ size: letter; margin:10%...
0
votes
1answer
136 views

How to retrieve picklist value from object in visualforce page

I have the user object in which I have defined a picklist field. The need for this is to allow certain users to only see certain records on a custom VF page. I need to get the selected picklist value ...
0
votes
0answers
24 views

Can a “Help Settings” Visualforce page set on a custom object be surfaced in Lightning Experience?

Our custom objects have their "Help Settings" attributes set up to reference Visualforce pages that in turn display HTML content from a static resource included in our managed package. This material ...
0
votes
2answers
29 views

Custom Object Section in Account is not Showing Custom Fields

I have Created an Custom Object "Text Subscriptions" And also created a Custom Fields as Account which has Master-details Field type. I have Created some More Custom fields: Text Plan, SMS Number, ...
0
votes
1answer
34 views

Values from input field are not updating the custom object values.

I have the code below. Everything works until it comes to update the the values inside the custom object. I have looked through the debug logs and the required record is also being selected and ...
0
votes
0answers
31 views

Unit test for unspecified custom objects?

I have a a couple of methods that take the name of a custom object as a parameter and do a dynamic SOQL search on the specified object. The methods work great, but now I'm writing the unit tests... I ...
0
votes
1answer
32 views

Update record in custom Object and Table

I have a table that is populated from values from a custom object. For each record, I have an <apex:inputField> that shows the Quantity value for a record and the user is able to modify the ...
4
votes
2answers
97 views

Adding to a List changes all previous additions

I've been working as a developer for about 3 months, so my terminology may be off. I'm trying to add records to a custom object. As the new record information is added to a List, the previous ...
0
votes
1answer
9 views

Add a hover text on a salesforce custom object tab

I have a Custom object which has a tab in Salesforce Classic Is there any way to add a description text/ hover text on the tab?
0
votes
1answer
39 views

Is Salesforce adding decimals wrongly?

Problem Description: Having weird decimals calculation Field 1(formula(Currency)): 0.53 Field 2(formula(Currency)): 5.27 Formula field Total = field 1 + field 2 Total = 0.53 + 5.27 Expected: ...