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.

Filter by
Sorted by
Tagged with
0
votes
0answers
19 views

How to find out the count of Salesforce Custom Objects accessible to each user in an Org? [closed]

I want to find out the number of Custom Objects (other than Managed Package objects) accessible to each user in a Salesforce Org. For example, if a user has Read access to a custom object "...
0
votes
1answer
29 views

Webhook / View Object Data from a Website (Wordpress)

Is there a way to access records from a custom object and then put those records on a website without using API? Specifically, feed-like-RSS that could generate JSON/XML? The CRM I'm working in does ...
-1
votes
0answers
31 views

Custom Object ID?

I have a Custom Object in Salesforce, each has an ID. I'm creating a form with 123FormBuilder which passes data through two Custom Objects. But for the form to check its passing data through to the ...
0
votes
1answer
18 views

Custom Object ID into a field?

I'm new to using Salesforce, but I need the ID of my custom object e.g. a054J0000057Ps8QAE to show in a Custom Field, is this possible? I'm guessing there's maybe a formal I need to add in the ...
1
vote
1answer
31 views

Quick Action doesnt show up in the Layout

I created a quick action on Oppurtunity record and it doent show up in the Layout. The quick action is to create a custom object And I added it to the Layout But on the Opportunity Record I dont ...
1
vote
1answer
77 views

APEX trigger lookup field value in onther custom object

This is what I have: trigger ComplaintInitialize on Complaints__c (before insert, before update) { for(Complaints__c Complaint : Trigger.new) { if(Complaint.RecordType_Name__c == '...
1
vote
1answer
32 views

Pass in Form Values to Salesforce Community Create Record Page

I'm trying to prepopulate some values on a Salesforce Community create record page based on a URL with URL params that is clicked. Use Case: User clicks: https://mySandbox-request.cs24.force.com/...
1
vote
2answers
60 views

How can we create Custom objects and fields without using Object Manager(from the UI)?

I am already aware of the Traditional method of creating Custom Objects and fields using object manager in Salesforce but just curious if there is another way to create them that will increase a ...
0
votes
1answer
23 views

I need to add a variable number of business days to a date

I have a field in the products called RPG_LeadTime and this is the product lead time before we are expecting to dispatch the product. So if the date is 23.12.2019 and the lead time it two days then ...
1
vote
3answers
596 views

Is There a Way to Know if an Id Exists Without Querying?

Is there a way to know if an Object ID exists in a sandbox without querying for it? Sometimes we store ID's in Metadata/Custom Settings and I'm curious if there is a way to know if the ID exists ...
1
vote
3answers
70 views

What is causing the “Invalid Character in Identifier” error when compiling my Apex code

I've got the Following code: Global class EmailToLeadTST implements Messaging.InboundEmailHandler { global Messaging.InboundEmailResult handleInboundEmail(Messaging.inboundEmail email, ...
2
votes
1answer
30 views

Create List View Action to call apex method

I have a set of list views for my Custom_Object__c and these list views are visible in the community. I need to create a custom action for the Custom_Object__c list view. Then user should be able to ...
1
vote
1answer
31 views

How to delete the shared object record

I have written a trigger which will insert, update and delete the project when a new project team is created and removes access when the it is deleted . I have successfully written the code for insert ...
0
votes
1answer
42 views

best way to make a checklist in salesforce?

hello i'm trying to make a new hire checklist within salesforce to track completion. currently we use an excel spreadsheet that has the task, whether its completed or not, the owner of the task and ...
0
votes
1answer
46 views

Accessing data of Sandbox from Scratch Org

I want to be able to query, insert and update records of a Sandbox from a Scratch org, only during the development phase. I know that scratch orgs are meant to be populated with just a little amount ...
0
votes
0answers
16 views

Visualforce Email template recipient type with multiple customized objects. Create customized object

Requirement is to use email template with visual force components, and send an email for each environment the contact is associated to. For example, contactA is associated with env1, env2, and env3. I ...
0
votes
1answer
56 views

LWC: Form Data not updating to Apex controller

Ive developed a component that lists Contacts related to an Account. Each Contact listed has an action button that opens a modal window to edit fields on the Contact. If I change the value in one of ...
0
votes
2answers
74 views

Type requires name=value pair construction: Donation__c

I have a custom object @AuraEnabled public static List<Donation__c> onLoad(string recordId){ List<Donation__c> donList = new List<Donation__c>(); Contact con = [...
1
vote
1answer
25 views

Hiding certain records and their related records

I am trying to keep records separate from certain users when it is categorized in a specific group. For instance, when an account is created if it's in category A I want only group A to have access to ...
1
vote
1answer
73 views

Lightning Record Form not working for custom objects in communities

There is a custome object called CutomObject in my sandbox system. I have created a salesforce community to display these objects. I have created a sharing set on this object type as follows and ...
0
votes
1answer
47 views

Disable delete option in Notes and attachment

Requirement - I need to remove or disable a delete button from Notes and attachment on VF page. Even I tried to write a trigger but it is working on request which got generated not on the attachment....
0
votes
0answers
16 views

Email template relatedToType not binding values

I have done a full day of research, looked into many code examples, but could not figure out what went wrong with my code. Help please. My email template <messaging:emailTemplate subject="TEST-{!...
0
votes
1answer
25 views

Community Advanced Audience configuration

Good afternoon. I am trying to set up an audience by assigning a record type. However, the object I want does not appear in the list: Is this a setup that should be done in Salesforce? Remembering ...
0
votes
1answer
11 views

External Object Sync Without Wiping Cusomizations?

I have a table in a PostgreSQL database that I am exposing as an External ODATA Object to bring into my Salesforce Org. There are about 25 columns on this table. Within my Org, in the external object ...
0
votes
1answer
31 views

Declare custom object with relationships

Beginner disclaimer Apologies if this seems stupid but I've been a bit stumped by this. I have looked through documentation but cannot find the answer I need to here I am. I have a custom object ...
0
votes
1answer
23 views

Different Formula for Different Record Types

I have a custom object that has all the same fields except the value of one depends on the record type. I would imagine I could define a lengthy formula with IF but is there a cleaner way? Ideally, I ...
2
votes
1answer
27 views

How does Salesforce audit the 10 custom objects limit for community licenses?

To be clear, I do understand that this is a CONTRACTUAL limitation and not a TECHNICAL limitation, but in the event that Salesforce does want to take a peek at our org, we want to make sure we're not ...
0
votes
0answers
14 views

Can't report on new field on custom object

I recently created a new object type and added a formula field for the Case Safe ID. But when I try to report on that object, the new field doesn't show up in the options for report columns. Why is ...
1
vote
1answer
25 views

Master-Detail Relationship causing problems with creating Related Records

We have a custom object to log our Activities with Customers. Until very recently, it had a lookup to that account. To better serve our reporting needs, I changed that lookup to a master-detail. Now, ...
0
votes
1answer
42 views

Remove the “__c” from custom field API name

I've created a custom object in Salesforce with a number of custom fields. Is there any way to remove the "__c" from the API names of those custom fields?
1
vote
2answers
28 views

Get SOQL result from multiple tables and use in APEX

I have two custom objects ObjA and ObjB. ObjA.b is a LookUp field for ObjB. I have written following SOQL. SELECT Id, b.Name FROM ObjA This query gives correct results. Then I need to use these data ...
0
votes
1answer
45 views

Store and Revert Prior Field Values on Object After Approval Process Rejection

I am building a process where partner users make multiple field updates to an object Fatburger_Menu__c (all the fields are currency), which will activate an approval process for one of our team ...
0
votes
1answer
34 views

What query is causing error: “List has no rows for assignment to SObject”

The error occurs when loading the page for a custom object. My understanding is that this error means a query did not return any results, but I don't know how to begin identifying what query that is....
0
votes
1answer
17 views

How to Dynamically Embed Images from Files into Email Templates

I have a custom object with Files. The Files hold images. I am creating an email template and want the Files to embed in the email template. How do I even begin to go about that? I can't find anything ...
0
votes
0answers
18 views

Filter picklist values based on other objects field values

Is it possible to filter picklist values based on the 2 other object fields relation? In that case I mean for example: I have an Order Type field which on junction object is related to Region (e.g. ...
0
votes
1answer
105 views

Access custom object inside Visual force page set with standard controller to Contact

I am trying to add custom visualforce page in standard contact page layout. For that I have created one VF page that has standardController set to Contact in order view it in contact's page layout. &...
0
votes
1answer
34 views

How to delete child lookups from the parent after reparenting

Im a beginner and still learning to write apex.. Im creating a new object from the old object. I want to reparent the Lookup to the new object and delete it from the old object. //map of ids of new ...
0
votes
0answers
10 views

Page Title in Google Analytics

When capturing Google Analytics data from my Community, the page title is not being captured correctly for custom objects. For example, when I view a page on the web, the page tile in the browser tab ...
0
votes
0answers
12 views

Assign Related Record from Related List

I am struggling to find a solution, without over complicating my dataset. I have 2 object, Product and Product_Alias (Custom). Our Product_Alias table is a table of UPC codes that we have purchased. ...
0
votes
1answer
31 views

Related List is not showing up…?

I'm having an issue that a related list is not showing up on the detail page of the Asset object. When I try with the 'System Administrator' profile it shows up, but when I try with other profiles, it ...
0
votes
0answers
15 views

Importing custom object records with self lookup relationship to the custom object records on the same CSV file

I want to upsert some custom object records in a CSV file that has a lookup relationship to the another records on the same CSV file using sfdx upsert command. My CSV file: Name,Code__c,...
0
votes
1answer
49 views

Importing Custom Object to Commerce Cloud

I've been following the instructions on the SFMC Connector repository, and one of those instructions says to "Import the metadata, custom objects, and jobs definitions into your B2C Commerce ...
0
votes
2answers
58 views

how to make copy of custom object to from sandbox to other sandbox

I'm trying to make a copy of custom object from a sandbox to other sandbox, like by using "Change Sets". However, that was not successfull and I cannot find good ways of doing that. How can I move ...
0
votes
1answer
77 views

QuickActionApi - Unable to select SendEmail on custom object page

I am trying to initiate the SendEmail quick action from a button on my lightning record page. This seems to work for Account, but does not work for custom objects. Code is as follows Component <...
0
votes
1answer
26 views

Update owner Change

I have a custom field as previous owner in account lookup to user object Whenever I modify an account the previous owner field should get updated as account owner. I tried it using workflow and ...
-1
votes
1answer
41 views

Queried column disappears from results

I just added a new field to a custom Salesforce Object. I now want to query that field from the database. If I query it from the developer console, everything is fine. However... If I query it from ...
1
vote
1answer
25 views

Creating custom Object using external source

So basically I have been trying to work out a quicker way of creating a new object thats going to consist of around 400 fields I know I can use fieldcreator.herokuapp but this isnt that much quicker. ...
0
votes
0answers
16 views

Data does not show with Related Lookup Custom to Account

Inside Setup->Object Manager, I have created 2 custom tables (Driver__c and Vin__c) I went into my Driver__c table, created a new Lookup(Account) field and set a Filter that links Driver__c....
0
votes
1answer
30 views

Save vf page as attachment in custom object

I have a dynamic virtual page that I create, and I would like to know if it was possible to save it as html (not pdf as I need to do some modification later on) inside my related files for a custom ...
1
vote
1answer
88 views

Unable to view the Custom Object in App Builder

I have custom object named Order Line Item I'm able to create Tabs using the custom object. But if I go to Lightning App Builder and try to add a list view for my custom object i'm not able to see ...