Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Bhagwati Dubey

Bhagwati Dubey

Community Learner
Share
32Questions
31Answers
42.3KViews on questions

I want to use the Tooling API via SOAP. What URL should I use?

The Tooling API WSDL's endpoint described for my general development org is as follows. Although you were almost there, I don't know whether the capital T makes any difference. https://na11-api.salesforce.com/services/Soap/T/27.0 You can download the WSDL(Web Service Definition Language) from the API page under…

Salesforce

Answered Sep 11, 2023 · 1.2K Views Read answer →

Javac command not working in my windows 10

“Javac is not recognized as an internal or external command” is an error often encountered by people trying to compile Java programs on Windows using Command Prompt. It’s might also be encountered when users try to check the current version of the primary Java compiler. When javac not recognized windows 10: Check your…

Python

Answered Jul 24, 2021 · 1.4K Views Read answer →

If SQL Server Database Mirroring is going to die. How can I guarantee high availability quick recovery of the database?

Database Mirroring SQL Server Database Mirroring is used to move the database transactions from one SQL Server database (Principal database) to another SQL Server database (Mirror database) on a different instance. In SQL Server Log Shipping and Mirroring can work together to provide solutions for high availability…

SQL Server

Answered Jul 12, 2021 · 1.2K Views Read answer →

Can OWD be imported/exported as metadata?

Yes. Each object has two fields, "sharing model" and "externalSharingModel". You can import and export these values between orgs. You'll find this setting in the CustomObject metadata. I personally use this method to set up the sharing model for standard and custom objects. There's some weird bugs around it sometimes,…

Salesforce

Answered Jul 10, 2021 · 3.0K Views Read answer →

Remove all whitespace in a string in Python

If you want to remove leading and ending spaces, use str.strip(): sentence = ' hello apple' sentence.strip() >>> 'hello apple'If you want to remove all spaces from string, use str.replace(): sentence = ' hello apple' sentence.replace(" ", "") >>> 'helloapple'If you want to remove duplicated spaces, use str.split():…

Python

Answered Jul 8, 2021 · 1.0K Views Read answer →

ModuleNotFoundError No module named cv2

This “modulenotfounderror: no module named 'cv2' “error may occur if you didn't install opencv module in your system. So first check this module is available or not. $ pip list or conda listIf it is not available, then install this module. $ pip install opencv-python or conda install opencv-pythonBut before that,…

Python

Answered Jul 2, 2021 · 3.2K Views Read answer →

Dynamic Lightning Select With Dynamic Amount of Options

from what I understand you want to bind options to variables, you can solve lightning:select error by using component.setReference. From what I remember it'll work like this icmp.setReference('v.options',cmp.getReference('v.myDynamicOptions'))

Power BI

Answered Jul 1, 2021 · 1.7K Views Read answer →

Count the frequency of an item in a python list

To count frequency in list you can do as shown : To count the number of appearances: from collections import defaultdictappearances = defaultdict(int) for curr in a: appearances[curr] += 1 To remove duplicates: a = set(a) Example: import collections a = [1,1,1,1,2,2,2,2,3,3,4,5,5] counter=collections.Counter(a)…

Python

Answered May 12, 2021 · 686 Views Read answer →

git pull not updating the files

The following order of commands helped me to solve git pull not updating: remove .git folder copy .git from other repo now git checkout Before Removing, You can try git fetch --all git reset --hard origin/masterThe outcome showed me that some file names were too long for git to pull them from my remote repository and…

Devops

Answered May 7, 2021 · 1.5K Views Read answer →

Are you Struggling to deserialize JSON with escaped double quotes?

Let me illustrate this to you. This is valid JSON escape. { "errors": [ { "params": { "password": "size must be between 4 and 30", "loginId": "must match "^[a-zA-Z0-9_]*$"" } } ] }This is not: String str = '{ "errors": [ { "params": { "password": "size must be between 4 and 30", "loginId": "m

Salesforce

Answered Apr 23, 2021 · 3.8K Views Read answer →

More members from the Python community

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

Latest Python Blogs

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

Learn & Explore

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