Stack Exchange Network

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

-3
votes
0answers
19 views

logic requirement for an xyz television channel [on hold]

Logic Requirements This section of the document details the automation that the candidate is required to implement programmatically. XYZ Broadcast Planners want to know how many times a Commercial is ...
4
votes
1answer
42 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
23 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
32 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
53 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
172 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
46 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
28 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
11 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
32 views

Running an APEX class in Production, how to add isTest to APEX code

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
77 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
30 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
180 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 ...
0
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
62 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
32 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
36 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
32 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
36 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
108 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
35 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
722 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
22 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
43 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
137 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
93 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(...
1
vote
0answers
244 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 ...
8
votes
2answers
3k 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 ...
1
vote
1answer
522 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
44 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
611 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
57 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
274 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
949 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
424 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
31 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
197 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
130 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
1answer
849 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 ...
1
vote
2answers
39 views

In csv file getting system.Address[getCity=xxx] how can i handle this

I'm working on csv files for specific standard object. In this i'm querying the fields dynamically in batch class and it was created a .csv file in my document folder but when i was open my csv file ...
0
votes
0answers
9 views

update an approval record on a case

I have a case that has gone through an approval process, the status was "Approved" and I changed this to "Rejected" using Developer console. Is it possible to change the approval record for said case ...
0
votes
1answer
124 views

How to develop lightning components in a sandbox?

I am following the Trailhead tutorial on creating Lightning Components. It says that this requires the Salesforce org to have a domain. Well, as a matter of fact, we have one. And so do our developer ...
1
vote
1answer
59 views

Platform Event not listed when creating trigger from Developer Console

My app has a platform event (Log_Event__e). I'm trying to make a trigger on the event from the Developer Console (using a Scratch org on API v41 with a managed package namespace). When I attempt to ...
1
vote
1answer
24 views

Strange Error, paranthese cannot 'find each other'

These seemed to happen randomly. I did make some changes just before it stopped working but the changes were to unrelated components. This file has worked fine for weeks now; but all of a sudden the ...
2
votes
1answer
311 views

How to avoid overwriting changes by others while using Force.com IDE?

We have been using Force.com IDE (Eclipse) to develop Apex and LEX. We notice if 2 developers accessing same file, it will be over-written by latest changes without prompting the user. So we have to ...
0
votes
0answers
51 views

Dev Console freezes and crashes org when two admins try to login

I just added another system admin user to my developer org and now when we are both logged in and either one of us trys to launch the dev console it does not load and crashes the page; this prompts ...
0
votes
1answer
32 views

In Salesforce development environment, how do I see the logs generated by my controller class?

I have a visualforce page and a custom controller. I view the page with the Url: https://***Salesforce_instance***/apex/myNewPageName?id=some_lead_d Page <apex:page standardController="Lead" ...
1
vote
1answer
110 views

Setting up visualstudio to work with an existing org and sandbox?

I've always worked on the web console. I recently moved to visual studio but I'm having trouble setting up the system. In short, I'm experiencing information overload and I'm wondering if anyone ...