Skip to main content

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
21 views

Query to get all metadata created by a user

We are required to deactivate a user account that owns so many flows, triggers, and classes in his name. What is the best way to get all metadata owned by him and then transfer to another admin? I ...
Gathi's user avatar
  • 1
-1 votes
0 answers
11 views

Duration sums in the Developer Console

I create an Opportunity via the REST API - sometimes it's fast, sometimes it's just incredibly slow. I'm trying to debug this but I can't make sense of the numbers as they literally do not add up. The ...
Semmel's user avatar
  • 2,507
0 votes
1 answer
89 views

Developer Console - exporting query results

Export Results from Developer Console - Query Editor? @NGix provided this console command in response to the above request. I am hoping that someone could help me understand what it is doing and how ...
Joshua Anderson's user avatar
0 votes
1 answer
28 views

Developer console viewing issue

I do not see developer console on my interface from setting menu. Any particular settings that need to be done in my case?
Saripilli Ramya Jyoshna Yadav's user avatar
1 vote
1 answer
55 views

Quick way to update all objects on a Perm Set to "Read Access"

Going through Setup > new Permission Set... it seems it would take a long time to update all Objects to Read Access, and make sure Edit Access = false. Is there a faster way in Workbench or ...
Ryan McNeely's user avatar
0 votes
0 answers
61 views

Developer console not recognising startTest() and stopTest()

I am creating an Apex class that uses the @future annotation to update Account records and this is my Account Processor: public without sharing class AccountProcessor { @future public ...
MrEnigma's user avatar
0 votes
1 answer
24 views

Developer Console : Log Columns > Where do values come from for 'Application' column?

Typically, the Application column's value in the Developer Console's log tab = Unknown. Is is possible to use it to display the apex class name that originated the logging (or another arbitrary value)?...
Shaun McArthur's user avatar
0 votes
1 answer
146 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
  • 532
0 votes
0 answers
30 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,667
-1 votes
1 answer
40 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
  • 3
0 votes
0 answers
51 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
94 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
137 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
284 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
68 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
173 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
76 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
67 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
179 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
72 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
97 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
74 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
206 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
325 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
2k 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
28 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
159 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
404 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
105 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
55 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
218 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,331
0 votes
1 answer
678 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
503 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
52 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
313 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
541 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
  • 977
9 votes
2 answers
2k 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
228 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
562 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
186 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
51 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
  • 980
0 votes
0 answers
110 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
980 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
640 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

1
2 3 4 5
10