Stack Exchange Network

Stack Exchange network consists of 175 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 [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.

-2
votes
0answers
13 views

Unable to get Campaign in Lead even there is standard lookup [duplicate]

I try to fetch the lead records as List<Lead> ld=[Select id,name,Campaign from lead]; but I am unable to fetch the records. it showing an error ERROR:-No such column 'Campaign' on entity 'Lead' ...
0
votes
1answer
23 views

Console No Response Problem

When i try to access object from developer console i get an error like below picture. Also, when i use query editor and update some value on console, i get an error like below picture. One more, ...
0
votes
1answer
29 views

Salesforce DX Usage with Classic and team work using scratch org

We are currently using Salesforce Classic and we have developers outside of United states using the remote desktops to login to the client machine and then using SF. I have seen the seminars for SFDX,...
0
votes
3answers
49 views

Opening developer console from drop down fails?

Fails to open in same window in Classic Experience... it works before and i use to open in same window in different tab , is there any update in salesforce org ??
1
vote
1answer
29 views

Capturing Lightning Performance (Page Load Time) without any special tools?

I have been requested to come up with a report or analysis that could "show performance of the page load for a certain period of time or something similar" Business problem: Some customers currently ...
3
votes
1answer
41 views

Unable to open the Developer Console's command line window

I'm unable to open Developer Console's command line window (CTRL+SHIFT+L) in both Chrome 73 and Firefox 66. Oddly though, this seems to work just fine in Internet Explorer 11. If I open Chrome's ...
2
votes
1answer
50 views

Didn't understand relationship 'Opportunities' in FROM part of query call

This is a real estate development that has a Development object and a Property__c object. Properties can be related to a Development or not. Also, properties are tied to opportunities. Now I need ...
12
votes
1answer
162 views

Developer Console suddenly truncating System.Debug output

Like many devs, I use JSON.Serialize() with System.Debug() to output large lists/objects to the Debug Log when needed. Over the past few days, I've run into a new issue with Developer Console where ...
2
votes
2answers
118 views

system debug messages get trimmed

I have an issue where i run an apex class and print some objects along the way to log using System.debug(). my problem is that for some reason, the log rows are getting written, but the value of the ...
7
votes
4answers
890 views

Is Developer Console going to be deprecated?

Since LWC was released without support in the Developer Console. Also, not intention to some kind of DX support I'm wondering is it going to die? I google it and look for some official or unofficial ...
4
votes
1answer
48 views

Are Apex tests run differently depending on how they are started?

So I have this test Class, when I run the test from inside Salesforce it fails. When I run the test from the Dev Console it passes. Why are the results different when I invoke the test from a ...
3
votes
0answers
52 views

Mass delete Debug logs using Developer Console: Invalid cross-reference id

Given warning in Developer Console that Debug Logs exceeded limit and some must be deleted in order to set new trace flags execute in DC (via Tooling API option in Query Editor) Select Id from ...
4
votes
1answer
37 views

Checkpoint Data Incomplete?

I'm trying to debug a production issue, and the existing debug logging is not sufficient. This seems like a great use for a Checkpoint. I added a checkpoint, ran the code, and viewed the Checkpoint. ...
0
votes
1answer
24 views

Developer Console Syntax highlighting messed up when included script tag in Visualforce

When script tag is not there When script tag is there Can anyone point out what is going wrong there?
1
vote
2answers
93 views

Create List of Strings from Another List of Object Records

I am new to Salesforce development and I am trying to practice by creating a list of strings deriving from another list of object records created from a query. My code is the following.... public ...
1
vote
2answers
411 views

Lightning Web Components development

I just went thru the Trailhead for Lightning Web Components. It appears that to develop, you need to use Visual Studio Code and then use the SFDC CLI tool to deploy. Is there any way to develop ...
0
votes
1answer
83 views

How to preview lightning application in browser directly from force.com ide eclipse

I am new to Salesforce technology and I have practiced basic lightning course in Salesforce developer console. I am trying to implement same in Eclipse IDE with force.com plugin. I have imported all ...
1
vote
1answer
29 views

Tests tab Run All total column value

I did a 'Run All' for my tests from Sandbox Developer Console. Under the tests tab, there is a column named Total. For my all tests it is shown as 8. In my org I have around 200 test methods which ...
0
votes
0answers
14 views

Developer Console 'Enqueued Time' is not displaying for asynchronous test

I see the 'Enqueued Time' value is not displaying for asynchronous apex tests in the Developer Console. I also saw a few days ago, the date was incorrectly displayed. Date of test was 10th December, ...
0
votes
2answers
43 views

Running an APEX class in Production, what are @isTest?

I'm trying to learn about apex test classes, I have attached the below code. I can't execute this in production developer console, but works fine on my sandbox. I was asked to write a @isTest, is this ...
16
votes
1answer
86 views

Why is Query Plan not working in Developer Console in Winter '19 orgs?

When attempting to generate a Query Plan in Developer Console in a Winter '19 org, I receive a generic "sObject Type 'xxxxx' is not supported" error. For example, when I use a basic query such as: ...
1
vote
0answers
31 views

Developer console log not showing details

I am not sure what happened to my logs. I am setting up/testing a JIT handler to create new users & contacts when they log in via SSO. Yesterday, every time I logged in I would see a log entry ...
2
votes
3answers
226 views

Execute scheduled Apex class code on the Developer console

I have the following scheduled Apex code, I want to try it out on the developer console, as salesforce scheduler offers to the run the code, once an hour only. global class examExpiryAlert implements ...
-1
votes
0answers
7 views

RetRUL used in Custom Button URL Type in salesforce opening up page in Classic view in place of Console layout

I have created a URL type custom button on Case with URL which is triggering a flow and then retUrl={!Case.Id}. Whats happening is when user clicks on the button. Flow is triggered and process works ...
8
votes
1answer
78 views

Developer Console query on EventBusSubscriber returns only 1 row

This is too weird and just started happening within the last few days Execute this query in DC (V43 or V44) SELECT Id,LastError,Name,Position,Retries,Status,Tip FROM EventBusSubscriber In DC Only ...
0
votes
2answers
35 views

Checkbox similar to Email opt-out [closed]

How can I create a checkbox similar to Email opt-out which has the same functionality?
1
vote
1answer
45 views

Avoid “Variable Assignment” log event creation

Due to Salesforce logsize limit (250 MB) I have to reduce the log file issued from one of our process in the org. After a lot of code-optimization and removing all useless statements the logfile is ...
1
vote
1answer
41 views

custom button on opportunity - visualforce with javascript

I need help. I have a visualforce page named "Edit Quote". I need a button to open this page on lightning. since javascript is not supported I created a button to open another vf page names “...
1
vote
1answer
54 views

Tooling API Queries in Dev Console only show one row

When submitting a SOQL query in the Dev Console using the Tooling API only one result row shows, even though more overall rows are returned, as confirmed by the "Query Results" notice above the ...
0
votes
3answers
149 views

JSON.exceptions when inserting JSON objects inside a larger whole

I'm strongly considering going the JSON.serialize route suggested here, but before I do, I thought I'd throw this up here. (I prefer JSONGenerator, in theory, because I can specify the field names, ...
0
votes
0answers
45 views

How to populate Salesforce Standard Lookup Fields on a Standard Page Using URL Parameters

this is for Custom lookup fields : CF00Ni000000EpsgO_lkid={!Opportunity.Id} for standard lookup fields there is no id, So how to use standard lookup fields in url hacking
-2
votes
1answer
1k views

I need to sent the body in form of Form data

I am posting the data to endpoint url through http callouts from developer console and getting response "200 ok" and in body of response i am getting an error message of "{"IsSuccess":false,"...
1
vote
0answers
26 views

Wish to prevent agent closing tab in service console

I am trying to find a way to stop agents from closing their tabs in service console if they have unsaved changes in tab. I am using sforce.console.setTabUnsavedChanges to accomplish this. I know i ...
1
vote
2answers
46 views

IF clause in VF page to render PDF

Below is my VF code, I need to render my PDF only if status__C = approved. How to achieve it. I'm new to development <apex:page controller="MyController" renderAs="pdf" applyBodyTag="false"> &...
1
vote
1answer
210 views

Moved Anonymous window above Dev Console Header, Now cannot reach movement handlebars

I was moving the Execute Anonymous window and accidentally placed it above the outer margin of the Dev Console. Now because I am no longer in the act of moving the small window I am unable to click on ...
0
votes
2answers
127 views

DML Error After Rollback

Below is my code which I'm executing in developer console. Contact con = new Contact( LastName = 'JOHNSON', LeadSource = 'Web'); Savepoint sp = Database.setSavepoint(); insert con; Database.rollback(...
2
votes
0answers
301 views

How to insert records in Big Object through developer console?

I am creating Big Object through workbench like Survey__b. I inserting record through developer console, in this time showing error: Variable does not exist. But i have all variables in the big ...
11
votes
2answers
5k views

Maximum log level exceeded in Developer Console

Recently I have regularly been getting the error message below when opening the Developer Console: The Developer Console didn't set the DEVELOPER_LOG trace flag on your user. Having an active ...
2
votes
1answer
715 views

Where is the Lightning tab in the developer console?

I installed the Salesforce Lightning Inspector Chrome Extension. Now I want to debug my lightning component. I go to extension menu in Chrome, chose Inspect Lightning Component and I am getting this ...
0
votes
1answer
48 views

How many developers should work on same developer pro sandbox without impacting performance?

Is there a figure on number of developers should work on same Developer Pro sandbox? I see a lot of performance issue and environment is very unresponsive when multiple developers (~5) have enabled ...
0
votes
1answer
784 views

Can not run Lightning Application preview

I am working through one of the Salesforce Lightning modules. I completed the challenge (passed it). The challenge was about creating the lightning component. But now when I incorporate the created ...
3
votes
1answer
42 views

Anonymous Block Query for Related Column

I am trying to get the actual DeveloperName to display from the anonymous block code but all I can seem to get is the ID. Contact C = [Select id, FirstName, Recordtype.DeveloperName from contact ...
1
vote
1answer
60 views

Unable to open Inbound Emails created via Email Service Class

I have written an Email Service which goes like this : global class myHandler implements Messaging.InboundEmailHandler { global Messaging.InboundEmailResult handleInboundEmail(Messaging....
5
votes
1answer
379 views

Does the SOQL Query Plan tool always do a table scan because of IsDeleted?

I'm trying to use the Query Plan tool in the developer console for the first time. Every single query that I try ends up with a table scan, because of the IsDeleted field not being indexed. The notes ...
0
votes
3answers
1k views

How to update a field using Salesforce Developer Console

I can use the Salesforce Developer Console to perform query. How do I actually update a value. When I attempt to do it, the message states: The query has to start with 'Find' or 'Select' Is this ...
3
votes
4answers
578 views

Child Relationship Name not working in Query

What I'm trying to do is in this query on the custom object Contract Documents (Contract_Document__c), only pulling in contract documents that are associated with their opp. A contract document is ...
0
votes
1answer
33 views

How do I try out my Lightning Component?

I'm just starting to learn SalesForce so forgive me if this question has an obvious answer. I've been creating a basic "display data in a table" component in the Developer Console. It catalogues movie ...
0
votes
1answer
243 views

Apex class not visible in “Overall Code Coverage” section of developer console

I have a wrapper class which is not listed in "Overall Code Coverage" section of Developer Console. The wrapper class is active and is currently in use in other classes. The class was not generated ...
1
vote
1answer
171 views

What are the shortcut keys that uses in salesforce developer console for fast coding

All shortcut keys that used in salesforce developer console for fast coding, Like: Tab switching, move line up ad below, code commenting etc.
3
votes
2answers
1k views

Developer Console Not Showing Debug Logs

My Question: How are we meant to setup Debug when using the Developer Console Log List (Tab)? Previously we never had to setup anything, opening the dev console would setup Debug automatically, and ...