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.

0
votes
0answers
7 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
0answers
23 views

When a Apex class is called from Chat-Bot, why does 'System.debug()' doesn't work?

I had written "System.debug()" in my class, which I called through Chat-bot. Although Bot runs properly, nothing is printed in developer console. I can't understand why? Does anyone knows the reason?
0
votes
2answers
29 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 ...
0
votes
0answers
20 views

Lightning Application Preview Button in Developer Console inoperative on Custom Lightning Applications?

I have created a sample Lightning Application for which when clicking on Preview Button in Developer Console the output gets displayed ,at which point when clicking on Preview Button for my custom ...
16
votes
1answer
70 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
28 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
142 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
6 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
51 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
31 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
34 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
29 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
27 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
73 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
29 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
438 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
17 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
42 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
89 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
67 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
177 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
388 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
43 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
466 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
41 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
53 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
218 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
716 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
297 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
30 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
162 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
87 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
699 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
36 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
88 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
57 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
240 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
12 views

Adding a custom button on Contact's detail page

I have to add a custom button on Contact's detail page and open a custom VF page on click of that button. Also, the id of that particular record should be passed on to the VF page. Thanks in advance.
0
votes
0answers
48 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
31 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
102 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 ...
-1
votes
1answer
57 views

values are not receiving dynamically in REST API

I wrote the batch and pass the values to REST apex class but when executing the endpoint url it doesn't take the values of fields it only takes names. this is my batch job global class ...
0
votes
0answers
33 views

Not able to update Assignment Rule using Update Metadata API call

I have been trying to update the Assignment Rule's Rule Entry assignTo field using UpdateMetadata Call. I have tried several ways but still not able to update it. Can someone please suggest any ...
3
votes
1answer
73 views

Code works in developer console but not in apex class

I have below code running fine in developer console. public class jsonObj{ public String id; public List<jsonObj> children; } void updateTaskMasterMap(Map<String,String&...
1
vote
0answers
29 views

system debug logs won't get created if the site is browsed by guest user

I have VF single page application and its controller. If I login to Salesforce and click on the "Preview" button of the VF page then I will be able to see my System.debug('...') messages gets created ...
0
votes
1answer
15 views

Service Cloud Development what method to get the

How can I get the ID of the record regardless of the type of tab that is displaying a custom button. For example at the minute I have a button on an Order object that gets the ID like so: {!...
1
vote
2answers
38 views

Salesforce added debug log on opening SFDC Console

I am debugging a test class which is reaching debug log size limit.So I added a filter debug log for me which logs system.Error only. However, whenever I running a class from DevConsole, Salesforce ...