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

1
vote
1answer
23 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
18 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
23 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
19 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
42 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
50 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
41 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
33 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
34 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 ...
2
votes
0answers
70 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
105 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
17 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
42 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
54 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
134 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
48 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
24 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
40 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
32 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
88 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
50 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
42 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
22 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
69 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
263 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
52 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
98 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
34 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
107 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
34 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
50 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
29 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
39 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
50 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
49 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
214 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
92 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
88 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, ...
1
vote
1answer
41 views

Difference between percentage value all tests and one test method for the class

Why is the difference between the value of the percent coverage of all the tests and one test for the class? I have cleaned the test data. Then compile all classes and then run all the tests ...
0
votes
0answers
55 views

Error as MALFORMED Query in Developer console (Group by Rollup, Group by Cube)

Why do I get this ERROR as :MALFORMED Query in Developer console? I'm trying to use :Group By Roll or Group By CUbe to get the subtotals and grand totals. When I tried this Query: SELECT ...
2
votes
2answers
70 views

Developer Console throws Type Exception

I have a base class that's a mash up of the base classes here. What's important is that this class contains the following property and method: public CommunicationBase Owner { get; set; } public ...
1
vote
2answers
208 views

Mass Deletion Of (most) Records (in Sandbox) (100 million+)

If someone has a better way of doing this, feel free to share. I'm not playing the role of developer any longer. However, we have an Object with over 100mil records in it, which is over our limit, ...
1
vote
1answer
53 views

Why is deleted code being counted for lack of test coverage

I have some apex classes that are no longer needed. I removed all of the code from the files and just left the declaration. There does not seem to be a way to delete the code files that I can find ...
0
votes
0answers
39 views

I have a test class, but it doesn't show up on the selection list in developer console or the Salesforce UI.

my test class has the directive of '@isTest (seeAllData = true)' and my methods are like: static testMethod void TestContoller_InsertLineItems() but still the file doesn't show up in the selection ...
1
vote
2answers
39 views

Developer Console security

Context: We have multiple Business Admins in different countries, who can only see records from their market in Salesforce. Now, we're considering giving these Business Admins access to the Developer ...
1
vote
1answer
79 views

Different Results between Apex REST and developer console describing Task object

I am trying to get Apex to describe the fields present on certain sObjects, everything I try works perfectly in the developer console but when I put the code into an Apex class and access it via a ...
1
vote
0answers
135 views

“Your request exceeded the time limit for processing.” when editing any code

I've been encountering this platform error when trying to update any code from the App > Setup: Time limit exceeded Your request exceeded the time limit for processing. For example, if I ...
0
votes
1answer
59 views

Can I return entire record set when using the Execute Anonymous Window in Dev Console?

This article: Is there a way to do Like against a list of Values?, has a nifty workaround for lack of a LEFT(Column, n) function. I am able to execute a successful code snippet in the anonymous window ...