-
ChatterFeed
-
0Best Answers
-
0Likes Received
-
0Likes Given
-
6Questions
-
5Replies
VisualAccessMetrics
How to write trigger on VisualAccessMetrics? I am not able to view VisualAccessMetrics standardobject in the salesforce edition.
- Rohini Sirigiri 5
- March 10, 2020
- Like
- 0
- Continue reading or reply
@Hi All,
I am new to Salesforce Ecosystem.Can anybody help me solving this :
Contact has a multi select custom field called Role__c which can have values (Surgeon;Nurse;First Assist;Admin;CSR).
Account has a custom field called Total_Score__c which is a number field.
Mapping table Role_Score__c looks like this
Role__c Score__c
Surgeon 10
Nurse 5
First Assist 10
Admin 0
CSR 20
When a contact is created/updated, get total score of all the UNIQUE roles that exist on all the contacts of the account.
Ex: Account 1
Contact 1 with roles Surgeon;Admin
Contact 2 with roles CSR:Admin
On Account 1 we should store the value as (10 + 0 + 20 = 30) because we only have 3 unique roles
I need with proper explanation :
Contact has a multi select custom field called Role__c which can have values (Surgeon;Nurse;First Assist;Admin;CSR).
Account has a custom field called Total_Score__c which is a number field.
Mapping table Role_Score__c looks like this
Role__c Score__c
Surgeon 10
Nurse 5
First Assist 10
Admin 0
CSR 20
When a contact is created/updated, get total score of all the UNIQUE roles that exist on all the contacts of the account.
Ex: Account 1
Contact 1 with roles Surgeon;Admin
Contact 2 with roles CSR:Admin
On Account 1 we should store the value as (10 + 0 + 20 = 30) because we only have 3 unique roles
I need with proper explanation :
- Rohini Sirigiri 5
- March 03, 2020
- Like
- 0
- Continue reading or reply
- Rohini Sirigiri 5
- February 03, 2020
- Like
- 0
- Continue reading or reply
# Guys,
I need the correct answers for these questions. Please help !!
1. 100 accounts & 200 contacts are inserted in an apex transaction. Account is inserted using Database.insert with BooleanAllOrNone flag as False. While inserting 2000 contacts and opportunities using Insert method, and an exception occurs. How many records will be inserted?
a) 100
b) 2000
c) 2100
d) 0
e) None of the above
2. Lightning components can be used in which of the following places:
a) Lightning record page
b) Lightning Home Page
c) Lighting Connect
d) Lightning Community page
I dont other one more option for this question.
3.Which one represents controller in MVC
a) Retriving records from apex controller using SOQL
b) Using Javascript from handler class to retrieve from Apex class
I dont have other two options currently for this question.
1. 100 accounts & 200 contacts are inserted in an apex transaction. Account is inserted using Database.insert with BooleanAllOrNone flag as False. While inserting 2000 contacts and opportunities using Insert method, and an exception occurs. How many records will be inserted?
a) 100
b) 2000
c) 2100
d) 0
e) None of the above
2. Lightning components can be used in which of the following places:
a) Lightning record page
b) Lightning Home Page
c) Lighting Connect
d) Lightning Community page
I dont other one more option for this question.
3.Which one represents controller in MVC
a) Retriving records from apex controller using SOQL
b) Using Javascript from handler class to retrieve from Apex class
I dont have other two options currently for this question.
- Rohini Sirigiri 5
- February 01, 2020
- Like
- 0
- Continue reading or reply
#Hi All
Did anyone have written Platform Developer I in the recent times like last week or 2 weeks ago? If so I wanted to ask whether you have faced questions related to lightning(aura) and Lightning Web Components(LWC)? I heard from Feb, the PD1 question pattern is going to change and will focus more on lightning and LWC. Please guys respond.
- Rohini Sirigiri 5
- January 24, 2020
- Like
- 0
- Continue reading or reply
Im getting an empty list as a output. It supposed to show the list. List<Candidate__c> candList=[Select id,name,City__c,(select Position__c,Status__c from Job_Applications__r) from Candidate__c Where Name='Shaun smith']; System.debug('List is' +candList);
Im getting the Error : System.ListException: List index out of bounds: 0
Candidate__c(Master object) and Job_Application__c(child object).
I want to fetch child records.
List<Candidate__c> candList=[Select id,name,City__c, (select Position__c,Status__c from Job_Applications__r) from Candidate__c Where Name='Shaun smith'];
System.debug('List is' +candList);
List<Job_Application__c> jobList=candList[0].Job_Applications__r;
System.debug('List of job are' +jobList);
Please help with this.
Candidate__c(Master object) and Job_Application__c(child object).
I want to fetch child records.
List<Candidate__c> candList=[Select id,name,City__c, (select Position__c,Status__c from Job_Applications__r) from Candidate__c Where Name='Shaun smith'];
System.debug('List is' +candList);
List<Job_Application__c> jobList=candList[0].Job_Applications__r;
System.debug('List of job are' +jobList);
Please help with this.
- Rohini Sirigiri 5
- November 19, 2019
- Like
- 0
- Continue reading or reply
VisualAccessMetrics
How to write trigger on VisualAccessMetrics? I am not able to view VisualAccessMetrics standardobject in the salesforce edition.
- Rohini Sirigiri 5
- March 10, 2020
- Like
- 0
- Continue reading or reply
@Hi All,
I am new to Salesforce Ecosystem.Can anybody help me solving this :
Contact has a multi select custom field called Role__c which can have values (Surgeon;Nurse;First Assist;Admin;CSR).
Account has a custom field called Total_Score__c which is a number field.
Mapping table Role_Score__c looks like this
Role__c Score__c
Surgeon 10
Nurse 5
First Assist 10
Admin 0
CSR 20
When a contact is created/updated, get total score of all the UNIQUE roles that exist on all the contacts of the account.
Ex: Account 1
Contact 1 with roles Surgeon;Admin
Contact 2 with roles CSR:Admin
On Account 1 we should store the value as (10 + 0 + 20 = 30) because we only have 3 unique roles
I need with proper explanation :
Contact has a multi select custom field called Role__c which can have values (Surgeon;Nurse;First Assist;Admin;CSR).
Account has a custom field called Total_Score__c which is a number field.
Mapping table Role_Score__c looks like this
Role__c Score__c
Surgeon 10
Nurse 5
First Assist 10
Admin 0
CSR 20
When a contact is created/updated, get total score of all the UNIQUE roles that exist on all the contacts of the account.
Ex: Account 1
Contact 1 with roles Surgeon;Admin
Contact 2 with roles CSR:Admin
On Account 1 we should store the value as (10 + 0 + 20 = 30) because we only have 3 unique roles
I need with proper explanation :
- Rohini Sirigiri 5
- March 03, 2020
- Like
- 0
- Continue reading or reply
# Guys,
I need the correct answers for these questions. Please help !!
1. 100 accounts & 200 contacts are inserted in an apex transaction. Account is inserted using Database.insert with BooleanAllOrNone flag as False. While inserting 2000 contacts and opportunities using Insert method, and an exception occurs. How many records will be inserted?
a) 100
b) 2000
c) 2100
d) 0
e) None of the above
2. Lightning components can be used in which of the following places:
a) Lightning record page
b) Lightning Home Page
c) Lighting Connect
d) Lightning Community page
I dont other one more option for this question.
3.Which one represents controller in MVC
a) Retriving records from apex controller using SOQL
b) Using Javascript from handler class to retrieve from Apex class
I dont have other two options currently for this question.
1. 100 accounts & 200 contacts are inserted in an apex transaction. Account is inserted using Database.insert with BooleanAllOrNone flag as False. While inserting 2000 contacts and opportunities using Insert method, and an exception occurs. How many records will be inserted?
a) 100
b) 2000
c) 2100
d) 0
e) None of the above
2. Lightning components can be used in which of the following places:
a) Lightning record page
b) Lightning Home Page
c) Lighting Connect
d) Lightning Community page
I dont other one more option for this question.
3.Which one represents controller in MVC
a) Retriving records from apex controller using SOQL
b) Using Javascript from handler class to retrieve from Apex class
I dont have other two options currently for this question.
- Rohini Sirigiri 5
- February 01, 2020
- Like
- 0
- Continue reading or reply
Im getting an empty list as a output. It supposed to show the list. List<Candidate__c> candList=[Select id,name,City__c,(select Position__c,Status__c from Job_Applications__r) from Candidate__c Where Name='Shaun smith']; System.debug('List is' +candList);
Im getting the Error : System.ListException: List index out of bounds: 0
Candidate__c(Master object) and Job_Application__c(child object).
I want to fetch child records.
List<Candidate__c> candList=[Select id,name,City__c, (select Position__c,Status__c from Job_Applications__r) from Candidate__c Where Name='Shaun smith'];
System.debug('List is' +candList);
List<Job_Application__c> jobList=candList[0].Job_Applications__r;
System.debug('List of job are' +jobList);
Please help with this.
Candidate__c(Master object) and Job_Application__c(child object).
I want to fetch child records.
List<Candidate__c> candList=[Select id,name,City__c, (select Position__c,Status__c from Job_Applications__r) from Candidate__c Where Name='Shaun smith'];
System.debug('List is' +candList);
List<Job_Application__c> jobList=candList[0].Job_Applications__r;
System.debug('List of job are' +jobList);
Please help with this.
- Rohini Sirigiri 5
- November 19, 2019
- Like
- 0
- Continue reading or reply