Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Aswini Lobo

Aswini Lobo

Community Learner
Share
13Questions
9Answers
25.8KViews on questions

How to change a lightning button variant which is in for loop?

What you can do is, add one more property buttonVariant in acc.data list after retrieving from server. Yor can add data-id property in button. This lightning button data-id can be used to retrieve the currently selected button id, then search that id in the acc.data list and update buttonVariant property. Use this…

Salesforce

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

What are the possible options for the salesforce user type?

Your best bet is to refer to the Salesforce api docs to know all the possible options for the salesforce user type. They do a good job of explaining the fields and their possible values. The link to the doc in question is: https://developer.salesforce.com/docs/atlas.en-us.212.0.api.meta/api/sforce_api_objects_user.htm…

Salesforce

Answered Apr 19, 2023 · 3.1K Views Read answer →

How can I have the right align button for use?

To have a right align button, you first need to occupy the whole space. You have mentioned size="3" and size="4" which means you only occupied 7 out of 12 grids. You need to change it to And add class in both, the first one being class="slds-text-align_left" and the second one to shift to right as…

Salesforce

Answered Feb 10, 2023 · 1.1K Views Read answer →

Has anyone been able to find a formatting extension for Apex on visual studio code? And if so would they be able to share it?

Personally, I use the following extensions for vscode: Salesforce Extensions for VS Code - A package of Salesforce made extensions for editing code. Provides syntax highlighting & will recognize salesforce files based on their extension. Pretty much a must have for working with sfdx. Apex PMD - provides a tool to…

Salesforce

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

Undo git pull, how to bring repos to old state

To solve how to undo a git pull, do two things one is git fetch and the other one is a git merge so in order to undo a git pull first you need to undo the merge And that can be achieved by using git reset --hard and then using git reflog you can find SHA-1 of the previous state and you can reset it. And one more…

Devops

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

Can I force pip to reinstall the current version?

Yes, you can force reinstall pip the current version below is the command for the same:- pip install --upgrade --force-reinstall When you are upgrading the pip then you should reinstall all packages even if they are already updated. In that case, you should ignore the installed packages (reinstalling instead).…

Devops

Answered Jun 3, 2021 · 3.9K Views Read answer →

How to Use Table-Valued Parameter as Output parameter for stored procedure ?

This is an older post, but it was near the top when I was searching for "Table-Valued Parameter as -sql server stored procedure Output parameter for stored procedure". While it is my understanding that you cannot pass a table-valued parameter as an output parameter, I would imagine the goal is to use that table-valued…

SQL Server

Answered Apr 20, 2021 · 3.3K Views Read answer →

Installing PIL with pip

To Install Xcode and Xcode Command Line Tools as mentioned. Use Pillow instead, as PIL is basically dead. Pillow is a maintained fork of PIL. https://pypi.python.org/pypi/Pillow/2.2.1 pip install Pillow If you have both Pythons installed and want to install this for Python3: python3 -m pip install Pillow Or First you…

Devops

Answered Apr 16, 2021 · 2.1K Views Read answer →

What does %s mean in a python format string?

If you are searching for an answer of “what does %s mean in python” Kindly be informed that the % is a string formatting syntax in Python. Here is a very simple example: #Python2 name = raw_input("who are you? ") print "hello %s" % (name,) #Python3+ name = input("who are you? ") print("hello %s" % (name,)) The %s…

Python

Answered Apr 14, 2021 · 1.9K 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.