-
ChatterFeed
-
0Best Answers
-
1Likes Received
-
0Likes Given
-
18Questions
-
14Replies
is there a way to track the process executed while a record got created in the past
I know of debug logs but they can only be set for future.
- Newbie999
- March 22, 2022
- Like
- 1
- Continue reading or reply
cannot Search Knowledge List Views or access Knowledge List View Controls
I have created a Permission Set called Knowledge Article Manager and given all possible permissions to the Knowledge Object and App, and System to my user. however, He cannot Search Knowledge List Views or access Knowledge List View Controls and also can't access Data Category Setup in Service Setup.
- Newbie999
- August 26, 2021
- Like
- 0
- Continue reading or reply
community blank page intermittent issue
Community Home Page appearing as blank for specific 2 hours a day until community is launched as an internal user. Any idea?
- Newbie999
- August 20, 2021
- Like
- 0
- Continue reading or reply
s it possible to add the "Items to Approve" or Approval Requests component to the community
Is it possible to add the "Items to Approve" or Approval Requests component to the community? I am unable to find the list view or object or component so that a customer community plus user can see all the approval requests pending their approval. What mechanism can CCP users have to see their approvals?
According to this article it is possible for Customer Commuinty Plus users to be able to be approvers for a record: https://help.salesforce.com/s/articleView?id=sf.networks_approvals_for_external_users.htm&type=5
According to this article it is possible for Customer Commuinty Plus users to be able to be approvers for a record: https://help.salesforce.com/s/articleView?id=sf.networks_approvals_for_external_users.htm&type=5
- Newbie999
- August 11, 2021
- Like
- 0
- Continue reading or reply
Will activating My Domain affect previously added site domains or are they separate settings and has no affect on each other.
Will activating My Domain in salesforce affect previously added site domains or are they separate settings ?.
- Newbie999
- July 23, 2021
- Like
- 0
- Continue reading or reply
I am not able to see previous modules when i publish my trailhead with the current modules.(not adding the previous ones)
I am not able to see previous modules when I publish my trailhead with the current modules.(not adding the previous ones).
I suspect maybe adding the previous ones also would publish all completely.
Can someone share more information on this?
I suspect maybe adding the previous ones also would publish all completely.
Can someone share more information on this?
- Newbie999
- December 23, 2019
- Like
- 0
- Continue reading or reply
i am getting error 'The Apex class was found' while solving trailhead
Hi all,
I am getting an error 'The Apex class was found' while solving trailhead- Create Test Data for Apex Tests.
Below is my code:
public class RandomContactFactory {
public static List<contact> generateRandomContacts(integer i, string s){
List<contact> list1= new list <contact>();
for(integer t=0; t< i; i++){
contact c= new contact();
c.FirstName=s+' '+t;
c.LastName=s;
}
list1=[select FirstName from contact where LastName=:s];
return list1;
}
}
need help here !
I am getting an error 'The Apex class was found' while solving trailhead- Create Test Data for Apex Tests.
Below is my code:
public class RandomContactFactory {
public static List<contact> generateRandomContacts(integer i, string s){
List<contact> list1= new list <contact>();
for(integer t=0; t< i; i++){
contact c= new contact();
c.FirstName=s+' '+t;
c.LastName=s;
}
list1=[select FirstName from contact where LastName=:s];
return list1;
}
}
need help here !
- Newbie999
- September 03, 2019
- Like
- 0
- Continue reading or reply
My PD-1 maintenance results are not reflecting in Webassessor
Hi,
My maintenance results for salesforce PD-1 are not shown in Webassessor though I have completed the modules. Can anyone guide me on how to correct this??Thanks in Advance :)
My maintenance results for salesforce PD-1 are not shown in Webassessor though I have completed the modules. Can anyone guide me on how to correct this??Thanks in Advance :)
- Newbie999
- August 23, 2019
- Like
- 0
- Continue reading or reply
recommendation of trailheads to be done to learn lightning development as a beginner
Hi,
I need a recommendation of trailheads to be done to learn lightning development as a beginner. As I can see, there are a lot of trails to learn and it's confusing where to start from. So can anyone share the order in which I should solve them (from basics to advanced)
TIA
I need a recommendation of trailheads to be done to learn lightning development as a beginner. As I can see, there are a lot of trails to learn and it's confusing where to start from. So can anyone share the order in which I should solve them (from basics to advanced)
TIA
- Newbie999
- August 21, 2019
- Like
- 0
- Continue reading or reply
Hi, Can someone please explain why in some programs they have used Account[] everywhere?
Hi, Can someone please explain why in some programs they have used Account[] everywhere and somewhere they have created lists and then written SOQL on accounts?
TIA
TIA
- Newbie999
- August 09, 2019
- Like
- 0
- Continue reading or reply
Am I correct if I say, using actionFunction, we can avoid the input required from user like mouseOver, onClick etc in case of actionSupport? The actions will be performed automatically during page load etc?
So am I correct if I say using actionFunction, we can avoid the input required from user like mouseOver, onClick etc which is the case of actionSupport? The actions will be performed automatically during page load etc in case of action function?
- Newbie999
- July 26, 2019
- Like
- 0
- Continue reading or reply
Can someone explain the working of <li> and <apex:repeat> w.r.t. the below code?
<apex:page standardController="Account" recordSetVar="accounts">
<apex:pageBlock title="Accounts">
<apex:repeat value="{!Accounts}" var="a">
<li>
<apex:outputLink value="/{!a.id}">{!a.Name}</apex:outputLink>
</li>
</apex:repeat>
</apex:pageBlock>
</apex:page>
BELOW IS THE OUTPUT OF THE ABOVE PROGRAM
<apex:pageBlock title="Accounts">
<apex:repeat value="{!Accounts}" var="a">
<li>
<apex:outputLink value="/{!a.id}">{!a.Name}</apex:outputLink>
</li>
</apex:repeat>
</apex:pageBlock>
</apex:page>
BELOW IS THE OUTPUT OF THE ABOVE PROGRAM
- Newbie999
- July 25, 2019
- Like
- 0
- Continue reading or reply
Can I become a pro in salesforce lightning ?
Can I become a pro in salesforce lightning with good knowledge of salesforce admin part and basics of salesforce development?
Thanks in advance
Thanks in advance
- Newbie999
- July 19, 2019
- Like
- 0
- Continue reading or reply
not getting 100% test coverage for a class in my org. But it's giving 100% cover in other playground trailhead.
Any possible technical changes/ settings issue for not getting 100% test coveage for a class in my org.
It's giving 100% coverage in other trailhad playground.
Any suggestions so that i can be more careful the next time
It's giving 100% coverage in other trailhad playground.
Any suggestions so that i can be more careful the next time
- Newbie999
- July 18, 2019
- Like
- 0
- Continue reading or reply
can someone please tell me why I am not getting 100% code coverage?
below is my code
@isTest private class DailyLeadProcessorTest { public static string t='0 0 12 7 17 ?'; static testmethod void testscheduleLead(){ /*List<Lead> leads = new List<Lead>(); for(Integer i = 0; i < 200; i++){ Lead lead = new Lead(LastName = 'Test ' + i, LeadSource = '', Company = 'Test Company ' + i, Status = 'Open - Not Contacted'); leads.add(lead); } insert leads;*/ list<lead> newleads= new list<lead>(); for(integer i=0;i<200;i++){ lead l= new lead(LastName='test lastName'+i,company='test company'); newleads.add(l); } insert newleads; test.startTest(); Integer n=[select count() from Lead where LastName like '%test%']; system.assertEquals(200,n,'200 new leads not created'); integer c=[select count() from lead where leadSource='Dreamforce']; system.assertEquals(0,c, 'dreamforce leads found'); //DailyLeadProcessor d= new DailyLeadProcessor(); string jobId= system.schedule('scheduleleadprocessor',t,new DailyLeadProcessor()); test.stopTest(); }}
global class DailyLeadProcessor implements schedulable { global void execute(SchedulableContext ctx){ list<lead> list1=[select id, name, leadSource from lead where leadSource=null]; if (!list1.isEmpty()){ for(lead l: list1){ l.leadSource='Dreamforce'; } update list1;} } }
- Newbie999
- July 17, 2019
- Like
- 0
- Continue reading or reply
how can i create 25 lead assignment rule quicky? any shortcuts suggested?
How can i create 25 lead assignment rule quicky? any shortcuts suggested?
Thanks in advance
Thanks in advance
- Newbie999
- July 15, 2019
- Like
- 0
- Continue reading or reply
why do we have to write owner.name instead of api name owner
In the below query: SELECT Id, Name, Industry, AnnualRevenue, ( SELECT Name, Email, BirthDate FROM Contacts ) FROM Account where name != null limit 5, why writing owner does not return records and we have to write owner.name. While writing name returns records
- Newbie999
- June 09, 2019
- Like
- 0
- Continue reading or reply
- Newbie999
- August 22, 2018
- Like
- 0
- Continue reading or reply
is there a way to track the process executed while a record got created in the past
I know of debug logs but they can only be set for future.
- Newbie999
- March 22, 2022
- Like
- 1
- Continue reading or reply
cannot Search Knowledge List Views or access Knowledge List View Controls
I have created a Permission Set called Knowledge Article Manager and given all possible permissions to the Knowledge Object and App, and System to my user. however, He cannot Search Knowledge List Views or access Knowledge List View Controls and also can't access Data Category Setup in Service Setup.
- Newbie999
- August 26, 2021
- Like
- 0
- Continue reading or reply
s it possible to add the "Items to Approve" or Approval Requests component to the community
Is it possible to add the "Items to Approve" or Approval Requests component to the community? I am unable to find the list view or object or component so that a customer community plus user can see all the approval requests pending their approval. What mechanism can CCP users have to see their approvals?
According to this article it is possible for Customer Commuinty Plus users to be able to be approvers for a record: https://help.salesforce.com/s/articleView?id=sf.networks_approvals_for_external_users.htm&type=5
According to this article it is possible for Customer Commuinty Plus users to be able to be approvers for a record: https://help.salesforce.com/s/articleView?id=sf.networks_approvals_for_external_users.htm&type=5
- Newbie999
- August 11, 2021
- Like
- 0
- Continue reading or reply
i am getting error 'The Apex class was found' while solving trailhead
Hi all,
I am getting an error 'The Apex class was found' while solving trailhead- Create Test Data for Apex Tests.
Below is my code:
public class RandomContactFactory {
public static List<contact> generateRandomContacts(integer i, string s){
List<contact> list1= new list <contact>();
for(integer t=0; t< i; i++){
contact c= new contact();
c.FirstName=s+' '+t;
c.LastName=s;
}
list1=[select FirstName from contact where LastName=:s];
return list1;
}
}
need help here !
I am getting an error 'The Apex class was found' while solving trailhead- Create Test Data for Apex Tests.
Below is my code:
public class RandomContactFactory {
public static List<contact> generateRandomContacts(integer i, string s){
List<contact> list1= new list <contact>();
for(integer t=0; t< i; i++){
contact c= new contact();
c.FirstName=s+' '+t;
c.LastName=s;
}
list1=[select FirstName from contact where LastName=:s];
return list1;
}
}
need help here !
- Newbie999
- September 03, 2019
- Like
- 0
- Continue reading or reply
recommendation of trailheads to be done to learn lightning development as a beginner
Hi,
I need a recommendation of trailheads to be done to learn lightning development as a beginner. As I can see, there are a lot of trails to learn and it's confusing where to start from. So can anyone share the order in which I should solve them (from basics to advanced)
TIA
I need a recommendation of trailheads to be done to learn lightning development as a beginner. As I can see, there are a lot of trails to learn and it's confusing where to start from. So can anyone share the order in which I should solve them (from basics to advanced)
TIA
- Newbie999
- August 21, 2019
- Like
- 0
- Continue reading or reply
can someone please tell me why I am not getting 100% code coverage?
below is my code
@isTest private class DailyLeadProcessorTest { public static string t='0 0 12 7 17 ?'; static testmethod void testscheduleLead(){ /*List<Lead> leads = new List<Lead>(); for(Integer i = 0; i < 200; i++){ Lead lead = new Lead(LastName = 'Test ' + i, LeadSource = '', Company = 'Test Company ' + i, Status = 'Open - Not Contacted'); leads.add(lead); } insert leads;*/ list<lead> newleads= new list<lead>(); for(integer i=0;i<200;i++){ lead l= new lead(LastName='test lastName'+i,company='test company'); newleads.add(l); } insert newleads; test.startTest(); Integer n=[select count() from Lead where LastName like '%test%']; system.assertEquals(200,n,'200 new leads not created'); integer c=[select count() from lead where leadSource='Dreamforce']; system.assertEquals(0,c, 'dreamforce leads found'); //DailyLeadProcessor d= new DailyLeadProcessor(); string jobId= system.schedule('scheduleleadprocessor',t,new DailyLeadProcessor()); test.stopTest(); }}
global class DailyLeadProcessor implements schedulable { global void execute(SchedulableContext ctx){ list<lead> list1=[select id, name, leadSource from lead where leadSource=null]; if (!list1.isEmpty()){ for(lead l: list1){ l.leadSource='Dreamforce'; } update list1;} } }
- Newbie999
- July 17, 2019
- Like
- 0
- Continue reading or reply
Unable to login to Trailhead Playground
I am unable to login to Trailhead !! I am again and again redirected to login.salesforce.com
Anyone came accross to any such issue?
Tried creating multiple playgrounds !! Still unable to use Trailhead any solution to this?
Anyone came accross to any such issue?
Tried creating multiple playgrounds !! Still unable to use Trailhead any solution to this?
- Somya Tiwari
- July 17, 2019
- Like
- 0
- Continue reading or reply
why do we have to write owner.name instead of api name owner
In the below query: SELECT Id, Name, Industry, AnnualRevenue, ( SELECT Name, Email, BirthDate FROM Contacts ) FROM Account where name != null limit 5, why writing owner does not return records and we have to write owner.name. While writing name returns records
- Newbie999
- June 09, 2019
- Like
- 0
- Continue reading or reply
I want to send warning email alerts to users who's last login greater than 90 days.
I want to send warning email alerts to users who's last login greater than 90 days. Please help.
- Veerendar Aella
- March 07, 2019
- Like
- 0
- Continue reading or reply
How to Save Data Loader Setting Changes?
I recently got Data Loader 39 and was trying to update settings for updating nulls. I can't seem to save the settings. I scroll to bottom of settings the screen won't go to the end and can't save. I'm I missing a step?
- Tim Walter 9
- May 31, 2017
- Like
- 0
- Continue reading or reply
AddPrimaryContact
Hi all,
I have a problem with this challenge :
Create a Queueable Apex class that inserts the same Contact for each Account for a specific state. Write unit tests that achieve 100% code coverage for the class.
Create an Apex class called 'AddPrimaryContact' that implements the Queueable interface.
Create a constructor for the class that accepts as its first argument a Contact sObject and a second argument as a string for the State abbreviation.
The execute method must query for a maximum of 200 Accounts with the BillingState specified by the State abbreviation passed into the constructor and insert the Contact sObject record associated to each Account. Look at the sObject clone() method.
Create an Apex test class called 'AddPrimaryContactTest'.
In the test class, insert 50 Account records for BillingState "NY" and 50 Account records for BillingState "CA". Create an instance of the AddPrimaryContact class, enqueue the job and assert that a Contact record was inserted for each of the 50 Accounts with the BillingState of "CA".
The unit tests must cover all lines of code included in the AddPrimaryContact class, resulting in 100% code coverage.
Run your test class at least once (via 'Run All' tests the Developer Console) before attempting to verify this challenge.
I haven't 100% for my test class.
Anyone can help me please?
Thanks!
I have a problem with this challenge :
Create a Queueable Apex class that inserts the same Contact for each Account for a specific state. Write unit tests that achieve 100% code coverage for the class.
Create an Apex class called 'AddPrimaryContact' that implements the Queueable interface.
Create a constructor for the class that accepts as its first argument a Contact sObject and a second argument as a string for the State abbreviation.
The execute method must query for a maximum of 200 Accounts with the BillingState specified by the State abbreviation passed into the constructor and insert the Contact sObject record associated to each Account. Look at the sObject clone() method.
Create an Apex test class called 'AddPrimaryContactTest'.
In the test class, insert 50 Account records for BillingState "NY" and 50 Account records for BillingState "CA". Create an instance of the AddPrimaryContact class, enqueue the job and assert that a Contact record was inserted for each of the 50 Accounts with the BillingState of "CA".
The unit tests must cover all lines of code included in the AddPrimaryContact class, resulting in 100% code coverage.
Run your test class at least once (via 'Run All' tests the Developer Console) before attempting to verify this challenge.
I haven't 100% for my test class.
@isTest public class AddPrimaryContactTest { @isTest static void TestList(){ List<Account> Teste = new List <Account>(); for(Integer i=0;i<50;i++){ Teste.add(new Account(BillingState = 'CA', name = 'Test'+i)); } for(Integer j=0;j<50;j++){ Teste.add(new Account(BillingState = 'NY', name = 'Test'+j)); } insert Teste; Contact co = new Contact(); String state = 'CA'; AddPrimaryContact apc = new AddPrimaryContact(co, state); Test.startTest(); System.enqueueJob(apc); Test.stopTest(); for (Account t:Teste){ if( t.BillingState == 'CA'){ System.assertEquals(1, t.Number_of_contacts__c); } } } }
public class AddPrimaryContact implements Queueable{ private Contact c; private String state; public AddPrimaryContact(Contact c, String state){ this.c = c; this.state = state; } public void execute(QueueableContext context) { List<Account> ListAccount = [SELECT ID, Name FROM ACCOUNT WHERE BillingState = :state LIMIT 200]; for (Account l:ListAccount){ for (Contact co:l.Contacts){ c = co.clone(false,false,false,false); insert c; } } } }
Anyone can help me please?
Thanks!
- Selim BEAUJOUR
- March 17, 2016
- Like
- 0
- Continue reading or reply
This price definition already exists in this price book
Hi All,
When we are trying to insert the "Price Book Entry" records. Few records got inserted from the CSV file and for few records we are facing the following error:
"This price definition already exists in this price book"
Could you please check and let me know what was the cause of the error. Any modifications do we need to make in CSV file.
Please suggest.
Thanks,
Anil
When we are trying to insert the "Price Book Entry" records. Few records got inserted from the CSV file and for few records we are facing the following error:
"This price definition already exists in this price book"
Could you please check and let me know what was the cause of the error. Any modifications do we need to make in CSV file.
Please suggest.
Thanks,
Anil
- Rocks_SFDC
- July 30, 2015
- Like
- 0
- Continue reading or reply
STICKING POINT! Process Automation Routing Records with Approvals
"Challenge not yet complete... here's what's wrong:
Account setup for challenge incomplete. Please add 'Prospect', 'Customer' and 'Pending' picklist values to the Account 'Type' field"
Working on the challenge for
Process Automation: Routing Records with Approvals
Everything is lock-tight except for one detail pictured in screenshot.
I felt like I tried every permutation in the book to fix this (all acounts are synced, all process is in order, I have reset, redefined and created everything that seems feasable) but apparently I am missing this, or it would have worked. Any advice would be greatly appreciated.
Thank you!
- Jason Alan Bohrer
- July 13, 2015
- Like
- 0
- Continue reading or reply