Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Dipesh Bhardwaj

Dipesh Bhardwaj

★ JanBask Expert
Share
44Questions
88Answers
87.8KViews on questions

How can I square each number in a list of Integers using Python?

In the context of the Python programming language, you can square each number in a list of Integers by using the Python programming language by defining the function that would use the list comprehension and the exponential operator (**). Def square_numbers(numbers): “”” Squares each number in the input list using…

Python

Answered Jul 16, 2024 · 1.1K Views Read answer →

How can I use the AWS CLI to change the region seamlessly?

In the context of AWS, you can change the byte region in the AWS CLI by using the “—region” flag followed by the desired AWS region code. Here is how you can do so:- #!/bin/bash # Store the current region Current_region=$(aws configure get region) # Specify the desired region Desired_region=”us-west-2” # Change this…

AWS

Answered May 14, 2024 · 1.5K Views Read answer →

How to use variables in the value of an apex switch statement?

The apex switch statement works as it does in many (but not all) other languages, which is to say that, under the hood, the compiler optimises the layout of the switch statement's bytecode so that it runs in fixed time (O(1)). This is one of the reasons that makes the switch statement more attractive than the…

Salesforce

Answered Jun 7, 2023 · 3.1K Views Read answer →

In salesforce, developer console have which tab?

The answer to your question - In salesforce, developer console have which tab - Wrong Developer Console. While viewing the app or in LEX, press F12 to bring up the browser's Developer Console. It'll be far off on the right, you might need to click the >> arrow to see it.

Salesforce

Answered Jun 2, 2023 · 1.2K Views Read answer →

'C:\Program' is not recognized as an internal or external command, operable program or batch file - How should I solve this problem?

To solve this problem - 'C:Program' is not recognized as an internal or external command, operable program or batch file When you install SFDX CLI on windows, the PATH variable is automatically set by SFDXL CLI Installer. I will suggest the things below. Uninstall SFDX CLI from the Windows system. Remove any…

Salesforce

Answered May 23, 2023 · 6.2K Views Read answer →

Is there a way to do custom soql order by instead of ASC or DESC?

No, you cannot do the custom soql order by instead of ASC or DESC You can, if you wish, create a new formula field on your object that maps colours to their desired ordering keys, using something like a CASE() formula. You can then order by that formula field. Note of course that that may come with performance…

Salesforce

Answered May 22, 2023 · 1.3K Views Read answer →

How to call the imperative apex method from connectedCallback() in LWC?

To call imperative apex method from connectedCallback() in LWC - Here's the culprit: console.log(result.records[0].personName);getPersonTimeZone returns a single instance of personDataWrapper class, which doesn't have a records property, so doing result.records[0] you're trying to access an undefined parameter, thus…

Salesforce

Answered May 16, 2023 · 3.5K Views Read answer →

What to do when the storage limit is exceeded in salesforce?

As you might have known, Salesforce works on multi-tenant architecture which puts some governor limits across the system. Data storage is one of them. it depends on per User Licence in different Salesforce editions. Please find the table below with different editions. Regarding storage limits exceeded in salesforce -…

Salesforce

Answered May 16, 2023 · 1.4K Views Read answer →

How does this Grant Access Using Hierarchies work?

When Grant Access using Hierarchy is checked for custom objects(For standard objects this is always checked) even if the record is private ,users higher in the role than the owner of the record still get access to the records . A simple example can be to assume opportunity is private OWD and you are Sales Rep owning…

Salesforce

Answered May 15, 2023 · 2.2K Views Read answer →

What to do about this inexplicable setter behaviour during JSON deserialize?

JSON deserialization (through JSON.deserialize()) creates object instances in a way that's different from how objects are created in the rest of Apex1. I don't think that's really relevant in this case, but it's something I like to keep in mind. Instead, I think the issue here is that the setter for List children is…

Salesforce

Answered May 12, 2023 · 1.2K Views Read answer →

What is the api limit in salesforce per user per 24 hours?

The API Request Limits documentation goes into a bit more detail into api limit in salesforce Limits and allocations are enforced against the aggregate of all API calls made to the org in a 24-hour period. Limits and allocations are not on a per-user basis. Example API Usage Metering Calculations The following…

Salesforce

Answered May 11, 2023 · 4.9K Views Read answer →

How to make a trading view widget in lwc from an external site?

Should be: Further, the LWC runtime modifies ID values, so you need to actually query for the ID first: loadScript(this, myLib).then(() => { const container = this.template.querySelector('[data-container]'); new TradingView.widget({ "height": 423, "width": 600, "symbol": "NYMEX:TTF1!", "timezone": "Europe/Warsaw",…

Salesforce

Answered May 11, 2023 · 1.4K Views Read answer →

More members from the Salesforce community

Learners asking and answering questions on the same topics — follow their questions and join in.

Latest Salesforce Blogs

Guides, tips and career advice on Salesforce from JanBask experts.

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.