Questions tagged [object]

Referring to an instance in object orientated programming, but within force.com more likely refering to an entity or sObject.

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

How to populate Parent Object selected Pick list value to child object Pick list after click on standard NEW button of child object?

Basically "ACP" is a custom object related to Account. There is a "Vertical" picklist filed on account object. This Vertical picklist also on ACP object as controlling picklist. ...
0
votes
2answers
37 views

LWC JavaScript: Can't Add a Property to Objects While Looping through an Array of Those Objects

I'm trying to loop through an array of objects and add a property to each that meets certain criteria. Here's the snippet: onRecordEditFormLoad(event) { let tempFieldWrapperArray = this....
1
vote
1answer
18 views

FSC does not deployed Action Plan

It is supossed that Financial Services Cloud deploy the Action Plan functionality. In my case, I have already installed and configured FSC but I can't see the Action Plan object in Object manager ...
3
votes
1answer
90 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
30 views

View list of objects which has any of it's standard button overridden by LC

I have an existing application, which has around 100 objects. My requirement is to check all the objects which have any of their standard button/quick overridden with a lightning component. Doing ...
0
votes
1answer
19 views

SForce Partner Client Create Object with RecordType

I have a PHP web application using the SForce Partner Client to connect with Salesforce. I am creating a new Record Type for a custom object. How can I insert a record with that new Record Type in ...
2
votes
1answer
32 views

Send only udpated fields instead of all the field information

I am integrating an external system with Salesforce and I am sending certain information to the other system from Salesforce once a record is created or updated. I wanted to know if it is possible to ...
0
votes
1answer
27 views

Update SFDC's Date field from Journey Builder

A journey with entry source as Salesforce data, needs to update the Salesforce record's field with TODAYs date. How to achieve this from OBJECT ACTIVITY update or any approach?
1
vote
1answer
33 views

Search in lookup fields [closed]

I want to global search in Salesforce Lightning for a particular field in my custom object which is related to another custom object. Consider, I have two objects A and B. Object A contains: f1 f2 .....
0
votes
2answers
39 views

How to get value of a record after parsing [closed]

I have parsed an object and want to get a value. How do I achieve this. Its a little confusing for me, is this a list I have to loop trough or an object. My debug shows the following: oldList: ...
0
votes
1answer
27 views

Dynamically checking the values of a wrapperClass for a validation

I have a wrapper class. public class wrapperClass{ String s; Date d; Integer i; Id id; } There are different operations for which certain fields are required on these wrapper object. Example 1. for ...
0
votes
0answers
55 views

How to display list of patients in a aura component?

I am new to Salesforce and I currently want to display the list of existing patients in a aura component using the lightning datatable. So ,there are many objects in salesforce like Account, Lead, ...
0
votes
2answers
21 views

Return fields not specified while inserting a record

I have a simple insert method in a test data factory class. However, I noticed that in the returning record, only the Id and Name are returned. I'm assuming the name is returned because I have ...
0
votes
0answers
28 views

“object Object” error message for ST Field Set Form

When using the ST Field Set form, I'm getting an error when referencing 10 project fields on the field set 'Client_Field_set' . I'm logged in as a system admin, so have edit access to all the fields ...
1
vote
0answers
7 views

How can i gain access to the CorsWhitelistEntry object?

I'm trying to get all the cors whitelist right when my applications starts uploading and i have no trobule doing so as an admin. The problems appears when i log in a standard user. I'm getting an ...
1
vote
1answer
38 views

Object Permissions from permissions sets don't work as expected

What does the " -- " in the type of permission object? I need to set this to readOnly
0
votes
0answers
21 views

Access Parent inner class using child class name

I was working integration part, so i need to create a few DTO sample to convert JSON to Object and Object to Json. In my case most part of the Json used remains same for different request and ...
0
votes
1answer
58 views

Check points in Developer Console to see variables values

Instead of using System.debug() to see the variables values, Is possible to set checkpoints in developer console?? I have done that like this: line 34 (Checkpoint) Integer i = 5; Then I click the ...
2
votes
1answer
46 views

How to specify an object definition in custom metadata type

I am building an aura lightning:datatable. For flexibility I am specifying each column definition in a custom metadata type record so that when a column needs to be added or removed, have its title ...
0
votes
1answer
46 views

Can I query email messages sent by Email Alert feature?

SELECT COUNT() FROM EmailMessage does not change after sending an email using the Email Alert feature. I compared it to emails sent from Apex, and created manually, from Case: [Process Builder + ...
0
votes
1answer
399 views

Javascript Object Constructor in LWC

How would one go about creating a javascript object (not literal) in LWC? i understand the standard syntax of something like function bar(dog, cat) { this.dog = dog; this.cat = car; this....
0
votes
1answer
242 views

Using Junction object to display related list

Problem: I need to create a way to view two related fields on a given record between two different custom objects. I have looked up junction objects and it seems that this will be the best solution. ...
1
vote
2answers
170 views

Visual Studio Code debugger - how do I see content of object or map?

I've started using Visual Studio Code to run through my debug logs, but am not seeing the content of certain types of variables and am wondering whether I'm just missing something or whether this isn'...
0
votes
0answers
31 views

Error while querying ThirdPartyAccountLink object

I have an external authprovider which our external users will login to Salesforce using that. I want to know total count of active ones who logged into Salesforce using that SSO Provider name. below ...
0
votes
1answer
76 views

What is the leadChangeEvent object?

I've Googled this and found literally no documentation. What is the function of the leadChangeEvent object?
1
vote
1answer
1k views

How to Create an Apex class that returns Account objects

public class AccountUtils { public static void accountByState(){ List<Account> myAccounts = [SELECT Id, Name FROM Account]; } } Why my code doesn't complete the challenge ...
1
vote
2answers
147 views

Can you change set a Big Object?

I am trying to change set a big object from my developer sandbox to a full sandbox. I have seen here in the dev notes that it can be done via the metadata api. But nothing about changesets. So I ...
0
votes
1answer
33 views

Before Insert or Upsert list must not have two identically equal elements even after instantiating within for loop

I have created this following class and test class below. My question is in my class in Line X(commented line X) if i use that instead of Line Y I am receiving the above mentioned error. I put the ...
1
vote
1answer
96 views

User Object - Lastvieweddate & lastreferenceddate

Referring to the User object in particular, what exactly do the fields lastvieweddate and lastreferenceddate refer to? Is the lastvieweddate the last time the user viewed his/her own user information ...
0
votes
1answer
36 views

Why Salesforce has changeEvent version of object in org(even though it is not enabled)

I was browsing my org, and found that changeEvent type of object is available, whereas I did not have it enabled for any object. Doesn't it make available if and only if it is enabled(like share ...
0
votes
0answers
166 views

Where can I find the list view for queues

I am trying to create a package for migration. I am getting the error: "ListView - LiveChatTranscript.Queue1_LiveChatTranscript - The queue queue1 has not been setup to support the object: ...
0
votes
1answer
15 views

return to newly custom object created page [duplicate]

I am creating a new object with an apex class and a controller. My goal is when I call my method that create a new instance of that custom object, to redirect me to the page where the new object is. ...
0
votes
0answers
47 views

Convert object into a custom object

we parted our workflow into 4 different objects on salesforce. These are: Lead Opportunity Deal Exit Each of these objects includes different phases and I would like to create a new record in the ...
0
votes
0answers
12 views

Tooling API to fetch Duplicate Objects/Fields

I want to fetch duplicate object and field information before deploying my package to another org. Is there any pre build tool or tooling API reference that can resolve my problem?
-1
votes
1answer
26 views

custom object multiple creation

I have a visual page that create a custom object with : public JSONDeserialize (ApexPages.StandardSetController con) { control = new AKTARUS__c(); } at =[select account.ID from account where ...
0
votes
1answer
30 views

Required field missing account current object

I created a custom object, with a button to my visual page. When I click on my button, I get the good redirection. The problem is that I am trying to insert in my custom object (child of account) ...
0
votes
1answer
79 views

Flow and capturing Display Text on screen

I am attempting to build a guided actions list using flow on the leads object. What I've completed so far is: Assigning RecordID Getting Lead fields Screen that displays 3 questions (Display Text) &...
1
vote
0answers
60 views

write SFMC [Script activity] [SSJS] object Properties to a DE

i my objective is to write object properties(Folder, DE , etc) to a DE , how can i achieve this? here i tried, unsuccessfully, to write folderID to DE column ID , eventually i would like gather all ...
0
votes
1answer
128 views

How to get recordtypeid from generic object

I want to be able to pass an object, and recordtypelabel as string into a controller and get the recordtypeId. How do I achieve this. I currently get variable does not exist for the custom object. @...
0
votes
1answer
176 views

Get data from multi level json string

I am getting some data in response to my code which is a JSON string as: HTTPResponse res = {"id":2048,"extension_attributes":{"stock_item":{"stock_id":1}}} Now to retrieve data, I've done Map<...
2
votes
2answers
243 views

DX packaging with feature standard object?

So this is a weird scenario that I can't seem to find answers for. My team wants to push for the Salesforce DX Unlocked packaging strategy in a few months. First off, its annoying because I have to ...
0
votes
1answer
33 views

How to add Account (child) to Entity (parent) object

We have Entity object, which is the collection of all the Account. Now I want to change the Account And put it to another Entity object but I am getting some Error: Apex trigger onAccount caused ...
2
votes
2answers
606 views

Is it possible to dynamically set properties of an `Object` using Apex?

Background I would like to be able to dynamically set properties of an Object (not SObject). Given this class: public class Invoice { public String Ref { get; set; } } I would like to be able ...
0
votes
1answer
44 views

Invalid conversion from runtime type List<ANY> to a wrapper class

I have a Map like this: Map<String, Object> seeMap = (Map<String, Object>) instance; system.assert(seeMap.get('fish') != null, true); // this assert passes System.debug(seeMap.get('fish'))...
0
votes
0answers
46 views

How to store a collection type (set, map, list) on a object?

I have a visual-force page which displays an Apex form with some dynamic number of input text fields that I would like to save on the Opportunity object. Is the easiest way to serialize them as JSON ...
0
votes
1answer
465 views

How to get value from object Json.deserialize

I have deserialized a JSON object as follows: MyObjects MyA = (MyObjects) JSON.deserialize(req.requestBody.toString(),MyObjects.class); When I do MyA.get('Accounts') my result is as follows ({...
1
vote
1answer
210 views

ERROR: No AuthInfo found for name [object Object]

Ad the title described, I have the following error: ERROR: No AuthInfo found for name [object Object]. What i did was to install a whole new clean visual studio code, with the related salesforce ...
0
votes
1answer
147 views

How to check account is lookup of how many object

How i can check if account is lookup in any other objects in salesforce.
1
vote
1answer
102 views

How can we convert XML to Native Objects when the XML includes “Date” and “Time” as elements?

I'm currently trying to determine whether we can replace our company's convoluted XML processing solution (based on XPath) with one based on @SfdcFox's XmlToJson solution. Unfortunately, the XML we ...
0
votes
1answer
256 views

Get Object id using rest api

Is ther any unique id available for object. If yes, How to get a object's unique id ie.object_id using rest api.