Questions tagged [standard-objects]

Tag for dealing with SFDC Standard Objects. These are typically objects that don't end in __c and whenever you create a new Salesforce org already exist.

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

Update Object in SF via cloudpage form submission

I have a use case where I am preparing a cloudpage form with mobile number input field. Upon hitting submit, the mobile number should update in the sales and service cloud under Mobile field. I don't ...
-1
votes
1answer
15 views

To check if there is any opportunity present in account. If yes do nothing, else we have to create at least one opportunity under that account

trigger atleastoneopp on Account (before update) { List<Opportunity> oppList = new List<Opportunity>(); Map<id, Account> m = new Map<id, Account>(); // Select query before for ...
0
votes
0answers
37 views

Wrapper Class for Account or Contact history record

I have a requirement to show a account and contact changes in lwc. I am trying to create a GenericHistoryRecord wrapper class with 2 constructors. If Account record is being updated then call ...
0
votes
0answers
39 views

INVALID_FIELD error on User.ProfileId for Salesforce Platform User

We have a running application that has a custom lightning component to create partner users. User is successfully created in the context of System Admin. But when trying to create a partner user in ...
0
votes
0answers
25 views

upsert Records using standard API and external Id

We want to give an external system the standard API to upsert records from Account Object with an external Id. The records have an associate parent Account that needs to be filled also with the same ...
0
votes
1answer
29 views

SOQL lookup query between standard and custom object does not work

Good morning, In the custom object Equipment_maintenance_item__c there is a lastModifiedById lookup field to the User object. My understanding is that User is the parent object, and that to query it ...
1
vote
1answer
34 views

No Save and Controller Extensions throw Unknown Property Errors

For clarity, and as I accepted an answer in the last question, I am posting a new question for additional help with new issues. The last question can be reviewed here. Here are my new issues: When ...
0
votes
1answer
67 views

Custom Tabs in Salesforce

I have a custom app named "Home Solutions" in Lightning Version of Salesforce. I created another custom object on Sales app named School Details (standard app available by default in SFDC) ...
0
votes
2answers
64 views

Unknown Property Error on VF Main Extension

UPDATE 12/29/2020: For clarity, and as I accepted an answer here, I am posting a new question for additional help with new issues. The new question can be reviewed here. UPDATE: I am trying to switch ...
0
votes
1answer
23 views

I am not able to filter a field in a Dashboard that contains Reports of different Report Types in Salesforce

I have a Dashboard containing few Reports with different Report Types(Opportunities, Opportunity History and Ops with Order). So in Account object, there is a custom field - say custom__c. This field, ...
0
votes
1answer
18 views

Auto populate Opportunity Name with an autoincrement number

when a user clicks to create an opportunity, I want to auto-populate the Opportunity Name with an auto-increment number, like Auto Number fields on custom objects. Is there a way to achieve that?
0
votes
1answer
20 views

Manager Package remover permission object standard

I have a question here. I have a manager package and when I upload to some org my permission sets no longer have permissions for standard objects, does anyone have any idea why this is happening? ...
0
votes
1answer
25 views

filterable property in schema

how to get fields which are queryable(can be used in query) or filterable(property from schema) from an object like account without using soql queries. Any suggestions? how to achieve this.
2
votes
0answers
45 views

Why Would Journey Builder Update Some Service Cloud Contacts But Not Others?

I have a serious problem with a journey which is supposed to create and/or update Sales cloud objects. The journey is supposed to do the following: Create Individual Record in Individual Object for ...
0
votes
0answers
81 views

Document CheckList and Einstein Form Reader Permission Sets not available on Winter'21 Preview Instance

I am trying out the 'Intelligent Document Automation' feature that has come in Preview Instances of Winter'21 Release. For using this feature, there are certain Permission Sets, Settings that need to ...
0
votes
1answer
40 views

Channel Program object is not available in scratch org

I'm creating a Scratch Org. Following is my command. sfdx force:org:create -f config\project-scratch-def.json --setalias My-Scratch-Org --durationdays 30 --setdefaultusername --json But then once the ...
0
votes
1answer
25 views

How can I make a field mandatory to fill when I create a Lead record using standard button?

When I click on the new button on Lead object (which is a standard button) page. It opens a standard Standard page. How to make a field mandatory on a standard page? Is there any other way apart ...
1
vote
0answers
21 views

How do I know which SObject the PageName from LightningUsageByPageMetrics refers to?

I'm trying to map the PageName property from the LightningUsageByPageMetric object back to Standard Objects. E.g. a PageName = "Contact Record" is presumably associated to the Contact ...
0
votes
1answer
111 views

Standard object tabs in permission sets

I am looking to use permission sets to manage access to standard Salesforce object tabs such as Accounts and Contacts. The user in question has a profile with no permissions; All tabs are set to Tab ...
0
votes
0answers
31 views

Contract line items object fields not apearing in Report for other users but System Admin can see

I am a System admin & I have a report type Accounts with Service Contract and Contract lineitem and I can add fields from the Contract line items to the report filter. But if the same report is ...
0
votes
2answers
91 views

Not able to see the standard User lookup field for custom object in a tab, even as System Administrator profile

I have created a custom object with several fields in which one of the field is of type lookup to the reference to the User object. When I created a tab to add records to this object, I can only see ...
0
votes
1answer
42 views

best practice: custom fields or one-to-one?

If you have custom data that is one-to-one with a standard record, what are some example circumstances where you should or should not: create custom fields in the standard object? create a custom ...
1
vote
1answer
24 views

RelatedRecordId is not showing in available fields on ServiceResource object

I need to make User field required on standard ServiceResource object. I was thinking, that it should be a simple Validation Rule, which checks that this field is blank, but during the creation faced ...
0
votes
1answer
62 views

Can we rename contact standard field label in the work order?

Is that possible to rename contact standard field in the work order object? I tried using Setup -> Customize -> Tab Names and Labels -> Rename Tabs and Labels. But Contact standard field is ...
0
votes
0answers
18 views

Using Pagination on Search Layout in Lightning

Is there any way to show the total number of registers and use pagination in search layout? i'm kinda new on salesforce and the client ask me to migrate a project to lightning. In the image you can ...
0
votes
1answer
84 views

Why some standard fields on Asset object are not available in another org?

In one of my Developer Sandbox, I am able to use the following fields on Asset Object Uuid StatusReason ManufactureDate ExternalIdentifier While in another Sandbox(Partial Copy), I get the ...
4
votes
1answer
245 views

What is the “Image” object?

While browsing the Object Manager I found the "Image" object. However, I couldn't find any documentation for it and it's not mentioned in the list of standard objects. What is it good for? Where is it ...
1
vote
1answer
23 views

Is there a way to grant access to a contact without giving access to the parent account?

We have a request to be able to toggle the visibility of both accounts and contacts on and off based on an active checkbox. To accomplish this I have set OWDs to private, and then created a sharing ...
1
vote
1answer
63 views

In which object, lead conversion field mappings stores in Salesforce

I have a requirement where I want to do the Lead conversion field mapping using apex code instead of doing it manually.
0
votes
1answer
25 views

init method of Visualforce page on standard object layout doesn't render in lightning experience

Basically, I've got a pretty simple setup here, I need to register an event listener, so I did that on init. This works really well in Salesforce classic. In lightning experience, the init method ...
0
votes
1answer
31 views

PersonAccount. Can I access and write in standard Contact's field?

I'm trying to write some standard Contact's fields e.g. MobilePhone and Email (I'm new to this object), when I create a new PersonAccount. For example using an Anonymous window I tried with this code:...
0
votes
0answers
18 views

standard button not on related list after changing standard object name

We changed the standard object label to 'Order Profiles', yet on the Opportunity page layout, I am unable to add the NewQuote button (which was also re-labeled to New Order Profile) to the related ...
0
votes
1answer
97 views

Update related list view

I have a custom object with a master-detail relationship to some standard objects through a junction object. On the related list view on the standard object, I would like to: Remove the checkboxes on ...
1
vote
1answer
26 views

How to control the fields displayed on Contact merge

I have an existing org, which is using a standard merge on Contact Object. My issue is that, while choosing the values which are to be reflected on the parent Contact, only 5 fields of the Contact ...
0
votes
1answer
59 views

Error with RequestsForAccessSIQ

Hi I am working in a migration of metadata from one org to another. I am having the following error related to an object called "RequestsForAccessSIQ". Invalid fullName, must end in a custom ...
0
votes
1answer
29 views

Can't retrieve non-customizable CustomObject named: ContentDocument

I have made changes to the record page of content document object, now I need to push the record page to other org. tried to retrieve the contentdocument object from vscode editor but receiving "Can'...
0
votes
1answer
31 views

Is there a way to filter results in a lookup for certain record types?

I have a lookup on a custom object to the standard object 'Products'. My custom object has 3 record types, and requires an input from the Products. But I would like to filter which Products are ...
1
vote
1answer
26 views

Can I display a standard button based on the app selected?

I have a requirement that when the user selects the Sales app, the New button on the opportunity detail page should be visible, but when any other app is selected, the New Button should not be ...
-2
votes
1answer
159 views

Self Relationship field use

I am having account hierarchy, i.e. there is one parent account and multiple child account. They are connected through Hierarchy relationship field which is lookup on the child account, i.e. on the ...
0
votes
2answers
52 views

Fetching standard object through ANT

I am facing a validation rule related issue on a field in Case object. To find the exact problem, I need to search every validation rule for each field. To do that I am trying to fetch the Case ...
1
vote
2answers
131 views

How to determine which objects do not support Modify All and View All permissions?

All custom objects and most standard objects support Modify All and View All permissions, however, some like object like Idea do not support them. Is there a way in Apex to determine which objects do ...
0
votes
1answer
31 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 ...
2
votes
1answer
176 views

SOQL query for all Users who have read access to Task object

I am trying to write a SOQL query to find a list of Users who have read access to the standard Task object but my query keeps coming back empty. Is there a better way to do this? I have a dropdown ...
0
votes
0answers
23 views

Groups object upserting return INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY exception

I use Salesforce SOAP API and try to upsert Groups. I just get data from Salesforce: "LastModifiedDate" -> "2018-04-15T11:35:25.000Z" "SystemModstamp" -> "2018-04-15T11:35:25.000Z" "...
0
votes
2answers
62 views

Mobile SDK SmartSync SFParentChildrenSyncUpTarget INVALID_FIELD_FOR_INSERT_UPDATE fields = OpportunityId

Using Salesforce Mobile SDK 7.2 for iOS with Swift 5. Attempting to syncUp an Opportunity Line Item that has been updated on the device results in the error: errorCode = "...
0
votes
0answers
50 views

Where are case comments located?

I am looking for the case comments object within Workbench, but I am unable to find where the replies are being stored. I found the main parent comment located within CommentFeed, and it also shows ...
1
vote
1answer
780 views

Is there any setting why a field is not visible in Lightning but in Classic for same user?

Why a field is not visible in lightning but in classic for the same user? Do I need to make any change?
0
votes
1answer
275 views

Validation error when creating Lead lookup field in Activity object

Validation Errors While Saving Record(s) "There were custom validation error(s) encountered while saving the affected record(s). The first validation error encountered was "Lookups on activites must ...
0
votes
1answer
22 views

Converting Generic Object to a standard salesforce object

So I have a Generic Object. And i Need that accountRecord to be of Type Account. Is there a way to directly convert it? public static Account RegisterUser(Object accountRecord){ //LOgic here } I ...
0
votes
0answers
43 views

Create common custom visualforce page for standard entities

I am trying to implement the visualforce page with in which I am showing phone number fields in detail page. For example , For any specific contact / lead / opportunity / account / cases I am ...

1
2 3 4 5
8