Questions tagged [developer-console]

The Developer Console is an integrated development environment with a collection of tools you can use to create, debug, and test applications in your Salesforce organization.

Filter by
Sorted by
Tagged with
0 votes
1 answer
67 views

SOQL in Developer Console returns just one record for FieldDefinition object

Why does the Developer Console return just one record in a scratch org when I query the FieldDefinition object? The header says 46 rows, but it shows only one in the data table.
dev4life's user avatar
  • 430
0 votes
0 answers
23 views

run a script in the the developer console while implementing interface [duplicate]

I'm trying to run a script from the developer console with the queueable interface implemented, but the execute method isn't called. code to put in Execute Anonymous Window in the developer console: ...
Json's user avatar
  • 1,587
-1 votes
0 answers
32 views

Build a record relationship cloud/tree/star

I've been trying to find a source to get information on how to create a "record relationship star, tree or cloud". We have an object that relates two person accounts, in order to establish a ...
Bernardo Lira's user avatar
-1 votes
1 answer
24 views

How to disable inlinedit option on list views for a specific profile only?

How to disable Custom list view inline-edit option for fields for a specific profile ? .
Basha's user avatar
  • 1
-1 votes
0 answers
50 views

Apex class not found in change log levels of developer console

I have a class which is Active and appearing in the developer console. But I can't see the same file while selecting the file name in change Log level for that class. Below is the screenshot where I ...
Saurabh's user avatar
  • 25
0 votes
0 answers
40 views

How to escape # in the redirect_uri for OAuth2?

I am redirecting user to salesforce for OAuth. It is giving me the error that unsupported response_type. When i debugged in the detail then i found that it is due to # in the url. How can i escape #? ...
Bhaskar Dabhi's user avatar
0 votes
1 answer
52 views

Invalid type: DescribeLayoutResult in salesforce apex class

Below is the apex method and I want to set layoutResult as type DescribeLayoutResult but problem occurs saying ' Invalid type: DescribeLayoutResult '. Apex is in latest version. public static void ...
Nandini Sree V S's user avatar
0 votes
0 answers
61 views

I can't find in salesforce, or using query editor in the developer console, custom object records that have been created in apex

I'm running apex code that creates related records for a custom object when a record is created or updated. The code runs without errors however I cannot see any of the related records in Salesforce ...
lhh13's user avatar
  • 41
0 votes
1 answer
119 views

How to execute apex method only on first button clicks , Restrict apex method calling for further clicks? [closed]

I Have a requirement to call the apex method only once after the first click of the lightning button. For the next time button click the requirement to stop calling apex method ones again. For that, I ...
Basha's user avatar
  • 5
0 votes
1 answer
56 views

How to stop apex methods runs every by clicking lightning button?

After clicking a lightning button processing "changeOwnerCase" method logic but here how we can restrict this method should run only one time instead of running everytime button clicks. ...
Basha's user avatar
  • 5
1 vote
1 answer
131 views

After updating to Chrome 118 I have lost Authored Sources in Developer Tools

I'm not sure about others but I use the Authored vs. Deployed Sources feature of Chrome Tools extensively when debugging Lightning Web Components. Rather than viewing Deployed (compiled/minified) JS ...
Tony's user avatar
  • 31
0 votes
1 answer
44 views

No ATTRIBUTE named foo:bar.attribute found from a managed package

I'll try to be brief as I'm sure this is a basic skill issue with an obvious solution that I'm missing: I have installed a managed package from AppExchange containing an aura component (From here on ...
MrBeverly's user avatar
0 votes
0 answers
60 views

Validation error is not coming up and page is not responding after clicking button

I'm trying to show some validation error on my aura component for lightning:select field before saving the field must have some value if not selected picklist value trying to show some validation but ...
Basha's user avatar
  • 5
1 vote
1 answer
94 views

There is a way to download developer console debug logs filtered?

Hi Guys! There is a way to download developer console debug logs filtered? I made this filter on developer console and my wish is to download only this and not all debug file.
Hugo Corrêa's user avatar
0 votes
1 answer
56 views

How to read the user Ids from given Query? [duplicate]

I'm trying to fetch user id's from the below SOQL query please help List<Id> userIds = new List<Id>(); List<CaseShare> csList = [select id,CaseId,UserOrGroupId from CaseShare ...
Basha's user avatar
  • 3
0 votes
0 answers
76 views

Salesforce API to retrieve files with size 2GB

So, we upload files approximately with size of 2GB in salesforce cases in lightning. What would be the best way to receive it? (Download through api). Currently, I use /ContentVersion endpoint to get ...
anyman's user avatar
  • 1
0 votes
0 answers
64 views

Can I test live support via Embedded Chat without Chat User license?

The company I started to work for has asked me to fix the Embedded Chat, but I have no experience with Salesforce and can't find an answer to my question so far. The company has Service Cloud licenses ...
cawecoy's user avatar
  • 101
0 votes
1 answer
140 views

SOQL query not working with GROUP BY in semi-join

Why is this SOQL query not working? I'm trying to retrieve duplicate accounts, by I need the Id for each specific account that's why I didn't just use the subselect query which would give me a grouped ...
Hebano Duffrayer's user avatar
0 votes
0 answers
34 views

Test Class Code coverage Issues [duplicate]

I'm writing a test class for my controller and unable to cover some of the lines and now the code coverage is 74%. Can you any one please sugegst how to cover the lines which are not covered. ...
Sekhar's user avatar
  • 1
-1 votes
1 answer
224 views

Variable does not exist:OwnerId while saving Apex Trigger Handler Class

I have added a new single line code, and i am receiving the below errors attached in image, Kindly help me in resolving the same.
Vidya's user avatar
  • 1
0 votes
1 answer
1k views

New fields for Contact (GenderIdentity and Pronouns) not returned by SOAP API v57

The reference page here and the documentation here indicates that there are two new fields on the Contact object called GenderIdentity and Pronouns that should be available with v57 of the API. But ...
VMS's user avatar
  • 89
0 votes
0 answers
25 views

Help with SamlJit Handler regarding querying total number of profile license

We activated SSO in Salesforce and Azure, the users that will login to the community portal should have the license Salesforce Platform. How can I query this profile license in the SamlJit Handler and ...
Bibs's user avatar
  • 1
0 votes
1 answer
131 views

Illegal conversion from String to Boolean

Hope all are doing good! I'm facing an issue on returning the error messages on top of page if the field value is BLANK. Kindly please check below code once correct me if I'm doing wrong at anypoint. ...
Nitish's user avatar
  • 1
1 vote
1 answer
1k views

Salesforce Platform API Versions 21.0 through 30.0 Retirement

I received an email "Salesforce Platform API Versions 7.0 through 30.0 Retirement". I am new to my org and I managed to see the list of installed packages, I then run a query to get the list ...
Valentina Novara's user avatar
1 vote
1 answer
305 views

Invoke Opportunity Territory Assignment filter from another class

Can I invoke from another apex class, lwc or flow, ready-made filter class by salesforce (which described here)? I tried invoke it through anonymous window in dev console, used next lines of code: ...
Bob Greed's user avatar
3 votes
1 answer
92 views

Query Plan Optimizer Questions

I have used 2 filters where both are inclusive. However one was indexed and the other was not. Because of the non indexed field, I assumed a full table scan would be used. However, the screenshot ...
some guy's user avatar
  • 141
0 votes
1 answer
1k views

Pass parameter to apex class method referenced in trigger through LWC

I have a trigger where I'm calling a method from handler class and I'm passing the trigger.New to that method like this: if(Trigger.isBefore && Trigger.isInsert){ List<Lead> ...
Aditya Deshmukh's user avatar
0 votes
1 answer
48 views

Unable to find action 'deleteItem' on the controller of c:RosterLineItemCmp

I am am really new to the development console on SF but I saw a pre-set resources and was messing around with it to make a few action button. All worked except for the one that I edited to remove a ...
Rihco's user avatar
  • 3
0 votes
0 answers
178 views

Is there a way to fetch the query plan for or insights about any specific SOSL execution?

Is there an alternate way to fetch the query plan of a SOSL execution (other than thru Developer Console > Query Editor)? My objective is to get some insights about any specific SOSL execution (...
arut's user avatar
  • 5,271
0 votes
1 answer
567 views

How to fix error in develop console: Failed to save test.cmp: Invalid attribute "name": Source

I am trying to show data of object. Object: test.apex: public with sharing class test { /** * Webkul Software. * * @category Webkul * @author Webkul * @copyright ...
Bohdan V.'s user avatar
-1 votes
1 answer
326 views

Using Developer Console Query Editor to delete multiple items

I need some assistance with a message I came across while trying to delete multiple items from SF (less than 3K items). I used the query editor to see the items I need to delete but when I select the ...
Krsna Barquero's user avatar
0 votes
1 answer
51 views

I couldn't manage to run the trigger test successfully

I am trying to test a trigger which is as follows: When an account is updated, if more than 30 days passed after the created date of the child opportunities and stage is not "Closed Won", it ...
Ceylan Kesenek's user avatar
-1 votes
2 answers
2k views

How can I see which unit tests test a specific class?

I have test coverage for all classes but how can I see what exact unit test class provides the test coverage for that class? Let's say I have a class: AttachmentsController - how can I see where that ...
SFGest's user avatar
  • 1
-1 votes
1 answer
268 views

In the developer console Objects [closed]

In the developer console when you go to file open you can choose an Entity Type of Classes, Triggers, Pages, Page Components, Objects, Static Resources, and Packages. In my org there are 2 Objects ...
Kibwe nanomedicine's user avatar
1 vote
1 answer
401 views

How to determine the object type pointed to by a reference type?

I have an Account object with a custom field, manager__c. The custom field type is reference. Using the developer console, how do I find the object type pointed to by an instance of manager__c. I have ...
James's user avatar
  • 113
0 votes
0 answers
1k views

Can't view debug logs in Developer Console - Failed to load data Log from Salesforce.com: Salesforce automatically deletes system logs 24 hours

The following error is coming up in a Sandbox Developer Console no matter what I try and it's been like this for weeks. Video: https://www.screencast.com/t/ULztMIi0edS0 Failed to load data Log from ...
rmarq423's user avatar
  • 967
9 votes
2 answers
1k views

Error when trying to view logs in Dev Console

I'm trying to view logs in the Developer Console. Whenever I try and view the log I get an error message. Failed to load data Log from Salesforce.com: Salesforce automatically deletes system logs 24 ...
James's user avatar
  • 337
0 votes
1 answer
197 views

Refresh lightning:picklistPath

I'm using the standard lightning:picklistPath component. I'm using the onselect handler to persist the change to the picklist to the database. <lightning:picklistPath recordId="{!object.id}&...
windman's user avatar
  • 43
1 vote
2 answers
449 views

Can a @wire method be used in the developer console?

I am getting the correct output in the console query editor but when I use the lightning component in an app the data is not showing. The table which I query I get the name of the object but its look-...
Sean's user avatar
  • 51
-2 votes
1 answer
180 views

How can i execute the soql in apex in the salesforce developer console? plz help me!

I made a apex class named "FilteredTableControllerTest". and I want to execute this class so that i put FilteredTableControllerTest.testCases(); Debug > Open Excute Anonymous Window >...
Yeonbi Ji's user avatar
1 vote
0 answers
47 views

Why does the Dev Console stop reporting All Tests coverage?

I have wondered this for a while now - sometimes when using the developer console, and running tests, the console stops listing the percentage of coverage next to "All Tests" in the upper ...
number41's user avatar
  • 948
0 votes
0 answers
94 views

Code Coverage On FinServ Batch Job

I am new to Apex and am having a lot of trouble getting the code coverage to 75% on the bellow Apex Class. I had previously posted on the dev forum for salesforce and got coverage up to 71% by just ...
Inez Hernandez's user avatar
0 votes
0 answers
1k views

How to prevent the symbol "&" from being replaced by "&amp;" in the URL?

string redirectURL= URL+'OppId='+oppId+'&Country='+country+'&Lang='+lanag+'&Status=Approved&QuoteId='+quoteId; As mentioned above is URL is used for a certain function. But when the ...
RAJAT MAJUMDER's user avatar
-2 votes
1 answer
870 views

System.LimitException: Too many callouts: 101 Error [closed]

I have this below code which is pushed to prod. Where in I am trying to make callout in future method to update lat/long values on Standard location Trigger, and each time the records are processed i ...
Harry's user avatar
  • 13
0 votes
1 answer
537 views

How to stop Developer Console window from being tiny?

When I start the Developer Console, it immediately changes it's size down to a very tiny window. Even though I drag it open, it never remembers the new size and always goes back to being small. Is ...
mannaggia's user avatar
  • 101
0 votes
1 answer
268 views

How to use Dev Console to search for User?

I'm in a new org that has 600+ Approval Processes and hundreds of custom approval processes that's a custom object. Is there a way to just input "John Smith" in the Dev console and see ...
Guest Guy's user avatar
1 vote
1 answer
519 views

Developer Console: Keep constantly open without stopping producing debug logs

If i open developer console and leave it open without any activity, i get a message after (e.g. 1hr) that "Your Developer Console session has been idle. To resume logging and listening for ...
Giorgos Galaios's user avatar
1 vote
1 answer
64 views

Developer Console Log Application 'Unknown'

I have a question, why the application is named as Unknown? Im creating a new Account from an External App. Thanks!
Martin Gamboa's user avatar
0 votes
1 answer
2k views

SOQL Query for Manually Assigned Accounts in a Territory

The goal is to query all Manually Assigned Account on a particular Territory. If possible, a query that can be run through Developer Console/Workbench. Is this doable? I can't seem to find anything ...
VanceSOQL's user avatar
  • 103
0 votes
1 answer
394 views

Developer console shows line breaks when there are none

We have some EmailMessage records where the htmlbody field has its value from the textbody of email records taken from Microsoft Outlook using the Graph API implying there should be no newline/line ...
Doodool_Tala's user avatar

1
2 3 4 5
10