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.

learn more… | top users | synonyms

3
votes
0answers
12 views

Why does Salesforce enqueue my tests to run in the past?

I noticed an issue with salesforce in the developer console today. I should mention that I am using Chrome, on Linux. When I schedule tests to run, the 'enqueued date' appears as some time several ...
0
votes
2answers
51 views

Not showing Test code coverage on developer console

I ran the test classes from developer console but it didnt not show me the lines which are covered. Whenever we run the test classes in developer console it highlights the the lines which are covered ...
0
votes
1answer
37 views

Calling force:navigateToSObject from a Nested Component [duplicate]

I am going through the documentation found here SF Lightning Guide, and during the portion where they create the Contact List view on page 36 they cover the click event using the built in force ...
0
votes
1answer
24 views

Sublime - developer console

In my company developers are using sublime text 3 and I am new to this, I always use developer console to code. My question is that if I code in developer console will the code even available in ...
2
votes
1answer
25 views

Developer Console Logs Stop Showing after first run

This has been happening for the past month. After an anonymous execution, I try to execute an anonymous script again and open up the log, the script executes but no log is presented. If I shut down ...
1
vote
2answers
40 views

how to highlight a cell in a .csv file using an apex code

Is there any apex code that a generates a csv file of data where a particular data is being highlighted or the background color of the cell where the data is present could be changed by the apex code ...
2
votes
1answer
62 views

Time Limit Exceeded Error

I currently have a page that would send email notification to other users including attachments. But if the number of receivers is too many, I would often get an error Time Limit Exceeded. This is ...
2
votes
0answers
45 views

Creating a class in anonymous apex causes compile error [closed]

Attempting to run the following code as anonymous apex generates an error: public class YoYo{ String abc; Integer i; Double d; public YoYo(){ } public YoYo(String ...
3
votes
2answers
253 views

isDeleted=True is not working in SOQL query

Wondering why this query will retrieve ZERO records when executed in Workbench and Developer console. (Though i have records in Recycle Bin) Select Id, IsDeleted FROM Account WHERE IsDeleted = TRUE ...
3
votes
0answers
26 views

Developer Console Test Logs: Unable to Access Page

As I'm running the debugger I am attempting to review the execution logs from past test-executions that have completed, however, when I click the class in the Test tab of the Developer Console I get a ...
1
vote
1answer
40 views

Salesforce Developer Console malfunctioning

My developer console is not showing any Logs sometimes. It would not show any logs for hours, and then suddenly go back to working normal, and in another few hours, back to not showing Logs. For ...
0
votes
1answer
21 views

Setup and Non Setup Update error

I am trying to update a custom object records based on standard User object. Here are my conditions: If a New user is added then the Status of the ERP_SalesAgent__c (custom object)is set to Add. If ...
1
vote
1answer
21 views

Developer Console - units used for duration?

So I've run a successful test in the Dev Console. One of the columns visible on that tab is duration. My result is "0:28". I'm not sure if that is 28 seconds, .28 seconds or 28 milliseconds. Any ...
1
vote
1answer
41 views

Restore Previous Apex Class version

I've accidentally overwritten my apex class. Is there any way to restore the previous version from 3 days ago? Thanks,
1
vote
1answer
42 views

Customize Developer Console themes

There is a feature to change text coloring scheme (in Help > Preferences). Unfortunately, on my work monitor, it would render variable names too dark, therefore nearly invisible. Also, ...
2
votes
2answers
64 views

SOQL Compile Fail - “Expecting right square bracket, found 'OR' ”

I am trying to save the following query: SELECT Id My_Object__c WHERE Parent__c = :parentId AND Start_Date__c > TODAY OR ( Start_Date__c <= TODAY AND End_Date__c >= TODAY ) This seems ...
2
votes
1answer
181 views

Dev Console Query Error - SObject Type Is Not Supported

Why I'm getting the error regardless whether I execute standard or custom objects I'm getting error sObject type work_order__c is not supported. //custom object Select status__c from ...
2
votes
2answers
59 views

Developer Console Search in Files

Is there a way to get the developer console to return results from Visualforce Components when using the Edit -> Search in Files feature? I get VF pages, and Apex Classes, but not VF Components.
1
vote
1answer
48 views

What are the limitations of an app developed for Salesforce?

I am totally new to Salesforce app development and I was wondering about the limitations of the entire framework if there are any. Myself and a friend of mine have developed in C# and Java an API for ...
1
vote
1answer
43 views

What is the purpose of “Go To” in Developer Console

I'm trying to understand what "Go To" button in the Developer Console does. I've gone through salesforce help docs but it wasn't mentioned anywhere. I've even gone through lot of developer console ...
5
votes
1answer
156 views

Issues displaying logs in Developer Console? Possibly Summer 15 related

I tend to keep a Developer Console open when testing code, so that I can get debug logs automatically for my session. Today I am finding that when I open the console I do see logs appear, but after a ...
5
votes
6answers
176 views

Developer Console vs. Force.com Eclipse IDE [closed]

I am a new developer and do most of my work in Developer Console. What are some of the advantages i will get if i start using Force.com IDE besides version control and being able to deploy code to ...
0
votes
1answer
35 views

How to search string only from Contact field and popup using sforce.interaction.searchAndScreenPop?

I wanted to search string and wanted to popup the screen for string. I can do this by using sforce.interaction.searchAndScreenPop open CTI. but issue is that this api searches string in all objects ...
2
votes
1answer
145 views

Why does the SOQL parser give a primitive message like 'Unknown error parsing query'?

If you make a mistake/typo in a SOQL query in the Developer Console, you frequently get the - not helpful - message "Unknown error parsing query". I started programming in the early 80s, in BASIC of ...
4
votes
2answers
78 views

System.QueryException: No such column

We have a development instance with a managed package TMS. That package contains a custom object TMS__Task__c. Also we have another development instance with a managed package ABTS. TMS package is ...
5
votes
1answer
150 views

CPU timeout in production org due to strange waiting lags cannot be reproduced in slow DE org

Our managed package runs into CPU timeouts in a customer production which we tried to reproduce in our DE packaging org. We added some of the custom workflows, formulas and rollups but where unable ...
0
votes
0answers
88 views

How to define id:String in sforce.console.openPrimaryTab instead of null in salesforce?

I want to define ID in openPrimaryTab(), so that I can ID corresponds to an existing primary tab, the existing tab will redirected to the given URL because the Salesforce console prevents duplicate ...
2
votes
0answers
30 views

IE loads twice softphone adapter in console

In the organisation, there is a call center definition file that loads a softphone component. When debugging it with IE10, I can see the softphone adapter is loaded twice. It happens in Console mode, ...
0
votes
0answers
44 views

How to make a unique tab in Salesforce web application?

I want to make a unique tab for different search condition respectively, currently I am using sforce.console.openPrimaryTab where I get tab as per I search. I have like 3 different search ...
1
vote
3answers
61 views

Developer Console freezes in Chrome/IE when a batch process is running

I am often running long DML intensive batch processes in SF while at the same time continuing to use the Developer Console. However, I find that the console is essentially impossible to use while ...
0
votes
0answers
176 views

Problem with OpenPrimaryTab in Console - “openPrimaryTab: Opening a duplicate tab is not allowed.”

I have came across an issue that I am unable to solve in the Console: I have a formula field which holds a clickable icon which should be used to indicate that a change has occured to the Object. ...
0
votes
1answer
62 views

Salesforce Developer Console Bug

This is my first time to use SF as this platform is quite interesting now. However, I tried to use developer console > create apex class and when saving, it is always stuck on that, see Is this ...
0
votes
1answer
48 views

Unable to open developer console

In my developer edition "Developer Console" is not opening. When i click on developer console it open the new window but after that window will minimize and it become unresponsive, so browser gives ...
0
votes
1answer
28 views

System.debug breaks after INSERT

So I'm currently restructuring our Unit Test framework/pattern because it needs it and because I'm trying to track down an issue and at this point I've broken it down as simply as I can and still ...
0
votes
2answers
79 views

Developer console can't save

It seems I can't save anything using developer console, Class, Page etc. I update a file and then I hit save. something I get this error but most of the time it just stays at the saving... state.
0
votes
3answers
31 views

Is it possible to work developer console for user?

It's might be old things but I am new for this things I need to know why user not able to access developer console. Is it possible to create anyway in sales force? please give me the suggestion.
9
votes
7answers
355 views

Develop Console Code Coverage Issues (Winter 15' Release) - Production vs. All Test

Wondering if this is a bug or there is something about CC that just doesn't make sense to me. Below is screenshot after screenshot of example of red-lined code coverage that makes no sense. ...
1
vote
1answer
57 views

Developer Console - Testing Issue

We are getting strange behavior with the Developer Console when running our unit tests. We complete development with the force.com IDE and use the dev console for unit testing (for performance & ...
1
vote
4answers
133 views

Low code coverage, when production and new test class to deploy are over 80%?

I am having an issue, for the last couple of days and I dont know how to fix it. I have run all the test classes in production, when I open my developer console, the overall code coverage is 79% (of ...
2
votes
1answer
42 views

Dev Console - Select Windows

I know that there is a keyboard shortcut for this, but it does not appear to be in the listed set. I want to change up which windows I see after Execute Anonymous, probably limiting it to back to just ...
0
votes
0answers
148 views

multiple markers on google maps based 3 fields

Im trying to build a VisualForce Page that will show a map based on 3 fields address, radius (3, 5, 10, 15, 15, 50, etc.) miles and sub-type (ie. starbucks, walmart, CVS, Home Depot, etc.) based on my ...
0
votes
0answers
41 views

Retrieve Console Scheduled Apex Command Line

Anyone know how to retrieve the Apex Command Line used to schedule Apex via the Console? A former Dev at our company left things running under their username, and we need to move it to our non-human ...
0
votes
0answers
62 views

Programmatically create users + generate temporary password email

Where in the Developer Console can you find the check box "Generate new password and notify user immedietley" I need to find it so i can make sure i incorporate it into my program so the user can ...
0
votes
0answers
32 views

Enable switch perspective in developer console

How to enable switch perspective in developer console . switch perspective is greyed out and hence log is not getting displayed in console.
0
votes
1answer
47 views

Scheduled / Recurring Apex Within A Week

I am not finding this anywhere in Help at Salesforce or via Google. WHen I schedule Apex via the Developer's Console (a weekly run), is it NOT possible to have the first run in LESS than a WEEK? ...
1
vote
1answer
61 views

Version Control and deployment with Setup menu and Dev console

If i choose to do customization and coding through Setup menu and Developer console in my dev sandbox without using Force.com IDE plugin with eclipse, what process should i follow to use version ...
0
votes
3answers
67 views

Track field changes in code

A field on a custom object is getting its value from somewhere, and we are not sure where! Is it possible to track code-level changes on a custom field, maybe in the Developer Console? UPDATE: A ...
4
votes
2answers
261 views

Can you use the developer console logged in as another user?

Can you use the developer console while logged in as another user to debug something? I can launch the console, but it just seems to hang.
2
votes
1answer
128 views

Developer Console Error: Unable to patch container member.: invalid record id

I was working on a new class in the DC, then had to go into the Salesforce org and configure some things, during which time the "resume" prompt popped up in the DC. I selected to resume, and ...
6
votes
2answers
101 views

What are the use cases for developer console command line interface?

I've accidentally discovered command line interface in developer console by pressing CTRL+Shift+L (although it is in console documentation). You can set the interface to full screen by typing set -f, ...