Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Dominic Poole

Dominic Poole

Community Learner
Share
20Questions
20Answers
32.7KViews on questions

How can I use the “before trigger” and “after trigger”?

In the context of Salesforce, here is how you can use the “before trigger” and “after trigger” in Salesforce apex:- Before trigger You can use this trigger for enforcing a custom validation rule before the process of inserting records into a specific Object. Here is an example of this trigger which would check a…

Salesforce

Answered Apr 9, 2024 · 895 Views Read answer →

How to get security token in salesforce?

The answer to your question - how to get security token in salesforceis - In the UI - change API only user profile to another non-api only user profile. Log in, reset security token. The IP range(s) on the profile assigned to the non-API User must allow your IP or you will not see the 'Reset Security Token' option on…

Salesforce

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

Give the detailed description of Java map of maps.

Both nested and combined keys have their places. bowmore gives a pro argument for composite keys, and a con argument for nested maps. Let me provide the loyal opposition for Java map of maps: Composite map keys work great when you're looking up a specific known item. Nested maps work well when you need to rapidly find…

Java

Answered Oct 12, 2022 · 1.4K Views Read answer →

How to turn json array into postgres json array?

To turn postgres json array - PG 9.4+ The accepted answer is definitely what you need, but for the sake of simplicity here is a helper I use for this: CREATE OR REPLACE FUNCTION jsonb_array_to_text_array(p_input jsonb) RETURNS text[] LANGUAGE sql IMMUTABLE AS $function$ SELECT array_agg(ary)::text[] FROM…

SQL Server

Answered Oct 3, 2022 · 1.9K Views Read answer →

How to sum all values of a column of in a data.frame?

To solve how to sum a column in r you should put all values in a column of a data frame then use the sum() function from the base package as follows:sum(people$Weight, na.rm = TRUE) #na.rm = TRUE will remove all 'NA' values in the column For example: df df p v 1 10 100 2 8 300 3 7 150 4 3 400 5 2 450 6 6 250 7 7 150 8…

Data Science

Answered Jun 6, 2021 · 1.0K Views Read answer →

What's so bad about collinearity?

To start with, it is the matter of collinearity not correlationThe two are connected, however not indistinguishable. Collinearity includes sets of variables, not really only two (as in correlation). For instance, on the off chance that you had 10 free variables that were totally uncorrelated and one that was the…

Data Science

Answered May 1, 2020 · 1.7K 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.