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

Questions tagged [object]

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

0
votes
1answer
23 views

Setting a field value to the same object with a Trigger

I have two fields. Cost_price__c & Previous_book_value__c Currently, I use a Trigger on my Asset object to create a bunch of other objects and related records. However, I need to map the field ...
0
votes
0answers
25 views

Trying to extract data from an object [on hold]

Maybe a silly question, I am trying to extract the values of an object, for some reason I get errors. In the below picture I am trying to get the value of sumchans__totalUnits__c. The value below is ...
0
votes
0answers
10 views

Unable to find records (account, contact & case) with assigned topics

My client is looking for a way to easily categorize accounts, contacts & cases by providing tags for them. I was hoping topics would be a good solution for this. There is however limited ...
0
votes
2answers
35 views

Updating a custom field with a default value of 0

I have created a custom field to track agent replies per Case, but the default value I have set is 0 (obviously) and the workflow rule I created to update this field only triggers when the agent ...
0
votes
1answer
21 views

Any pattern for merging fields of multiple objects of same type

I have a class called Texttypes and TextRoller as shown below: public class TextTypes { List<String> goodTexts = new List<String>(); List<String> badTexts = new List<...
1
vote
2answers
32 views

Force.com Project in Eclipse: OutOfMemoryError: Java Heap Space

I'm trying to load in one custom object using Force.com IDE in Eclipse, but I keep getting this error. Is there any way to increase the memory usage or prevent this error? Thanks,
0
votes
1answer
18 views

Best Practice for Canine profile

I work for a nonprofit that trains service dogs for Veteran's with PTSD and we just started using salesforce. I am the admin, and still learning as I go... I am struggling with the best practice to ...
1
vote
1answer
18 views

What objects cannot be masters in master detail relationships?

I have the following objects Training_Group_Criteria__c and Training_Group_Rule__c. I am trying to create a master-detail field to make Training_Group_Rule__c a detail of Training_Group_Criteria__c. ...
0
votes
1answer
28 views

How to carry forward a certain Value of Record to the next record without an APEX code

I have an instance of an Object, which has the variables type = x, number_of_exams = 2, previous_no_of_exams = 0. In the next instance of the object, of the same type = x, I want the ...
1
vote
1answer
21 views

Can't set a picklist default value when creating Person Account, because Person Account not visible

a bit long but I'm a bit stuck. I have Person Accounts enabled. I'd like to set a picklist default value when someone chooses to create a new Person Account. The picklist is not a controlling field ...
2
votes
2answers
443 views

The length of the first and last names

There is a Name field of type Name in Contact object. It consists of FirstName and LastName. I can query those two fields using Apex. Even though I cannot find any proofs in Object Manager of that, I ...
0
votes
1answer
20 views

Adding new field on Process Instance object

How can I add/create a new filed on 'Process Instance' object? can we add it or not?
0
votes
1answer
17 views

Edit field set description

Is it possible to edit a field set description? When I go to Field Sets -> (pick a field set) Edit I am able to edit only fields in the Field Sets, but not a description.
-1
votes
1answer
25 views

Object referencing a lookup object field is null

When creating the query for the field CPQ_Sort_Decimal__c in Product2 the data is populated correctly (Example: 0.125). When making the following query for SBQQ__ConfiguredSKU__r.CPQ_Sort_Decimal__c ...
0
votes
1answer
10 views

Do not see a few of the Contact`s fields in Setup

I run the following apex: SObjectType contactType = Schema.getGlobalDescribe().get('Contact'); Map<String, Schema.SObjectField> allContactFields = contactType.getDescribe().fields.getMap(); ...
1
vote
1answer
19 views

Can I have more than 2 previews in a lookup field?

Asset Field _ 2 previews only In this example I'm seeing 2 fields that are part of my Asset object field. I'm looking for a way to increase the fields I can see in the preview to 3 fields. Any ...
0
votes
1answer
21 views

Is data stored in an external object in Salesforce?

I am currently consuming a service from Mulesoft into Salesforce. The requirement is that the data coming will not be stored anywhere in Salesforce. I would like to know whether an external object in ...
-1
votes
0answers
25 views

custom fields not visible in object manager

I have two custom fields visible in page layout and in record page as well but I am not able to see them in the object manager I am logged in as a system admin I have read-write access for both of ...
0
votes
0answers
20 views

Access map of maps values through aura:iteration [duplicate]

I have an Apex class that returns a Map<string, Map<string,string>> and I want to use it into a Lightning Component. I declared a <aura:attribute name="objMap" type="Map[]" access="...
0
votes
2answers
33 views

Working with a generic object (not sObject)

I have a JSON string that I'm working with and want to deserialize and reference in Apex. The Problem is that the structure of the JSON is somewhat flexible. For Example, it could look like: { ...
0
votes
1answer
14 views

Is it possible to assign different page layouts to an object on different apps of one org?

I have a quick question please. This is the situation: I am connected to an org. Let's assume this org have 2 apps using the same object. Is it possible to use a different layout for that object ...
0
votes
0answers
29 views

How to create trigger when user login?

How to create trigger when user login? On what Object? I try to write a trigger on User object but can't see System.debug() message because the log file is empty after login. Thank you.
0
votes
0answers
24 views

Issue with the JSON object serialize [duplicate]

I am retrieving the list of all the fields and trying to serialize. Using the code snippet below allfieldNames contains around 400 fields but Data >>> contains information related to only 100 random ...
0
votes
1answer
14 views

Selecting a hierarchy column from the same object

I have a query I've written for the Organization/Account object SELECT ID, Name, BillingStreet, BillingCity, BillingState, BillingPostalCode, County__c, Phone, ParentId FROM Account This ...
0
votes
1answer
24 views

Control Picklist value for a specific user

Is it possisble to control picklist values to specific user..? Eg: If I add new picklist value to Account Type, that value should be available only for a specific user
-2
votes
3answers
403 views

Pass a JavaScript object to Apex controller in lightning

Is it possible to pass a JavaScript object to Apex controller in lightning? Here is what I tried: @AuraEnabled public static void changeProgram(Object info) { update new ...
0
votes
1answer
53 views

Tell a force:lightningQuickAction what object I would like to work with

I want to create a custom lightning component which would allow me to create a record of a specific object. I decided to use quick action for this. I googled the documentation over here and found the ...
0
votes
1answer
148 views

lightning:quickActionAPI alternative to call from a custom lightning app

What is lightning:quickActionAPI alternative to call from a custom lightning app? When I try to call any method from the spec I am getting the following error: The API you used isn’t supported on ...
0
votes
0answers
23 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
2answers
50 views

SOQL query to update object permission

I want to build the the query to update the object permissions to grant the read edit access of specific profile for the custom object. any idea how to do it
2
votes
1answer
78 views

Can't access to User Photo Url when Trigger

I have a problem when I trigger on the User object: I can't get the profile photo url. On this simple code I made a trigger to an User update and I send me by mail the fields FirstName LastName and ...
0
votes
2answers
36 views

How to get the value from object if having lookup reference (ID: a9l4C00000009NQZAY) in apex

I'm getting the JSON response by using the following code. LiveText__Conversation_Header__c val = LiveTextConversationMap.get(key); System.debug('Value One'+JSON.serialize(val.valueOne)); System....
0
votes
1answer
17 views

Set non Required Number field to nothing using Apex

Is it possible to set non Required Number field to nothing using Apex? If yes, than how? Because I can not just do the following: update new An_Object__c( A_Field__c = '' ); since it is ...
0
votes
1answer
63 views

Aura attribute of type List not accepting an array of objects

I would like to pass an array of objects from my js file to an aura attribute. I know the list contains values and is correct before I pass it to the aura component but the list is empty when I log ...
1
vote
1answer
35 views

Is there a way to query all fields on an object that have 'Default Value' ticked (and possibly filled in)?

Is there a way to query all fields on an object that have 'Default Value' ticked (and possibly filled in)? This should include custom fields.
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
0answers
15 views

Sync Products from Opportunity to another object

I would like to sync the products that are in any Opportunity to appear on another object when the Opportunity is "Closed Won". I am using this 3rd Party app which is for tracking projects. I ...
0
votes
1answer
239 views

How to create records of a custom object?

How to create records of a custom object? I can create a record of any standard object type (for example Account) by going to App Launcher and selecting the standard object type (for example Account)...
0
votes
1answer
37 views

Regenerate the salesforce custom object in Illuminate Cloud

How could I regenerate the salesforce custom object in Illuminate Cloud? I need to do that because there are some fields which were added to the object after it was generated by the Illuminate Cloud. ...
0
votes
0answers
21 views

SFDX Exports Ballooning in Size

I've got a scheduled job that pulls down a complete snapshot of some objects' data from Salesforce using the sfdx CLI. I store this data on S3; it's useful for backup purposes and some analysis. A ...
0
votes
0answers
18 views

Why I can not see the Email field for User object when using Object Manager?

I can not see the Email field on the object User while viewing it in Object Manager. Here is an attached screenshot(I sorted by field name and the email is missing): However if I am looking in the ...
0
votes
3answers
40 views

Give a User access to two Fields on an Object

This seems like an easy thing that i'm absolutely pulling my hair out over. I have a couple of back office workers that need access to edit Opportunities (two fields only) - Ive set up a page layout ...
0
votes
1answer
28 views

SOQL Query for Related Custom Objects

I'm currently trying to write a SOQL Query to pull all Accounts that have < 5 related Contact objects AND No related ts2__Placement__c objects (custom object). I have successfully been able to ...
5
votes
2answers
90 views

In Apex, can I detect if an Object is a Map, regardless of parameterized types?

When I declare a Map, I need to give the types, e.g.: Map<Id, SObject> sObjectByIdMap = new Map<Id, SObject>(); We can assign map to generic values as Objects: Object value = ...
0
votes
1answer
71 views

Convert Multile Objects to a single json

I have a list of map and list objects. These objects needs to be sent as json content in an http request. The objects are Map<String,String> leftFileParameters = new Map<String,String>()...
0
votes
1answer
128 views

Can we search a record in big object?

Here's my question on big objects: can we search a record under big object? I just want to search and show an account record based on account name, where I am storing about 300,000 records of ...
0
votes
1answer
65 views

How to invoke Blob setter method?

I have a class with the following getter/setter: public Blob csvFileBody{get;set;} I have a test method from where I need to invoke the blob setter from the controller class. Please advise how to ...
0
votes
1answer
79 views

Displaying Specific record on pdf from a custom object using SOQL Query in Apex class

Please i'm new to visualforce and Apex classes. I need help displaying a specific record from a custom object on pdf format using the record id or a unique identifier as parameters. right now i can ...
0
votes
1answer
55 views

Reasons for not using Standard Object [closed]

I have been searching on the Internet for the disadvantage of using account Object. I am new to SF. I recently developed a system using custom object. Now, one of the developer asked me, Why i did not ...
1
vote
1answer
220 views

Compare same Object types dynamically

How to compare two types of objects (NOT SOBJECTS) at runtime? Example: Object ob1 = (String)'ab'; Object ob2 = (String)'ab'; Apparently if I debug ob1==ob2 gives me false. (false statement, see ...